From cd74c1fe4053385151175b5100cb0a0d43bc31f6 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 8 Nov 2016 01:29:45 -0800 Subject: Fix typos --- test/test_failover_integration.py | 2 +- test/test_partitioner.py | 2 +- test/test_producer.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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 -- cgit v1.2.1