summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-03-13 17:05:57 +0000
committerGitHub <noreply@github.com>2024-03-13 17:05:57 +0000
commite161103b46e9e85b95575ad12b34eb7ec570e0a4 (patch)
tree968de33935c76f2d2e0c560819684e7859a067f6 /tests
parentBump dawidd6/action-download-artifact from 3.1.1 to 3.1.2 (#16960) (diff)
downloadsynapse-e161103b46e9e85b95575ad12b34eb7ec570e0a4.tar.xz
Bump mypy from 1.5.1 to 1.8.0 (#16901)
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/test_filter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_filter.py b/tests/rest/client/test_filter.py
index 0a894ad081..9cfc6b224f 100644
--- a/tests/rest/client/test_filter.py
+++ b/tests/rest/client/test_filter.py
@@ -72,7 +72,7 @@ class FilterTestCase(unittest.HomeserverTestCase):
 
     def test_add_filter_non_local_user(self) -> None:
         _is_mine = self.hs.is_mine
-        self.hs.is_mine = lambda target_user: False  # type: ignore[method-assign]
+        self.hs.is_mine = lambda target_user: False  # type: ignore[assignment]
         channel = self.make_request(
             "POST",
             "/_matrix/client/r0/user/%s/filter" % (self.user_id),