summary refs log tree commit diff
path: root/tests/replication/storage/test_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/replication/storage/test_events.py')
-rw-r--r--tests/replication/storage/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/replication/storage/test_events.py b/tests/replication/storage/test_events.py
index f7c6417a09..af25815fa5 100644
--- a/tests/replication/storage/test_events.py
+++ b/tests/replication/storage/test_events.py
@@ -58,7 +58,7 @@ def patch__eq__(cls: object) -> Callable[[], None]:
 
     def unpatch() -> None:
         if eq is not None:
-            cls.__eq__ = eq  # type: ignore[assignment]
+            cls.__eq__ = eq  # type: ignore[method-assign]
 
     return unpatch