From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 10 Oct 2019 17:11:07 +0000 (-0700) Subject: Re-enable the OverflowError test for test_truediv on test_complex (GH-16591) X-Git-Tag: v3.8.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398d84747d9299f1d4e8385fa8f6904ce961545e;p=thirdparty%2FPython%2Fcpython.git Re-enable the OverflowError test for test_truediv on test_complex (GH-16591) (cherry picked from commit 1dbe5373851acb85ba91f0be7b83c69563acd68d) Co-authored-by: Dong-hee Na --- diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py index fe1e566562de..dee5c7fa308b 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)