correct error
@@ -196,7 +196,7 @@ def assert_equal(x, y, prec=1e-5, msg=''):
elif type(x) != type(y):
raise AssertionError("cannot compare {} and {}".format(type(x), type(y)))
elif is_iterable(x) and is_iterable(y):
- assert list(x) == approx(y, prec)
+ assert list(x) == approx(list(y), prec)
else:
assert x == y, msg
