diff options
author | Dana Powers <dana.powers@rd.io> | 2015-12-10 18:52:18 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2015-12-10 18:52:18 -0800 |
commit | b528410818db4882755a14d89da16fc957c3b268 (patch) | |
tree | 725b1c194e60a951b8e05b0b717a38d10f16b305 | |
parent | f86068a51a50dcd472d2c5ddf62fc61545e7f173 (diff) | |
download | kafka-python-b528410818db4882755a14d89da16fc957c3b268.tar.gz |
Remove bytes encoding for topic name in producer integration test
-rw-r--r-- | test/test_producer_integration.py | 2 |
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 |