mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
tests: Add boolean-as-integer formatting tests for fixed regression.
As suggested by @dpgeorge in #5538.
This commit is contained in:
committed by
Damien George
parent
35e664d779
commit
cb4472df42
@@ -24,6 +24,9 @@ test("{:06e}", float("inf"))
|
||||
test("{:06e}", float("-inf"))
|
||||
test("{:06e}", float("nan"))
|
||||
|
||||
test('{:f}', False)
|
||||
test('{:f}', True)
|
||||
|
||||
# The following fails right now
|
||||
#test("{:10.1}", 0.0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user