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.
This commit is contained in:
parent
3dc324d3f1
commit
6110cd3078
6
tests/float/lexer.py
Normal file
6
tests/float/lexer.py
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user