summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-07-18 23:57:15 +1000
committerGitHub <noreply@github.com>2019-07-18 23:57:15 +1000
commit7ad1d763566eb34bd32234811aa9901d8f3668aa (patch)
tree2349489f45b024f7b5430f6405687c1c36bedc33 /tests
parentRemove the ability to query relations when the original event was redacted. (... (diff)
downloadsynapse-7ad1d763566eb34bd32234811aa9901d8f3668aa.tar.xz
Support Prometheus_client 0.4.0+ (#5636)
Diffstat (limited to 'tests')
-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