tests/float: Add new lexer test to test parsing of float without prefix.

Since automatically formatting tests with black, we have lost one line of
code coverage.  This adds an explicit test to ensure we are testing the
case that is no longer covered implicitly.
pull/5844/head
David Lechner 2020-03-28 13:33:58 -05:00 zatwierdzone przez Damien George
rodzic 3dc324d3f1
commit 6110cd3078
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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