summary refs log tree commit diff
path: root/tests/server.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-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__()