Skip to content

Commit

Permalink
TST: remove a failing doctest for poly1d.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rgommers authored and charris committed Oct 17, 2010
1 parent d883e0c commit cc8673e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions numpy/lib/tests/test_polynomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
>>> 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
Expand Down

0 comments on commit cc8673e

Please sign in to comment.