Skip to content

Commit

Permalink
fix: test_type_comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrenbelt committed Nov 16, 2022
1 parent daf7c85 commit d026c24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_configurations/test_data_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ def test_type_comparison(self_type, other_type):

assert not isinstance(self, other_type)
assert not isinstance(other, self_type)
assert self == self
assert other == other
assert not self == other
assert not other == self
assert self.__eq__(self)
assert other.__eq__(other)
assert self.__ne__(other)
assert other.__ne__(self)

for f in funcs:
with pytest.raises((TypeError, ValueError)):
Expand Down

0 comments on commit d026c24

Please sign in to comment.