[issue6198] test_float fails on Windows

Eric Smith report at bugs.python.org
Fri Jun 5 13:34:08 CEST 2009


Eric Smith <eric at trueblade.com> added the comment:

I had to remove a bunch of tests. Some were of the form
"<even-number>5", rounded to before the 5. Some were comparing a large
number of digits.

Then there's these:
%#.0g 0 -> 0.         Got '0.0'
%#.1g 0 -> 0.         Got '0.0'
%#.2g 0 -> 0.0        Got '0.00'
%#.3g 0 -> 0.00       Got '0.000'
%#.4g 0 -> 0.000      Got '0.0000'

I'm going to remove these, too, since they're all based on underlying
printf differences. But they seem like a bigger problem than the other
cases.

----------
assignee: eric.smith -> marketdickinson

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6198>
_______________________________________


More information about the Python-bugs-list mailing list