From 398d84747d9299f1d4e8385fa8f6904ce961545e Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 10 Oct 2019 10:11:07 -0700 Subject: Re-enable the OverflowError test for test_truediv on test_complex (GH-16591) (cherry picked from commit 1dbe5373851acb85ba91f0be7b83c69563acd68d) Co-authored-by: Dong-hee Na --- Lib/test/test_complex.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v0.12