Learning about the sage -t -only-optional argument, I'm noticing that there are quite a few modules which don't use the proper syntax. If the doctest is followed by a
# optional -- pkg1, pkg2, pkg3 and the tester calls sage -t [...] -only-optional=pkg4,pkg5,[...]pkg6 then the doctest will be run if {pkg1, pkg2, pkg3} is a nonempty subset of {pkg4, pkg5, [...] pkg6}. Right now I'm fixing this in the graphs directory, as I'm getting ready to review some LP patches. But the list of modules for which words like "requires" and "package" will be mistaken as required optional spkgs is rather large [1]. Another thing I notice is that there isn't any syntax available for "run this test if one of the following packages is installed"... sage/calculus/calculus.py sage/categories/finite_permutation_groups.py sage/coding/* sage/combinat/crystals/crystals.py sage/combinat/designs/* sage/combinat/matrices/hadamard_matrix.py sage/combinat/sf/sf.py sage/combinat/sloane_functions.py sage/crypto/mq/mpolynomialsystem.py sage/databases/* sage/geometry/* sage/groups/perm_gps/* sage/homology/* sage/interfaces/chomp.py sage/interfaces/expect.py sage/interfaces/lie.py sage/interfaces/matlab.py sage/interfaces/octave.py sage/misc/functional.py sage/numerical/* sage/plot/animate.py sage/rings/polynomial/multi_polynomial_libsingular.pyx sage/schemes/elliptic_curves/padic_lseries.py sage/symbolic/expression.pyx sage/symbolic/integration/external.py sage/symbolic/integration/integral.py sage/tests/benchmark.py -- Robert L. Miller http://www.rlmiller.org/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org