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

@@ -22,7 +22,7 @@
import resource
from unittest import mock
from twisted.test.proto_helpers import MemoryReactor
from twisted.internet.testing import MemoryReactor
from synapse.app.phone_stats_home import phone_stats_home
from synapse.rest import admin