summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2007-02-10 00:43:37 +0000
committerStefan van der Walt <stefan@sun.ac.za>2007-02-10 00:43:37 +0000
commit70c899f5940d2d2f99acbbc9906064e2028e25f9 (patch)
tree5f3fa7bd5526290e5924cf6f7d40b07460bb190e /numpy/testing/numpytest.py
parent96660d8f37a78c4b1aad4b305783426f09cd5479 (diff)
downloadnumpy-70c899f5940d2d2f99acbbc9906064e2028e25f9.tar.gz
Prepare for doctest-runner.
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index f19fce342..6a8b39e6e 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -15,9 +15,8 @@ __all__ = ['set_package_path', 'set_local_path', 'restore_path',
]
DEBUG=0
+from numpy.testing.utils import jiffies
get_frame = sys._getframe
-from utils import jiffies
-
class IgnoreException(Exception):
"Ignoring this exception due to disabled feature"
@@ -236,8 +235,7 @@ class NumPyTextTestRunner(unittest.TextTestRunner):
class NumpyTest:
""" Numpy tests site manager.
- Usage:
- >>> NumpyTest(<package>).test(level=1,verbosity=1)
+ Usage: NumpyTest(<package>).test(level=1,verbosity=1)
<package> is package name or its module object.