diff --git a/tests/test_jsonable_encoder.py b/tests/test_jsonable_encoder.py index 4d805c561..b1cb56c65 100644 --- a/tests/test_jsonable_encoder.py +++ b/tests/test_jsonable_encoder.py @@ -95,9 +95,6 @@ def test_encode_dict_with_nonprimative_keys(): def __init__(self, value: str) -> None: self.value = value - def __eq__(self, other) -> bool: - return isinstance(other, CustomString) and self.value == other.value - def __hash__(self): return hash(self.value)