[SciPy-dev] Doctest execution context

Alan McIntyre alan.mcintyre@gmail....
Wed Jul 16 02:22:19 CDT 2008

Hi all,

Currently, the NumPy doctests, when executed via
numpy.test(doctests=True), are run in a context that's pretty much
equivalent to a fresh Python interpreter that's executed "import numpy
as np".  Should we do something similar for SciPy? For example, if the
NoseTester figures out that it's running tests for SciPy or one of its
packages, we could add "import scipy as sp" (or something similar) to
the context.


More information about the Scipy-dev mailing list