Skip to content

Commit

Permalink
fix(ci): Fix for ruff E721
Browse files Browse the repository at this point in the history
  • Loading branch information
ketiltrout committed Jul 16, 2024
1 parent 3872c07 commit 8d3391a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caput/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def _assert_equal(obj1, obj2):
# If both objects are np.ndarray subclasses, check that they
# have the same type
if isinstance(obj1, np.ndarray) and isinstance(obj2, np.ndarray):
assert type(obj1) == type(obj2)
assert type(obj1) is type(obj2)

obj1 = obj1.view(np.ndarray)
obj2 = obj2.view(np.ndarray)
Expand Down

0 comments on commit 8d3391a

Please sign in to comment.