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:
Damien George 2023-09-27 13:53:55 +10:00
parent a7e2a6d9f2
commit 7c88cdda49

View File

@ -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: