mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
tests: Fix math_fun_special test so it passes with single prec float.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user