Fix typo in testSum
This commit is contained in:
parent
6983ff7475
commit
8df4e22a28
|
@ -740,7 +740,7 @@ class MathTests(unittest.TestCase):
|
||||||
OverflowError),
|
OverflowError),
|
||||||
([2.**1023, 2.**1023, -1e307], OverflowError),
|
([2.**1023, 2.**1023, -1e307], OverflowError),
|
||||||
([1e16, 1., 1e-16], 10000000000000002.0),
|
([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):
|
for i, (vals, s) in enumerate(test_values):
|
||||||
|
|
Loading…
Reference in New Issue