summaryrefslogtreecommitdiff
path: root/numpy/f2py/lib/tests/test_module_scalar.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/lib/tests/test_module_scalar.py')
-rw-r--r--numpy/f2py/lib/tests/test_module_scalar.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/f2py/lib/tests/test_module_scalar.py b/numpy/f2py/lib/tests/test_module_scalar.py
index 1ac4455be..684fab1b2 100644
--- a/numpy/f2py/lib/tests/test_module_scalar.py
+++ b/numpy/f2py/lib/tests/test_module_scalar.py
@@ -40,19 +40,19 @@ m, = compile(fortran_code, modulenames = ['test_module_scalar_ext'])
from numpy import *
-class TestM(NumpyTestCase):
+class TestM(TestCase):
- def check_foo_simple(self, level=1):
+ def test_foo_simple(self, level=1):
foo = m.foo
r = foo(2)
assert isinstance(r,int32),`type(r)`
assert_equal(r,3)
- def check_foo2_simple(self, level=1):
+ def test_foo2_simple(self, level=1):
foo2 = m.foo2
r = foo2(2)
assert isinstance(r,int32),`type(r)`
assert_equal(r,4)
if __name__ == "__main__":
- NumpyTest().run()
+ nose.run(argv=['', __file__])