mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Remove unnecessary double negative
This commit is contained in:
parent
6ab635a4f4
commit
0badeef93e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue