summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2019-10-10 16:23:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-10-10 16:23:36 (GMT)
commit1dbe5373851acb85ba91f0be7b83c69563acd68d (patch)
tree3b5dbb8e5841aa6e3c5468cbbf70a8b900ef1263
parentb6e0fc74265db96fdd0e0b8151c768c583ad80f0 (diff)
downloadcpython-1dbe5373851acb85ba91f0be7b83c69563acd68d.zip
cpython-1dbe5373851acb85ba91f0be7b83c69563acd68d.tar.gz
cpython-1dbe5373851acb85ba91f0be7b83c69563acd68d.tar.bz2
Re-enable the OverflowError test for test_truediv on test_complex (GH-16591)
-rw-r--r--Lib/test/test_complex.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py
index fe1e566..dee5c7f 100644
--- a/Lib/test/test_complex.py
+++ b/Lib/test/test_complex.py
@@ -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)