summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-09-27 13:53:55 +1000
committerDamien George <damien@micropython.org>2023-09-29 12:02:21 +1000
commit7c88cdda49f98d76bc10b9d864fa1675acf46afc (patch)
tree6cd16ac062d38d4cd14f72f13666c82fe086ee5d
parenta7e2a6d9f2b0bfe3e6955331a2e35bc260354fd6 (diff)
downloadmicropython-7c88cdda49f98d76bc10b9d864fa1675acf46afc.tar.gz
micropython-7c88cdda49f98d76bc10b9d864fa1675acf46afc.zip
tests/float/math_domain.py: Tweak test to also pass with obj-repr-C.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--tests/float/math_domain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/math_domain.py b/tests/float/math_domain.py
index 26e883ea64..b1273c6c11 100644
--- a/tests/float/math_domain.py
+++ b/tests/float/math_domain.py
@@ -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: