summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_failover_integration.py2
-rw-r--r--test/test_partitioner.py2
-rw-r--r--test/test_producer.py2
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