[issue6567] Isn't inf almost equal to inf?
report at bugs.python.org
Sat Jul 25 02:26:56 CEST 2009
Michael Foord <michael at voidspace.org.uk> added the comment:
Uhm... they may or may not be almost equal, but probably not.
Comparisons on them are defined to be undefined so you're using the
wrong thing to test them. Use assertTrue and math.isinf instead.
resolution: -> wont fix
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list