diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2019-08-21 18:47:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 18:47:22 -0700 |
commit | e49caeb3ebdd36eb4d18a517bc402f8e89dfdbee (patch) | |
tree | e29f121c7979c96b9850cd3633d2ecb54d340657 /test/testutil.py | |
parent | 5bc25292b8bb5b20ba2fff481fdc77b9909d0831 (diff) | |
download | kafka-python-e49caeb3ebdd36eb4d18a517bc402f8e89dfdbee.tar.gz |
Minor test cleanup (#1885)
Remove unused import, whitespace, etc. No functional changes, just
cleaning it up so the diffs of later changes are cleaner.
Diffstat (limited to 'test/testutil.py')
-rw-r--r-- | test/testutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testutil.py b/test/testutil.py index b7b4513..781c364 100644 --- a/test/testutil.py +++ b/test/testutil.py @@ -44,10 +44,10 @@ def kafka_versions(*versions): op_str = '=' v_str = s elif s[1].isdigit(): - op_str = s[0] # ! < > = + op_str = s[0] # ! < > = v_str = s[1:] elif s[2].isdigit(): - op_str = s[0:2] # >= <= + op_str = s[0:2] # >= <= v_str = s[2:] else: raise ValueError('Unrecognized kafka version / operator: %s' % (s,)) |