diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-11-13 11:57:45 -0800 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-11-17 16:38:01 -0800 |
commit | 8eb26b6420a358dc10af7e58d270fae690e07fdf (patch) | |
tree | 2d1b7f3e0744e80b7757182c0e978ccd20814d52 /test/testutil.py | |
parent | 7bd6b5da6d402565f25fce9e710be26b2d4cc125 (diff) | |
download | kafka-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/testutil.py')
-rw-r--r-- | test/testutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil.py b/test/testutil.py index 6f6cafb..a8227cf 100644 --- a/test/testutil.py +++ b/test/testutil.py @@ -32,7 +32,7 @@ def kafka_versions(*versions): op_str = s[0:2] # >= <= v_str = s[2:] else: - raise ValueError('Unrecognized kafka version / operator: %s' % s) + raise ValueError('Unrecognized kafka version / operator: %s' % (s,)) op_map = { '=': operator.eq, |