Skip to content

Commit caaf141

Browse files
committed
py/formatfloat: Fix quotes in test.
Signed-off-by: Dan Ellis <dan.ellis@gmail.com>
1 parent b6eb796 commit caaf141

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)