[SciPy-dev] Doctest execution context

Alan McIntyre alan.mcintyre at gmail.com
Wed Jul 16 03:22:19 EDT 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.

Alan



More information about the SciPy-Dev mailing list