8000 py/formatfloat: quotes in test. · micropython/micropython@963fe59 · GitHub
[go: up one dir, main page]

Skip to content

Commit 963fe59

Browse files
committed
py/formatfloat: quotes in test.
1 parent b6eb796 commit 963fe59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/float/float_format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
s = "%.12e" % float("1e-" + str(r))
2424
# It may format as 1e-r, or 9.999...e-(r+1), both are OK.
2525
# But formatting as 0.999...e-r is NOT ok.
26-
if s[0] == '0':
27-
print('FAIL:', s)
26+
if s[0] == "0":
27+
print("FAIL:", s)

0 commit comments

Comments
 (0)
0