summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_polynomial.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2010-10-17 12:39:28 +0800
committerrgommers <ralf.gommers@googlemail.com>2010-10-17 12:39:28 +0800
commitf4d9da1e86d1031e99549073681831270e450fb4 (patch)
treecab1a6c780216ca9307eecbaa321ebf21c6935f7 /numpy/lib/tests/test_polynomial.py
parent9dd7c7b8ad826beefbbc0c10ff457c62f1be223d (diff)
downloadnumpy-f4d9da1e86d1031e99549073681831270e450fb4.tar.gz
TST: remove a failing doctest for poly1d.
The failure only occurs on Windows and Python 2.5, there the printing of floating point numbers is slightly different. Since this is a doctest and can not be marked conditionally as knownfail, just removing it is simplest. It's not a bug anyway.
Diffstat (limited to 'numpy/lib/tests/test_polynomial.py')
-rw-r--r--numpy/lib/tests/test_polynomial.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_polynomial.py b/numpy/lib/tests/test_polynomial.py
index 130d11dab..227413c19 100644
--- a/numpy/lib/tests/test_polynomial.py
+++ b/numpy/lib/tests/test_polynomial.py
@@ -17,9 +17,6 @@ poly1d([ 3., 2., 1.])
>>> print(poly1d([1.89999+2j, -3j, -5.12345678, 2+1j]))
3 2
(1.9 + 2j) x - 3j x - 5.123 x + (2 + 1j)
->>> print(poly1d([100e-90, 1.234567e-9j+3, -1234.999e8]))
- 2
-1e-88 x + (3 + 1.235e-09j) x - 1.235e+11
>>> print(poly1d([-3, -2, -1]))
2
-3 x - 2 x - 1