Commit 1dbe5373 authored by Dong-hee Na's avatar Dong-hee Na Committed by Serhiy Storchaka

Re-enable the OverflowError test for test_truediv on test_complex (GH-16591)

parent b6e0fc74
......@@ -100,8 +100,7 @@ class ComplexTest(unittest.TestCase):
complex(random(), random()))
self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)
# FIXME: The following currently crashes on Alpha
# self.assertRaises(OverflowError, pow, 1e200+1j, 1e200+1j)
self.assertRaises(OverflowError, pow, 1e200+1j, 1e200+1j)
self.assertAlmostEqual(complex.__truediv__(2+0j, 1+1j), 1-1j)
self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment