Use twisted.internet.testing module in tests instead of deprecated twisted.test.proto_helpers. (#18728)

Follows: #18727

---------

Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>
This commit is contained in:
reivilibre
2025-07-30 12:32:10 +01:00
committed by GitHub
parent 16a639e0fe
commit a31d53b28f
202 changed files with 202 additions and 201 deletions

View File

@@ -31,7 +31,7 @@ from signedjson.types import SigningKey, VerifyKey
from twisted.internet import defer
from twisted.internet.defer import Deferred, ensureDeferred
from twisted.test.proto_helpers import MemoryReactor
from twisted.internet.testing import MemoryReactor
from synapse.api.errors import SynapseError
from synapse.crypto import keyring