diff --git a/tests/float/lexer.py b/tests/float/lexer.py new file mode 100644 index 0000000000..a4b1941eea --- /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