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-18 00:21:18 -0800
commit1d443638e22c2d360086b8d7cee8b5d930741d12 (patch)
tree9e60f53f4a791b306acd6f1a2223557ead1ed750 /test/test_metrics.py
parentf3105a434f3bd2fb3f8899e4861e187e786b03da (diff)
downloadkafka-python-1d443638e22c2d360086b8d7cee8b5d930741d12.tar.gz
Be explicit with tuples for %s formatting
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()