summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormelissacrawford396 <melissacrawford396@gmail.com>2017-01-11 20:19:38 -0500
committerDana Powers <dana.powers@gmail.com>2017-01-11 17:19:38 -0800
commit83081befc1a9da3c02f78e092698ddca0f41a0f9 (patch)
tree6ded62dffce4bdca3605b6691ebc8b61b72d6157 /test
parentcb06a6b125d798b3d60ba105f2f86bbcd1a1357a (diff)
downloadkafka-python-83081befc1a9da3c02f78e092698ddca0f41a0f9.tar.gz
Spelling and grammar changes (#923)
Diffstat (limited to 'test')
-rw-r--r--test/test_client_async.py2
-rw-r--r--test/testutil.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_client_async.py b/test/test_client_async.py
index 8661e90..8874c67 100644
--- a/test/test_client_async.py
+++ b/test/test_client_async.py
@@ -74,7 +74,7 @@ def test_bootstrap_failure(conn):
def test_can_connect(cli, conn):
- # Node is not in broker metadata - cant connect
+ # Node is not in broker metadata - can't connect
assert not cli._can_connect(2)
# Node is in broker metadata but not in _conns
diff --git a/test/testutil.py b/test/testutil.py
index a6f4421..c247e6a 100644
--- a/test/testutil.py
+++ b/test/testutil.py
@@ -114,7 +114,7 @@ class KafkaIntegrationTestCase(unittest.TestCase):
try:
offsets, = self.client.send_offset_request([OffsetRequestPayload(topic, partition, -1, 1)])
except:
- # XXX: We've seen some UnknownErrors here and cant debug w/o server logs
+ # XXX: We've seen some UnknownErrors here and can't debug w/o server logs
self.zk.child.dump_logs()
self.server.child.dump_logs()
raise