summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math_fun_special.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-08 17:58:02 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-08 17:58:02 +0000
commit3b936a5f4cea879bd793ef174622d56d19d01c11 (patch)
tree4202d9bd01892a08836294bfa98308365cfb6460 /tests/float/math_fun_special.py
parentda3dffa79ddadbc789a06e7afd82ca6e52b47b8c (diff)
downloadmicropython-3b936a5f4cea879bd793ef174622d56d19d01c11.tar.gz
micropython-3b936a5f4cea879bd793ef174622d56d19d01c11.zip
tests: Fix math_fun_special test so it passes with single prec float.
Diffstat (limited to 'tests/float/math_fun_special.py')
-rw-r--r--tests/float/math_fun_special.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/math_fun_special.py b/tests/float/math_fun_special.py
index 00336efc4a..32249b4234 100644
--- a/tests/float/math_fun_special.py
+++ b/tests/float/math_fun_special.py
@@ -31,6 +31,6 @@ for function_name, function, test_vals in functions:
print(function_name)
for value in test_vals:
try:
- print("{:.5g}".format(function(value)))
+ print("{:.4g}".format(function(value)))
except ValueError as e:
print(str(e))