We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa0b67 commit 97ee9ebCopy full SHA for 97ee9eb
1 file changed
Lib/test/support/__init__.py
@@ -527,7 +527,8 @@ def dec(*args, **kwargs):
527
528
# detect evidence of double-rounding:
529
x, y = 1e16, 2.9999 # use temporary values to defeat peephole optimizer
530
-skip_if_double_rounding = unittest.skipIf(x + y == 1e16 + 4,
+HAVE_DOUBLE_ROUNDING = (x + y == 1e16 + 4)
531
+skip_if_double_rounding = unittest.skipIf(HAVE_DOUBLE_ROUNDING,
532
"accuracy not guaranteed on "
533
"machines with double rounding")
534
0 commit comments