summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-03-23 15:03:47 +0000
committerDavid Robertson <davidr@element.io>2023-03-23 15:03:47 +0000
commitd4a608e8bb15a3624f38dd03a72d4a930b7a1c04 (patch)
treeca939d70b822bd7fa5750ff6a38b46c2be72cc71
parentwip 7 (diff)
downloadsynapse-d4a608e8bb15a3624f38dd03a72d4a930b7a1c04.tar.xz
wip 8
-rw-r--r--tests/http/federation/dmr_reproduce_mypy_zope_pain.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/http/federation/dmr_reproduce_mypy_zope_pain.py b/tests/http/federation/dmr_reproduce_mypy_zope_pain.py
index 1694ce029a..b403f547bf 100644
--- a/tests/http/federation/dmr_reproduce_mypy_zope_pain.py
+++ b/tests/http/federation/dmr_reproduce_mypy_zope_pain.py
@@ -1,6 +1,5 @@
 from typing import Optional
 
-from twisted.internet.protocol import Protocol
 from zope.interface import Interface, implementer
 
 
@@ -20,6 +19,11 @@ class IProtocol(Interface):
     pass
 
 
+@implementer(IProtocol)
+class Protocol:
+    pass
+
+
 class _WrappingProtocol(Protocol):
     pass