diff options
Diffstat (limited to 'numpy/lib/tests/test_polynomial.py')
-rw-r--r-- | numpy/lib/tests/test_polynomial.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_polynomial.py b/numpy/lib/tests/test_polynomial.py index c7609c3d5..e2afc72ae 100644 --- a/numpy/lib/tests/test_polynomial.py +++ b/numpy/lib/tests/test_polynomial.py @@ -74,9 +74,13 @@ poly1d([ 2.]) """ from numpy.testing import * +import numpy as N class test_docs(NumpyTestCase): def check_doctests(self): return self.rundocs() + + def check_roots(self): + assert_array_equal(N.roots([1,0,0]), [0,0]) if __name__ == "__main__": NumpyTest().run() |