Skip to content

Commit

Permalink
sagemathgh-36771: fix doctest for nauty 2.8.8
Browse files Browse the repository at this point in the history
Updating to nauty 2.8.8 has one test failing. Fix it in a backwards
compatible way.

Note that nauty output is only debug, and the fact that sagemath tests
this output is dubious (see sagemath#35250).

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.

URL: sagemath#36771
Reported by: Gonzalo Tornaría
Reviewer(s): Matthias Köppe
  • Loading branch information
Release Manager committed Nov 30, 2023
2 parents 2994fa6 + 0e96e4b commit 6a5b6c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=374eca6cdfb4bd3dd2d3173e300639f86407077c
md5=5810e2d5a26f7457239a576b022b0a19
cksum=409095104
sha1=522d5fb44038e051abeed5fc0bd8f26dc0c33dd4
md5=7c89c8b88491557e0f6d6a351809e886
cksum=1283778476
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dcd23be6c05f8de220a8404175c6e4175842255e
3ae48f93bb78b004a818376fdcf959d661cb838d
2 changes: 1 addition & 1 deletion src/sage/graphs/graph_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ def nauty_genbg(self, options="", debug=False):
sage: list(graphs.nauty_genbg("-c1 2", debug=True))
['>E Usage: ...genbg [-c -ugs -vq -lzF] [-Z#] [-D#] [-A] [-d#|-d#:#] [-D#|-D#:#] n1 n2...
sage: list(graphs.nauty_genbg("-c 1 2", debug=True))
['>A ...genbg n=1+2 e=2:2 d=1:1 D=2:1 c\n', Bipartite graph on 3 vertices]
['>A ...genbg n=1+2 e=2:2 d=1:1 D=2:1 c...\n', Bipartite graph on 3 vertices]
We must have n1=1..24, n2=0..32 and n1+n2=1..32 (:trac:`34179`)::
Expand Down

0 comments on commit 6a5b6c0

Please sign in to comment.