From 37f8e25fdcc14061ae24fa9b0e48aefa9966ed42 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Fri, 17 May 2024 16:00:27 -0700 Subject: [PATCH] fix twisted import error --- tests/rest/client/test_media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rest/client/test_media.py b/tests/rest/client/test_media.py index a92533dbdfa..600cbf89630 100644 --- a/tests/rest/client/test_media.py +++ b/tests/rest/client/test_media.py @@ -29,7 +29,7 @@ from twisted.internet.address import IPv4Address, IPv6Address from twisted.internet.error import DNSLookupError from twisted.internet.interfaces import IAddress, IResolutionReceiver -from twisted.internet.testing import AccumulatingProtocol, MemoryReactor +from twisted.test.proto_helpers import AccumulatingProtocol, MemoryReactor from twisted.web.resource import Resource from synapse.config.oembed import OEmbedEndpointConfig