summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_financial.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_financial.py')
-rw-r--r--numpy/lib/tests/test_financial.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_financial.py b/numpy/lib/tests/test_financial.py
index ee38c10dc..df5a0fbde 100644
--- a/numpy/lib/tests/test_financial.py
+++ b/numpy/lib/tests/test_financial.py
@@ -32,8 +32,9 @@ True
from numpy.testing import *
import numpy as np
-class TestDocs(NumpyTestCase):
- def check_doctests(self): return self.rundocs()
+def test():
+ import doctest
+ doctest.testmod()
if __name__ == "__main__":
- NumpyTest().run()
+ nose.run(argv=['', __file__])