diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-11-13 11:57:45 -0800 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-11-18 00:21:18 -0800 |
commit | 1d443638e22c2d360086b8d7cee8b5d930741d12 (patch) | |
tree | 9e60f53f4a791b306acd6f1a2223557ead1ed750 /test/test_metrics.py | |
parent | f3105a434f3bd2fb3f8899e4861e187e786b03da (diff) | |
download | kafka-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.py | 2 |
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() |