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/pyrex_ext | |
| 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/pyrex_ext')
| -rw-r--r-- | numpy/distutils/tests/pyrex_ext/tests/test_primes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/distutils/tests/pyrex_ext/tests/test_primes.py b/numpy/distutils/tests/pyrex_ext/tests/test_primes.py index 1ca5ed8e7..c08da8651 100644 --- a/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +++ b/numpy/distutils/tests/pyrex_ext/tests/test_primes.py @@ -5,9 +5,9 @@ set_package_path() from pyrex_ext.primes import primes restore_path() -class TestPrimes(NumpyTestCase): - def check_simple(self, level=1): +class TestPrimes(TestCase): + def test_simple(self, level=1): l = primes(10) assert_equal(l, [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]) if __name__ == "__main__": - NumpyTest().run() + nose.run(argv=['', __file__]) |
