From 3b936a5f4cea879bd793ef174622d56d19d01c11 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 8 Jan 2016 17:58:02 +0000 Subject: [PATCH] tests: Fix math_fun_special test so it passes with single prec float. --- tests/float/math_fun_special.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))