summaryrefslogtreecommitdiff
path: root/tests/feature_check/float.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/feature_check/float.py')
-rw-r--r--tests/feature_check/float.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/feature_check/float.py b/tests/feature_check/float.py
index af93f5976..d6d2a99d2 100644
--- a/tests/feature_check/float.py
+++ b/tests/feature_check/float.py
@@ -5,9 +5,9 @@ try:
except NameError:
print(0)
else:
- if float('1.0000001') == float('1.0'):
+ if float("1.0000001") == float("1.0"):
print(30)
- elif float('1e300') == float('inf'):
+ elif float("1e300") == float("inf"):
print(32)
else:
print(64)