diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-11-14 11:01:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 11:01:34 -0800 |
commit | 8ac79fbe3dd1b28d052551a5fa3e6acfdc1ba457 (patch) | |
tree | bc430da90685195db6532311f37781ac734479e5 /test | |
parent | 77591afa789a4752f4d385228bea980f448f6a08 (diff) | |
parent | cd74c1fe4053385151175b5100cb0a0d43bc31f6 (diff) | |
download | kafka-python-8ac79fbe3dd1b28d052551a5fa3e6acfdc1ba457.tar.gz |
Fix typos (#874)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_failover_integration.py | 2 | ||||
-rw-r--r-- | test/test_partitioner.py | 2 | ||||
-rw-r--r-- | test/test_producer.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/test_failover_integration.py b/test/test_failover_integration.py index 9c2163c..2439b58 100644 --- a/test/test_failover_integration.py +++ b/test/test_failover_integration.py @@ -70,7 +70,7 @@ class TestFailover(KafkaIntegrationTestCase): # kill leader for partition self._kill_leader(topic, partition) - # expect failure, but dont wait more than 60 secs to recover + # expect failure, but don't wait more than 60 secs to recover recovered = False started = time.time() timeout = 60 diff --git a/test/test_partitioner.py b/test/test_partitioner.py index 2b5fe62..47470e1 100644 --- a/test/test_partitioner.py +++ b/test/test_partitioner.py @@ -65,6 +65,6 @@ def test_murmur2_java_compatibility(): def test_murmur2_not_ascii(): - # Verify no regression of murmur2() bug encoding py2 bytes that dont ascii encode + # Verify no regression of murmur2() bug encoding py2 bytes that don't ascii encode murmur2(b'\xa4') murmur2(b'\x81' * 1000) diff --git a/test/test_producer.py b/test/test_producer.py index 125737b..136d85f 100644 --- a/test/test_producer.py +++ b/test/test_producer.py @@ -31,7 +31,7 @@ def test_end_to_end(kafka_broker, compression): # LZ4 requires 0.8.2 if version() < (0, 8, 2): return - # LZ4 python libs dont work on python2.6 + # LZ4 python libs don't work on python2.6 elif sys.version_info < (2, 7): return |