summary refs log tree commit diff
path: root/tests/rest/client/test_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/client/test_events.py')
-rw-r--r--tests/rest/client/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_events.py b/tests/rest/client/test_events.py
index 54df2a252c..141e0f57a3 100644
--- a/tests/rest/client/test_events.py
+++ b/tests/rest/client/test_events.py
@@ -45,7 +45,7 @@ class EventStreamPermissionsTestCase(unittest.HomeserverTestCase):
 
         hs = self.setup_test_homeserver(config=config)
 
-        hs.get_federation_handler = Mock()  # type: ignore[assignment]
+        hs.get_federation_handler = Mock()  # type: ignore[method-assign]
 
         return hs