sagemath/sage

Remove randomly failing doctest in src/sage/graphs/generators/random.py

dcoudert opened this issue · 7 comments

sage -t --random-seed=124699541928353137721504742146487601068 src/sage/graphs/generators/random.py
**********************************************************************
File "src/sage/graphs/generators/random.py", line 817, in sage.graphs.generators.random.RandomHolmeKim
Failed example:
    G.subgraph_search(C3)
Expected:
    Subgraph of (): Graph on 3 vertices
Got:
    <BLANKLINE>
**********************************************************************
1 item had failures:
   1 of   6 in sage.graphs.generators.random.RandomHolmeKim
    [197 tests, 1 failure, 1.92 s]

See also #32544 comment:33

Component: graph theory

Author: David Coudert

Branch/Commit: 1f4fdcd

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/34520

New commits:

1f4fdcdtrac #34520: remove doctest in RandomHolmeKim generator

Commit: 1f4fdcd

Reviewer: Frédéric Chapoton

comment:2

ok

Description changed:

--- 
+++ 
@@ -14,4 +14,4 @@
    1 of   6 in sage.graphs.generators.random.RandomHolmeKim
     [197 tests, 1 failure, 1.92 s]
 ```
-See also.[#32544 comment:33](https://github.com/sagemath/sage/issues/32544#comment:33)
+See also [#32544 comment:33](https://github.com/sagemath/sage/issues/32544#comment:33)

Changed branch from public/graphs/34520 to 1f4fdcd