summary refs log tree commit diff
path: root/tests/server.py
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-11-01 10:23:13 +0000
committerGitHub <noreply@github.com>2023-11-01 10:23:13 +0000
commitc812f43bd74347da1ced0ddcfff9d199988add34 (patch)
tree45b6b6dd9da57c3428de99ae35acdf916dafd4be /tests/server.py
parentDo not call getfullargspec on every call. (#16589) (diff)
downloadsynapse-c812f43bd74347da1ced0ddcfff9d199988add34.tar.xz
Bump twisted from 23.8.0 to 23.10.0 (#16588)
Diffstat (limited to 'tests/server.py')
-rw-r--r--tests/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py
index cfb0fb823b..c8342db399 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -484,7 +484,7 @@ class ThreadedMemoryReactorClock(MemoryReactorClock):
         if twisted.version > Version("Twisted", 23, 8, 0):
             from twisted.protocols import tls
 
-            tls._get_default_clock = lambda: self  # type: ignore[attr-defined]
+            tls._get_default_clock = lambda: self
 
         self.nameResolver = SimpleResolverComplexifier(FakeResolver())
         super().__init__()