[New-bugs-announce] [issue7554] Some tests in test_cmath should use rAssertAlmostEqual incorrectly
Florent Xicluna
report at bugs.python.org
Sun Dec 20 20:37:59 CET 2009
New submission from Florent Xicluna <laxyf at yahoo.fr>:
These tests do not pass the right arguments to rAssertAlmostEqual.
They should use assertAlmostEqual instead.
(around line 123)
self.rAssertAlmostEqual(cmath.pi, pi_expected, 9,
"cmath.pi is %s; should be %s" % (cmath.pi, pi_expected))
self.rAssertAlmostEqual(cmath.e, e_expected, 9,
"cmath.e is %s; should be %s" % (cmath.e, e_expected))
----------
components: Tests
messages: 96718
nosy: flox
severity: normal
status: open
title: Some tests in test_cmath should use rAssertAlmostEqual incorrectly
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7554>
_______________________________________
More information about the New-bugs-announce
mailing list