Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed Jun 25, 2020
1 parent e38e37e commit 5ca867c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def cmp_exprs(left, right):
comp_res = np.isclose(left, right)
else:
comp_res = left == right
assert comp_res, f"{str(left)} != {str(right)}"
assert comp_res, f"{left} != {right}"
return True

if isinstance(left, ast.Expr) and isinstance(right, ast.Expr):
Expand Down

0 comments on commit 5ca867c

Please sign in to comment.