[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots
STINNER Victor
report at bugs.python.org
Thu May 31 09:15:22 EDT 2018
STINNER Victor <vstinner at redhat.com> added the comment:
> Lib/test/test_numeric_tower.py:184 in test_complex
The crash occurs at:
def test_complex(self):
# comparisons with complex are special: equality and inequality
# comparisons should always succeed, but order comparisons should
# raise TypeError.
z = 1.0 + 0j
w = -3.14 + 2.7j
for v in 1, 1.0, F(1), D(1), complex(1): # <~~ HERE
self.assertEqual(z, v)
self.assertEqual(v, z)
where F = fractions.Fraction and D = decimal.Decimal
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33627>
_______________________________________
More information about the Python-bugs-list
mailing list