diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-04-26 22:51:40 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-04-26 22:51:40 +0000 |
commit | 3f682ff50232c35610ff885c6c1a7e3d400866d7 (patch) | |
tree | 9d6c956e9e93ece193af242ff1b6fe93b0ff94ce /numpy/lib/tests/test_polynomial.py | |
parent | 7413032ea6011c74524aa5ecc384b2ae4964d6e9 (diff) | |
download | numpy-3f682ff50232c35610ff885c6c1a7e3d400866d7.tar.gz |
Added NumpyTestCase.rundocs method to support running doc-tests via unittest machinery - needed for running tests via testoob.
Diffstat (limited to 'numpy/lib/tests/test_polynomial.py')
-rw-r--r-- | numpy/lib/tests/test_polynomial.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_polynomial.py b/numpy/lib/tests/test_polynomial.py index dac4d866f..75fcaecfb 100644 --- a/numpy/lib/tests/test_polynomial.py +++ b/numpy/lib/tests/test_polynomial.py @@ -75,9 +75,8 @@ poly1d([ 2.]) from numpy.testing import * -import doctest -def test_suite(level=1): - return doctest.DocTestSuite() +class test_docs(NumpyTestCase): + def check_doctests(self): return self.rundocs() if __name__ == "__main__": ScipyTest().run() |