[New-bugs-announce] [issue3421] Test failure in test_math::testSum

Georg Brandl report at bugs.python.org
Mon Jul 21 00:36:53 CEST 2008


New submission from Georg Brandl <georg at python.org>:

In Py3k, but not in trunk:

======================================================================
FAIL: testSum (test.test_math.MathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gbr/devel/python3k/Lib/test/test_math.py", line 769, in
testSum
    self.assertEqual(math.sum(vals), s)
OverflowError: math range error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/gbr/devel/python3k/Lib/test/test_math.py", line 772, in
testSum
    "for math.sum(%.100r)" % (i, s, vals))
AssertionError: test 13 failed: got OverflowError, expected
1.7976931348623157e+308 for math.sum([1.7976931348623157e+308,
9.979201547673598e+291])

System info: linux x86, glibc 2.8

----------
assignee: marketdickinson
components: Extension Modules, Tests
messages: 70094
nosy: georg.brandl, marketdickinson
severity: normal
status: open
title: Test failure in test_math::testSum
versions: Python 3.0

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


More information about the New-bugs-announce mailing list