Skip to content

Commit

Permalink
bugfix test error diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed May 24, 2021
1 parent f58bbb0 commit feea176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def assert_schema(schema, reference_filename, transforms=None):


def assert_equal(a, b):
if not isinstance(a, str) or isinstance(b, str):
if not isinstance(a, str) or not isinstance(b, str):
a = json.dumps(a, indent=4)
b = json.dumps(b, indent=4)
diff = difflib.unified_diff(
Expand Down

0 comments on commit feea176

Please sign in to comment.