From 1bd2d49ef378fb869d015cef32c3e44a4c03a8f0 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 8 Jan 2007 21:56:54 +0000 Subject: Whitespace cleanup. --- numpy/testing/numpytest.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'numpy/testing/numpytest.py') 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. -- cgit v1.2.1