summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/builtin_float_abs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/builtin_float_abs.py')
-rw-r--r--tests/float/builtin_float_abs.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/float/builtin_float_abs.py b/tests/float/builtin_float_abs.py
index c0935c6eec..f7ce9e156f 100644
--- a/tests/float/builtin_float_abs.py
+++ b/tests/float/builtin_float_abs.py
@@ -1,13 +1,13 @@
# test builtin abs function with float args
for val in (
- '1.0',
- '-1.0',
- '0.0',
- '-0.0',
- 'nan',
- '-nan',
- 'inf',
- '-inf',
- ):
+ "1.0",
+ "-1.0",
+ "0.0",
+ "-0.0",
+ "nan",
+ "-nan",
+ "inf",
+ "-inf",
+):
print(val, abs(float(val)))