Ask Your Question

Revision history [back]

Instead of

 sage: run_doctests("module.sage")

in the sage console (which runs the code and my have side effects), I would recommand to run instead:

$ sage -t module.sage

from the command line.

Instead of

 sage: run_doctests("module.sage")

in the sage console (which runs the code and my may have side effects), I would recommand to run instead:

$ sage -t module.sage

from the command line.line. You may also want to read the help since it has many options:

$ sage -t -h