From: Mark Dickinson Date: Fri, 24 Apr 2009 16:37:22 +0000 (+0000) Subject: Remove unnecessary double negative X-Git-Tag: v2.7a1~1423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0badeef93e608db0cf2bb648501c43c8ef3b0d56;p=python Remove unnecessary double negative --- diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 64345fc0dd..0108d4981d 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.