We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608823d commit 0714b73Copy full SHA for 0714b73
django_prometheus/testutils.py
@@ -196,4 +196,4 @@ def format_vector(vector):
196
"""Formats a list of (labels, value) where labels is a dict into a
197
human-readable representation.
198
"""
199
- return "\n".join(["{} = {}".format(format_labels(labels), value) for labels, value in vector])
+ return "\n".join([f"{format_labels(labels)} = {value}" for labels, value in vector])
0 commit comments