kopia lustrzana https://github.com/micropython/micropython
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
rodzic
3dc324d3f1
commit
6110cd3078
|
@ -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
|
Ładowanie…
Reference in New Issue