From c812f43bd74347da1ced0ddcfff9d199988add34 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 10:23:13 +0000 Subject: Bump twisted from 23.8.0 to 23.10.0 (#16588) --- tests/http/__init__.py | 2 +- tests/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/http/__init__.py b/tests/http/__init__.py index d5306e7ee0..9108a3007b 100644 --- a/tests/http/__init__.py +++ b/tests/http/__init__.py @@ -182,7 +182,7 @@ def wrap_server_factory_for_tls( ) else: return TLSMemoryBIOFactory( - connection_creator, isClient=False, wrappedFactory=factory, clock=clock # type: ignore[call-arg] + connection_creator, isClient=False, wrappedFactory=factory, clock=clock ) 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__() -- cgit 1.4.1