mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
48b7ff7a35
prometheus_client 0.5 has a named-tuple Sample type with more member than the old plain tuple had. This commit makes sure the unit test detects this and changes the way it reads the sample. Signed-off-by: Maarten de Vries <maarten@de-vri.es>
1 line
114 B
Text
1 line
114 B
Text
Fix test_metric.py compatibility with prometheus_client 0.5. Contributed by Maarten de Vries <maarten@de-vri.es>.
|