Skip to content

Commit cc8673e

Browse files
rgommerscharris
authored andcommitted
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.
1 parent d883e0c commit cc8673e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

numpy/lib/tests/test_polynomial.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
>>> print(poly1d([1.89999+2j, -3j, -5.12345678, 2+1j]))
1818
3 2
1919
(1.9 + 2j) x - 3j x - 5.123 x + (2 + 1j)
20-
>>> print(poly1d([100e-90, 1.234567e-9j+3, -1234.999e8]))
21-
2
22-
1e-88 x + (3 + 1.235e-09j) x - 1.235e+11
2320
>>> print(poly1d([-3, -2, -1]))
2421
2
2522
-3 x - 2 x - 1

0 commit comments

Comments
 (0)