summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-19 11:46:23 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-19 11:46:23 +0000
commitadb043107fe00ab6439d120a0416efec613a8bd4 (patch)
treeac02207cb3c27ecbe3312b7a63e61daa01493b9a /tests/storage
parentRemove the ability to query relations when the original event was redacted. (... (diff)
parentSupport Prometheus_client 0.4.0+ (#5636) (diff)
downloadsynapse-adb043107fe00ab6439d120a0416efec613a8bd4.tar.xz
Support Prometheus_client 0.4.0+ (#5636)
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_event_metrics.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test_event_metrics.py b/tests/storage/test_event_metrics.py
index d44359ff93..f26ff57a18 100644
--- a/tests/storage/test_event_metrics.py
+++ b/tests/storage/test_event_metrics.py
@@ -13,9 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from prometheus_client.exposition import generate_latest
-
-from synapse.metrics import REGISTRY
+from synapse.metrics import REGISTRY, generate_latest
 from synapse.types import Requester, UserID
 
 from tests.unittest import HomeserverTestCase