tests/float/math_domain.py: Tweak test to also pass with obj-repr-C.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
a7e2a6d9f2
commit
7c88cdda49
|
@ -28,7 +28,7 @@ for name, f in (
|
|||
("radians", math.radians),
|
||||
("degrees", math.degrees),
|
||||
):
|
||||
for x in (0, 1, 1.1, -1, -1.1, inf, -inf, nan):
|
||||
for x in (0, 1, 1.12, -1, -1.12, inf, -inf, nan):
|
||||
try:
|
||||
ans = "%.4f" % f(x)
|
||||
except ValueError:
|
||||
|
|
Loading…
Reference in New Issue