Skip to content

Commit 97ee9eb

Browse files
committed
+1
1 parent afa0b67 commit 97ee9eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/support/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,8 @@ def dec(*args, **kwargs):
527527

528528
# detect evidence of double-rounding:
529529
x, y = 1e16, 2.9999 # use temporary values to defeat peephole optimizer
530-
skip_if_double_rounding = unittest.skipIf(x + y == 1e16 + 4,
530+
HAVE_DOUBLE_ROUNDING = (x + y == 1e16 + 4)
531+
skip_if_double_rounding = unittest.skipIf(HAVE_DOUBLE_ROUNDING,
531532
"accuracy not guaranteed on "
532533
"machines with double rounding")
533534

0 commit comments

Comments
 (0)