Skip to content

Commit

Permalink
Update deep_equals.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiraly committed Aug 1, 2023
1 parent 1722ec5 commit a444ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skbase/utils/deep_equals.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def ret(is_equal, msg):
else:
return is_equal

if type(x) != type(y):
if type(x) is not type(y):
return ret(False, f".type, x.type = {type(x)} != y.type = {type(y)}")

# we now know all types are the same
Expand Down

0 comments on commit a444ec1

Please sign in to comment.