summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math_fun_int.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/math_fun_int.py')
-rw-r--r--tests/float/math_fun_int.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/math_fun_int.py b/tests/float/math_fun_int.py
index 5cadbb1e52..2cabad4e09 100644
--- a/tests/float/math_fun_int.py
+++ b/tests/float/math_fun_int.py
@@ -7,7 +7,7 @@ except ImportError:
raise SystemExit
for fun in (math.ceil, math.floor, math.trunc):
- for x in (-1.6, -0.2, 0, 0.6, 1.4, float('inf'), float('nan')):
+ for x in (-1.6, -0.2, 0, 0.6, 1.4, float("inf"), float("nan")):
try:
print(fun(x))
except (ValueError, OverflowError) as e: