From 0badeef93e608db0cf2bb648501c43c8ef3b0d56 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Fri, 24 Apr 2009 16:37:22 +0000 Subject: Remove unnecessary double negative --- Lib/test/test_math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 64345fc..0108d49 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. -- cgit v0.12