summary refs log tree commit diff
path: root/tests
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
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')
-rw-r--r--tests/http/__init__.py2
-rw-r--r--tests/server.py2
2 files changed, 2 insertions, 2 deletions
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__()