From 97ce555b418488e2a986aedd84157508cf1bce49 Mon Sep 17 00:00:00 2001 From: Ben Brady Date: Sat, 9 Aug 2025 13:14:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20removed=20unused=20test=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_jsonable_encoder.py | 3 --- 1 file changed, 3 deletions(-) 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)