summaryrefslogtreecommitdiff
path: root/numpy/distutils/tests/test_fcompiler_gnu.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/tests/test_fcompiler_gnu.py')
-rw-r--r--numpy/distutils/tests/test_fcompiler_gnu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/distutils/tests/test_fcompiler_gnu.py b/numpy/distutils/tests/test_fcompiler_gnu.py
index 002d360b9..99384bc8f 100644
--- a/numpy/distutils/tests/test_fcompiler_gnu.py
+++ b/numpy/distutils/tests/test_fcompiler_gnu.py
@@ -21,7 +21,7 @@ gfortran_version_strings = [
('GNU Fortran (GCC) 4.3.0 20070316 (experimental)', '4.3.0'),
]
-class TestG77Versions(NumpyTestCase):
+class TestG77Versions(TestCase):
def test_g77_version(self):
fc = numpy.distutils.fcompiler.new_fcompiler(compiler='gnu')
for vs, version in g77_version_strings:
@@ -34,7 +34,7 @@ class TestG77Versions(NumpyTestCase):
v = fc.version_match(vs)
assert v is None, (vs, v)
-class TestGortranVersions(NumpyTestCase):
+class TestGortranVersions(TestCase):
def test_gfortran_version(self):
fc = numpy.distutils.fcompiler.new_fcompiler(compiler='gnu95')
for vs, version in gfortran_version_strings:
@@ -49,4 +49,4 @@ class TestGortranVersions(NumpyTestCase):
if __name__ == '__main__':
- NumpyTest.run()
+ nose.run(argv=['', __file__])