diff options
author | Alan McIntyre <alan.mcintyre@local> | 2008-06-17 00:23:20 +0000 |
---|---|---|
committer | Alan McIntyre <alan.mcintyre@local> | 2008-06-17 00:23:20 +0000 |
commit | c331857d8663ecf54bbe88c834755da749e8ab52 (patch) | |
tree | f4cc69ec328a5ff4d3b108f3610acb119a196493 /numpy/distutils/tests/test_fcompiler_gnu.py | |
parent | 22ba7886a84dc6a16ca75871f7cd2f10ef8de1f9 (diff) | |
download | numpy-c331857d8663ecf54bbe88c834755da749e8ab52.tar.gz |
Switched to use nose to run tests. Added test and bench functions to all modules.
Diffstat (limited to 'numpy/distutils/tests/test_fcompiler_gnu.py')
-rw-r--r-- | numpy/distutils/tests/test_fcompiler_gnu.py | 6 |
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__]) |