diff options
author | Damien George <damien.p.george@gmail.com> | 2016-01-08 17:58:02 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-01-08 17:58:02 +0000 |
commit | 3b936a5f4cea879bd793ef174622d56d19d01c11 (patch) | |
tree | 4202d9bd01892a08836294bfa98308365cfb6460 /tests/float/math_fun_special.py | |
parent | da3dffa79ddadbc789a06e7afd82ca6e52b47b8c (diff) | |
download | micropython-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.py | 2 |
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)) |