8000 Re-enable the OverflowError test for test_truediv on test_complex (GH… · python/cpython@1dbe537 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1dbe537

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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, 1e 4F7A 200+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)
0