[New-bugs-announce] [issue6567] Isn't inf almost equal to inf?

Lucas Prado Melo report at bugs.python.org
Sat Jul 25 00:05:36 CEST 2009

New submission from Lucas Prado Melo <lucaspradomelo at gmail.com>:

When we use TestCase.assertAlmostEqual to compare two float('inf')
objects, the result is that float('inf') is not almost equal to
I believe this is a bug. I tested against r74195 of Python 3.2 and
against Python 2.6.2.

messages: 90902
nosy: lucaspmelo
severity: normal
status: open
title: Isn't inf  almost equal to inf?
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list