summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/tests/test_oldnumeric.py
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-06-17 00:23:20 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-06-17 00:23:20 +0000
commitc331857d8663ecf54bbe88c834755da749e8ab52 (patch)
treef4cc69ec328a5ff4d3b108f3610acb119a196493 /numpy/oldnumeric/tests/test_oldnumeric.py
parent22ba7886a84dc6a16ca75871f7cd2f10ef8de1f9 (diff)
downloadnumpy-c331857d8663ecf54bbe88c834755da749e8ab52.tar.gz
Switched to use nose to run tests. Added test and bench functions to all modules.
Diffstat (limited to 'numpy/oldnumeric/tests/test_oldnumeric.py')
-rw-r--r--numpy/oldnumeric/tests/test_oldnumeric.py4
1 files changed, 2 insertions, 2 deletions
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__])