]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in testSum
authorMark Dickinson <dickinsm@gmail.com>
Fri, 30 May 2008 02:46:53 +0000 (02:46 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Fri, 30 May 2008 02:46:53 +0000 (02:46 +0000)
Lib/test/test_math.py

index 095e65744abc4fe7e150ed6fb3a9e91b13ea9083..426ca7b6d5956616a5e177304f9ccdf33ef82d59 100644 (file)
@@ -740,7 +740,7 @@ class MathTests(unittest.TestCase):
              OverflowError),
             ([2.**1023, 2.**1023, -1e307], OverflowError),
             ([1e16, 1., 1e-16], 10000000000000002.0),
-            ([1e16-2., 1.-2.**53, -(1e16-2.), -(1.-2.**53)], 0.0),
+            ([1e16-2., 1.-2.**-53, -(1e16-2.), -(1.-2.**-53)], 0.0),
         ]
 
         for i, (vals, s) in enumerate(test_values):