diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 64345fc0dd4..0108d4981de 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -371,7 +371,7 @@ class MathTests(unittest.TestCase): @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"), "test requires IEEE 754 doubles") - @unittest.skipUnless(not HAVE_DOUBLE_ROUNDING, + @unittest.skipIf(HAVE_DOUBLE_ROUNDING, "fsum is not exact on machines with double rounding") def testFsum(self): # math.fsum relies on exact rounding for correct operation.