From c331857d8663ecf54bbe88c834755da749e8ab52 Mon Sep 17 00:00:00 2001 From: Alan McIntyre Date: Tue, 17 Jun 2008 00:23:20 +0000 Subject: Switched to use nose to run tests. Added test and bench functions to all modules. --- numpy/oldnumeric/tests/test_oldnumeric.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/oldnumeric/tests/test_oldnumeric.py') diff --git a/numpy/oldnumeric/tests/test_oldnumeric.py b/numpy/oldnumeric/tests/test_oldnumeric.py index 628ec231f..6e641c756 100644 --- a/numpy/oldnumeric/tests/test_oldnumeric.py +++ b/numpy/oldnumeric/tests/test_oldnumeric.py @@ -6,7 +6,7 @@ from numpy.core.numeric import float32, float64, complex64, complex128, int8, \ int16, int32, int64, uint, uint8, uint16, uint32, uint64 class test_oldtypes(NumPyTestCase): - def check_oldtypes(self, level=1): + def test_oldtypes(self, level=1): a1 = array([0,1,0], Float) a2 = array([0,1,0], float) assert_array_equal(a1, a2) @@ -83,4 +83,4 @@ class test_oldtypes(NumPyTestCase): if __name__ == "__main__": - NumPyTest().run() + nose.run(argv=['', __file__]) -- cgit v1.2.1