diff options
Diffstat (limited to 'tests/server.py')
-rw-r--r-- | tests/server.py | 2 |
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__() |