Skip to content

Commit

Permalink
STY: Revert old check.
Browse files Browse the repository at this point in the history
  • Loading branch information
zssherman committed Oct 14, 2024
1 parent 2daf9c2 commit d459ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/io/test_cfradial.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def attribute_equal(class1, class2, key, allow_str_case_diff=True):
a1 = getattr(class1, key)
a2 = getattr(class2, key)

assert isinstance(a1, a2)
assert type(a1) == type(a2) # noqa

if isinstance(a1, str) and allow_str_case_diff:
assert a1.upper() == a2.upper()
Expand Down

0 comments on commit d459ed5

Please sign in to comment.