The command:
./sage -t -p --all --long --optional=sage,optional,external
Using --optional=bliss,cbc,ccache,cmake,dot2tex,external,gmpy2,lrslib,memlimit,mpir,notedown,pandoc_attributes,python2,rst2ipynb,sage
External software detected for doctesting: ffmpeg,graphviz,gurobi,imagemagick,internet,latex,pandoc
gives some optional doctests failures:
----------------------------------------------------------------------
sage -t --long src/sage/plot/animate.py # 1 doctest failed
sage -t --long src/sage/databases/findstat.py # 3 doctests failed
sage -t --long src/sage/symbolic/integration/integral.py # 1 doctest failed
sage -t --long src/sage/finance/stock.py # 20 doctests failed
sage -t --long src/sage/combinat/words/paths.py # 1 doctest failed
sage -t --long src/sage/symbolic/integration/external.py # 3 doctests failed
sage -t --long src/sage/repl/load.py # 1 doctest failed
sage -t --long src/sage/misc/persist.pyx # 2 doctests failed
----------------------------------------------------------------------
Total time for all tests: 1766.3 seconds
cpu time: 10938.3 seconds
cumulative wall time: 13637.3 seconds
See meta-ticket
for follow-up.
Three problems are new : animtate.py, paths.py, findstat.py. The errors are copied below:
sage -t --long src/sage/plot/animate.py
**********************************************************************
File "src/sage/plot/animate.py", line 879, in sage.plot.animate.Animation.?
Failed example:
a.ffmpeg(output_format='gif',delay=30,iterations=5) # optional -- ffmpeg
Expected:
doctest:...: DeprecationWarning: use tmp_filename instead
See
http://trac.sagemath.org/17234 for details.
Got:
<BLANKLINE>
**********************************************************************
1 item had failures:
1 of 15 in sage.plot.animate.Animation.?
5 tests skipped
[236 tests, 1 failure, 147.88 s]
sage -t --long src/sage/combinat/words/paths.py
**********************************************************************
File "src/sage/combinat/words/paths.py", line 1611, in sage.combinat.words.paths.FiniteWordPath_2d.animate
Failed example:
a.gif(delay=35, iterations=3) # optional -- ImageMagick
Expected:
doctest:...: DeprecationWarning: use tmp_filename instead
See
http://trac.sagemath.org/17234 for details.
Got:
<BLANKLINE>
**********************************************************************
1 item had failures:
1 of 19 in sage.combinat.words.paths.FiniteWordPath_2d.animate
1 test skipped
[523 tests, 1 failure, 106.69 s]
sage -t --long src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 106, in sage.databases.findstat
Failed example:
r = findstat(Permutations, lambda pi: pi.saliances()[0]); r # optional -- internet, random
(St000051: The size of the left subtree. , [Mp00069: complement, Mp00061: to increasing tree], 24)
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 659, 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 1068, in compile_and_execute
compiled = compiler(example)
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 635, in compiler
compileflags, 1)
File "<doctest sage.databases.findstat[7]>", line 3
(St000051: The size of the left subtree. , [Mp00069: complement, Mp00061: to increasing tree], Integer(24))
^
SyntaxError: invalid syntax
**********************************************************************
File "src/sage/databases/findstat.py", line 110, in sage.databases.findstat
Failed example:
(s, list_f, quality) = next((a,b,c) for a,b,c in r if
a.id() == 51) # 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 659, 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 1070, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.databases.findstat[8]>", line 1, in <module>
(s, list_f, quality) = next((a,b,c) for a,b,c in r if
a.id() == Integer(51)) # optional -- internet
StopIteration
**********************************************************************
File "src/sage/databases/findstat.py", line 130, in sage.databases.findstat
Failed example:
print(list_f[0].code() + "\r\n" + list_f[1].code()) # optional -- internet, random
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 659, 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 1070, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.databases.findstat[12]>", line 1, in <module>
print(list_f[Integer(0)].code() + "\r\n" + list_f[Integer(1)].code()) # optional -- internet, random
IndexError: list index out of range
**********************************************************************
1 item had failures:
3 of 16 in sage.databases.findstat
7 webbrowser tests not run
[247 tests, 3 failures, 72.88 s]