summaryrefslogtreecommitdiff
path: root/test/test_metrics.py
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2018-11-13 11:57:45 -0800
committerJeff Widman <jeff@jeffwidman.com>2018-11-17 16:38:01 -0800
commit8eb26b6420a358dc10af7e58d270fae690e07fdf (patch)
tree2d1b7f3e0744e80b7757182c0e978ccd20814d52 /test/test_metrics.py
parent7bd6b5da6d402565f25fce9e710be26b2d4cc125 (diff)
downloadkafka-python-use-explicit-tuples-for-strings.tar.gz
Be explicit with tuples for %s formattinguse-explicit-tuples-for-strings
Fix #1633
Diffstat (limited to 'test/test_metrics.py')
-rw-r--r--test/test_metrics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_metrics.py b/test/test_metrics.py
index 8d35f55..308ea58 100644
--- a/test/test_metrics.py
+++ b/test/test_metrics.py
@@ -469,7 +469,7 @@ def test_reporter(metrics):
for key in list(expected.keys()):
metrics = expected.pop(key)
- expected['foo.%s' % key] = metrics
+ expected['foo.%s' % (key,)] = metrics
assert expected == foo_reporter.snapshot()