How can I run a doctest of an file which is not included in Sage, e.g. a
file in my home-directory?

The problem is that
  sage -t file.py
runs the doctest, but does not load file.py before. But in file.py I
have defined functions and classes, which I want to test. Is there a way
such that before each doctest, the file file.py is loaded (imported)?

Daniel

-- 
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

Reply via email to