Commit c3ab90da authored by Damien George's avatar Damien George
Browse files

tests: Make printing of floats hopefully more portable.

parent d112cbfd
......@@ -6,6 +6,8 @@ except:
def my_print(o):
if isinstance(o, dict):
print('sorted dict', sorted(o.items()))
elif isinstance(o, float):
print('%.3f' % o)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment