summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2015-12-10 18:52:18 -0800
committerDana Powers <dana.powers@rd.io>2015-12-10 18:52:18 -0800
commitb528410818db4882755a14d89da16fc957c3b268 (patch)
tree725b1c194e60a951b8e05b0b717a38d10f16b305
parentf86068a51a50dcd472d2c5ddf62fc61545e7f173 (diff)
downloadkafka-python-b528410818db4882755a14d89da16fc957c3b268.tar.gz
Remove bytes encoding for topic name in producer integration test
-rw-r--r--test/test_producer_integration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_producer_integration.py b/test/test_producer_integration.py
index d09c1af..26300db 100644
--- a/test/test_producer_integration.py
+++ b/test/test_producer_integration.py
@@ -166,7 +166,7 @@ class TestKafkaProducerIntegration(KafkaIntegrationTestCase):
@kafka_versions("all")
def test_produce__new_topic_fails_with_reasonable_error(self):
- new_topic = 'new_topic_{guid}'.format(guid = str(uuid.uuid4())).encode('utf-8')
+ new_topic = 'new_topic_{guid}'.format(guid = str(uuid.uuid4()))
producer = SimpleProducer(self.client, random_start=False)
# At first it doesn't exist