summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/float/lexer.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/float/lexer.py b/tests/float/lexer.py
new file mode 100644
index 000000000..a4b1941ee
--- /dev/null
+++ b/tests/float/lexer.py
@@ -0,0 +1,6 @@
+# since black code formatter does not allow leading decimal point with nothing
+# before it, we need to test it explicitly
+
+# fmt: off
+print(.1)
+# fmt: on