summaryrefslogtreecommitdiff
path: root/tests/float/string_format.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/string_format.py')
-rw-r--r--tests/float/string_format.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/float/string_format.py b/tests/float/string_format.py
index 6fb11c35a..54f127077 100644
--- a/tests/float/string_format.py
+++ b/tests/float/string_format.py
@@ -24,6 +24,9 @@ test("{:06e}", float("inf"))
test("{:06e}", float("-inf"))
test("{:06e}", float("nan"))
+test('{:f}', False)
+test('{:f}', True)
+
# The following fails right now
#test("{:10.1}", 0.0)