Skip to content

Commit f2e1399

Browse files
committed
Fix doctests for nauty 2.8.6 output changes
1 parent 46a6105 commit f2e1399

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sage/graphs/generators/families.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3660,7 +3660,7 @@ def nauty_gentreeg(options="", debug=False):
36603660
36613661
sage: gen = graphs.nauty_gentreeg("4", debug=True)
36623662
sage: print(next(gen))
3663-
>A ...gentreeg Z=2:3 D=3 n=4
3663+
>A ...gentreeg ...
36643664
sage: gen = graphs.nauty_gentreeg("4 -q", debug=True)
36653665
sage: next(gen)
36663666
''
@@ -3687,7 +3687,7 @@ def nauty_gentreeg(options="", debug=False):
36873687
sage: list(graphs.nauty_gentreeg("3 -x", debug=True))
36883688
['>E Usage: ...gentreeg [-D#] [-Z#:#] [-ulps] [-q] n [res/mod] ...
36893689
sage: list(graphs.nauty_gentreeg("3", debug=True))
3690-
['>A ...gentreeg Z=2:2 D=2 n=3\n', Graph on 3 vertices]
3690+
['>A ...gentreeg ...\n', Graph on 3 vertices]
36913691
"""
36923692
import shlex
36933693
from sage.features.nauty import NautyExecutable

src/sage/graphs/graph_generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ def nauty_geng(self, options="", debug=False):
966966
...
967967
ValueError: wrong format of parameter option
968968
sage: list(graphs.nauty_geng("-c3", debug=True))
969-
['>E Usage: ...geng [-cCmtfbd#D#] [-uygsnh] [-lvq] ...
969+
['>E Usage: ...geng ...\n']
970970
sage: list(graphs.nauty_geng("-c 3", debug=True))
971971
['>A ...geng -cd1D2 n=3 e=2-3\n', Graph on 3 vertices, Graph on 3 vertices]
972972
"""

0 commit comments

Comments
 (0)