summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-24 16:37:22 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-04-24 16:37:22 (GMT)
commit0badeef93e608db0cf2bb648501c43c8ef3b0d56 (patch)
treef4b65d885a1a1d3b538355943d2c43b1fe3eaf2d
parent6ab635a4f49a95c82c8104b919aaf32cf5760f88 (diff)
downloadcpython-0badeef93e608db0cf2bb648501c43c8ef3b0d56.zip
cpython-0badeef93e608db0cf2bb648501c43c8ef3b0d56.tar.gz
cpython-0badeef93e608db0cf2bb648501c43c8ef3b0d56.tar.bz2
Remove unnecessary double negative
-rw-r--r--Lib/test/test_math.py2
1 files changed, 1 insertions, 1 deletions
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.