diff options
author | David Robertson <davidr@element.io> | 2023-03-23 15:03:47 +0000 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2023-03-23 15:03:47 +0000 |
commit | d4a608e8bb15a3624f38dd03a72d4a930b7a1c04 (patch) | |
tree | ca939d70b822bd7fa5750ff6a38b46c2be72cc71 | |
parent | wip 7 (diff) | |
download | synapse-d4a608e8bb15a3624f38dd03a72d4a930b7a1c04.tar.xz |
wip 8
-rw-r--r-- | tests/http/federation/dmr_reproduce_mypy_zope_pain.py | 6 |
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 |