Skip to content

Commit 9b59aa4

Browse files
committed
tests/float/float_parse_doubleprec: Fix code formatting.
Signed-off-by: Yoctopuce dev <dev@yoctopuce.com>
1 parent 8a86b38 commit 9b59aa4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/float/float_parse_doubleprec.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
print(float("100.000000000000000000e-309"))
2222

2323
# ensure repr() adds an extra digit when needed for accurate parsing
24-
if float(repr(2.0 ** 100)) != (2.0 ** 100):
25-
# this test is needed for coverage, but it will
26-
# only work if MICROPY_COMP_FLOAT_CONST == 1,
27-
# so we should not make the test case fail
28-
pass
24+
if float(repr(2.0**100)) != (2.0**100):
25+
# this test is needed for coverage, but it will
26+
# only work if MICROPY_COMP_FLOAT_CONST == 1,
27+
# so we should not make the test case fail
28+
pass
2929

3030
# ensure repr does not add meaningless extra digits (1.234999999999)
3131
print(repr(1.2345))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy