Skip to content

Commit 1dbe537

Browse files
corona10serhiy-storchaka
authored andcommitted
Re-enable the OverflowError test for test_truediv on test_complex (pythonGH-16591)
1 parent b6e0fc7 commit 1dbe537

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/test/test_complex.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ def test_truediv(self):
100100
complex(random(), random()))
101101

102102
self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)
103-
# FIXME: The following currently crashes on Alpha
104-
# self.assertRaises(OverflowError, pow, 1e200+1j, 1e200+1j)
103+
self.assertRaises(OverflowError, pow, 1e200+1j, 1e200+1j)
105104

106105
self.assertAlmostEqual(complex.__truediv__(2+0j, 1+1j), 1-1j)
107106
self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)

0 commit comments

Comments
 (0)