Runing optional/external doctests, more specifically with the following ones:
Using --optional=4ti2,bliss,cbc,ccache,cmake,cryptominisat,dot2tex,e_antic,external,glucose,latte_int,lidia,lrslib,memlimit,mpir,ninja_build,normaliz,notedown,pandoc_attributes,pycosat,pynormaliz,python2,qhull,rst2ipynb,sage,topcom
External software detected for doctesting: ffmpeg,graphviz,gurobi,imagemagick,internet,latex,pandoc
I get All test passed except these ones:
----------------------------------------------------------------------
sage -t --long src/sage/sat/boolean_polynomials.py # 1 doctest failed
sage -t --long src/sage/databases/findstat.py # 5 doctests failed
sage -t --long src/sage/databases/oeis.py # 6 doctests failed
sage -t --long src/sage/combinat/designs/ext_rep.py # 2 doctests failed
sage -t --long src/sage/combinat/designs/covering_design.py # 2 doctests failed
sage -t --long src/sage/combinat/designs/design_catalog.py # 3 doctests failed
----------------------------------------------------------------------
The boolean_polynomial failure is not reproducible. I can reproduce the other ones with:
sage -tp --long --optional=sage,optional,external
src/sage/sat/boolean_polynomials.py src/sage/databases/findstat.py
src/sage/databases/oeis.py src/sage/combinat/designs/ext_rep.py
src/sage/combinat/designs/covering_design.py
src/sage/combinat/designs/design_catalog.py
New issues are copied below. In particular, the following error is raised by designs/*.py :
AttributeError: addinfourl instance has no attribute '__exit__'
which is not the same as before if I remember well.
sage -t --long src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 1416, in sage.databases.findstat.FindStatStatistic.generating_functions
Failed example:
st.generating_functions() # optional -- internet
Expected:
{2: q + 1,
3: q^3 + 2*q^2 + 2*q + 1,
4: q^6 + 3*q^5 + 5*q^4 + 6*q^3 + 5*q^2 + 3*q + 1,
5: q^10 + 4*q^9 + 9*q^8 + 15*q^7 + 20*q^6 + 22*q^5 + 20*q^4 + 15*q^3 + 9*q^2 + 4*q + 1,
6: q^15 + 5*q^14 + 14*q^13 + 29*q^12 + 49*q^11 + 71*q^10 + 90*q^9 + 101*q^8 + 101*q^7 + 90*q^6 + 71*q^5 + 49*q^4 + 29*q^3 + 14*q^2 + 5*q + 1}
Got:
{1: 1,
2: q + 1,
3: q^3 + 2*q^2 + 2*q + 1,
4: q^6 + 3*q^5 + 5*q^4 + 6*q^3 + 5*q^2 + 3*q + 1,
5: q^10 + 4*q^9 + 9*q^8 + 15*q^7 + 20*q^6 + 22*q^5 + 20*q^4 + 15*q^3 + 9*q^2 + 4*q + 1,
6: q^15 + 5*q^14 + 14*q^13 + 29*q^12 + 49*q^11 + 71*q^10 + 90*q^9 + 101*q^8 + 101*q^7 + 90*q^6 + 71*q^5 + 49*q^4 + 29*q^3 + 14*q^2 + 5*q + 1}
**********************************************************************
File "src/sage/databases/findstat.py", line 1423, in sage.databases.findstat.FindStatStatistic.generating_functions
Failed example:
st.generating_functions(style="dictionary") # optional -- internet
Expected:
{2: {0: 1, 1: 1},
3: {0: 1, 1: 2, 2: 2, 3: 1},
4: {0: 1, 1: 3, 2: 5, 3: 6, 4: 5, 5: 3, 6: 1},
5: {0: 1, 1: 4, 2: 9, 3: 15, 4: 20, 5: 22, 6: 20, 7: 15, 8: 9, 9: 4, 10: 1},
6: {0: 1,
1: 5,
2: 14,
3: 29,
4: 49,
5: 71,
6: 90,
7: 101,
8: 101,
9: 90,
10: 71,
11: 49,
12: 29,
13: 14,
14: 5,
15: 1}}
Got:
{1: {0: 1},
2: {0: 1, 1: 1},
3: {0: 1, 1: 2, 2: 2, 3: 1},
4: {0: 1, 1: 3, 2: 5, 3: 6, 4: 5, 5: 3, 6: 1},
5: {0: 1, 1: 4, 2: 9, 3: 15, 4: 20, 5: 22, 6: 20, 7: 15, 8: 9, 9: 4, 10: 1},
6: {0: 1,
1: 5,
2: 14,
3: 29,
4: 49,
5: 71,
6: 90,
7: 101,
8: 101,
9: 90,
10: 71,
11: 49,
12: 29,
13: 14,
14: 5,
15: 1}}
**********************************************************************
File "src/sage/databases/findstat.py", line 1445, in sage.databases.findstat.FindStatStatistic.generating_functions
Failed example:
st.generating_functions(style="list") # optional -- internet
Expected:
{2: [1, 1],
3: [1, 2, 2, 1],
4: [1, 3, 5, 6, 5, 3, 1],
5: [1, 4, 9, 15, 20, 22, 20, 15, 9, 4, 1],
6: [1, 5, 14, 29, 49, 71, 90, 101, 101, 90, 71, 49, 29, 14, 5, 1]}
Got:
{1: [1],
2: [1, 1],
3: [1, 2, 2, 1],
4: [1, 3, 5, 6, 5, 3, 1],
5: [1, 4, 9, 15, 20, 22, 20, 15, 9, 4, 1],
6: [1, 5, 14, 29, 49, 71, 90, 101, 101, 90, 71, 49, 29, 14, 5, 1]}
**********************************************************************
File "src/sage/databases/findstat.py", line 1492, in sage.databases.findstat.FindStatStatistic.oeis_search
Failed example:
st.oeis_search() # optional -- internet
Expected:
Searching the OEIS for "1,1 1,2,2,1 1,3,5,6,5,3,1 1,4,9,15,20,22,20,15,9,4,1 1,5,14,29,49,71,90,101"
0: A008302: Triangle of Mahonian numbers T(n,k)...
Got:
Searching the OEIS for "1 1,1 1,2,2,1 1,3,5,6,5,3,1 1,4,9,15,20,22,20,15,9,4,1 1,5,14,29,49,71,90"
0: A008302: Triangle of Mahonian numbers T(n,k): coefficients in expansion of Product_{i=0..n-1} (1 + x + ... + x^i), where k ranges from 0 to A000217(n-1). Also enumerates permutations by their major index.
1: A274887: Triangle read by rows: coefficients of the q-factorial.
**********************************************************************
File "src/sage/databases/findstat.py", line 1496, in sage.databases.findstat.FindStatStatistic.oeis_search
Failed example:
st.oeis_search(search_size=13) # optional -- internet
Expected:
Searching the OEIS for "1,1 1,2,2,1 1,3,5,6,5,3,1"
0: A008302: Triangle of Mahonian numbers T(n,k)...
1: A115570: Array read by rows: row n (n>= 1) gives the Betti numbers...
2: A187447: Array for all multiset choices...
Got:
Searching the OEIS for "1 1,1 1,2,2,1 1,3,5,6,5,3"
0: A008302: Triangle of Mahonian numbers T(n,k): coefficients in expansion of Product_{i=0..n-1} (1 + x + ... + x^i), where k ranges from 0 to A000217(n-1). Also enumerates permutations by their major index.
1: A115570: Array read by rows: row n (n>= 1) gives the Betti numbers for the n-th element of the Weyl group of type A3 (in Goresky's standard ordering).
2: A187447: Array for all multiset choices (multiset repetition class representatives in Abramowitz-Stegun order).
**********************************************************************
2 items had failures:
3 of 5 in sage.databases.findstat.FindStatStatistic.generating_functions
2 of 4 in sage.databases.findstat.FindStatStatistic.oeis_search
7 webbrowser tests not run
0 tests not run because we ran out of time
[249 tests, 5 failures, 54.68 s]
sage -t --long src/sage/combinat/designs/design_catalog.py
**********************************************************************
File "src/sage/combinat/designs/design_catalog.py", line 22, in sage.combinat.designs.design_catalog
Failed example:
C = designs.best_known_covering_design_from_LJCR(7, 3, 2) # optional - internet
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 671, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1095, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.combinat.designs.design_catalog[1]>", line 1, in <module>
C = designs.best_known_covering_design_from_LJCR(Integer(7), Integer(3), Integer(2)) # optional - internet
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/combinat/designs/covering_design.py", line 527, in best_known_covering_design_www
with urlopen(url) as f:
AttributeError: addinfourl instance has no attribute '__exit__'
**********************************************************************
File "src/sage/combinat/designs/design_catalog.py", line 23, in sage.combinat.designs.design_catalog
Failed example:
C # optional - internet
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 671, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1095, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.combinat.designs.design_catalog[2]>", line 1, in <module>
C # optional - internet
NameError: name 'C' is not defined
**********************************************************************
File "src/sage/combinat/designs/design_catalog.py", line 28, in sage.combinat.designs.design_catalog
Failed example:
C.incidence_structure() # optional - internet
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 671, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 1095, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.combinat.designs.design_catalog[3]>", line 1, in <module>
C.incidence_structure() # optional - internet
NameError: name 'C' is not defined
**********************************************************************
1 item had failures:
3 of 5 in sage.combinat.designs.design_catalog
1 gap_packages test not run
0 tests not run because we ran out of time
[4 tests, 3 failures, 0.77 s]