New submission from Florent Xicluna <la...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7554> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com