diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
commit | 1bd2d49ef378fb869d015cef32c3e44a4c03a8f0 (patch) | |
tree | 43335baf1da0b6e9de0ad806e721a077e3cbfa45 /numpy/testing/numpytest.py | |
parent | 98b6d48b07f4eadfb7d1fc41483debe7e07eecd6 (diff) | |
download | numpy-1bd2d49ef378fb869d015cef32c3e44a4c03a8f0.tar.gz |
Whitespace cleanup.
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r-- | numpy/testing/numpytest.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py index 5f4ceef17..c7688ad61 100644 --- a/numpy/testing/numpytest.py +++ b/numpy/testing/numpytest.py @@ -1,4 +1,3 @@ - import os import re import sys @@ -452,8 +451,6 @@ class NumpyTest: continue modules.append(module) - - self.test_files = [] suites = [] for module in modules: @@ -535,7 +532,7 @@ class NumpyTest: if not sys.modules.has_key(test_dir_module): sys.modules[test_dir_module] = imp.new_module(test_dir_module) - + for fn in os.listdir(test_dir): base, ext = os.path.splitext(fn) if ext != '.py': @@ -581,7 +578,7 @@ class NumpyTest: all_tests = unittest.TestSuite(suite_list) if level<0: return all_tests - + runner = unittest.TextTestRunner(verbosity=verbosity) # Use the builtin displayhook. If the tests are being run # under IPython (for instance), any doctest test suites will @@ -628,7 +625,7 @@ class NumpyTest: sys.stdout.flush() ScipyTest = NumpyTest - + def importall(package): """ Try recursively to import all subpackages under package. |