diff options
author | Mark Roberts <wizzat@gmail.com> | 2014-04-23 13:10:43 -0700 |
---|---|---|
committer | Mark Roberts <wizzat@gmail.com> | 2014-04-23 13:10:43 -0700 |
commit | 583d3ae22bf6fc373c03e50c7e4eb26eaa50db4b (patch) | |
tree | e5d649029cd4960a4f00ccd16f5837de45f4d699 /test/testutil.py | |
parent | 764f2053ad4dd73dc391416ddd4cfa345271efcb (diff) | |
download | kafka-python-583d3ae22bf6fc373c03e50c7e4eb26eaa50db4b.tar.gz |
Fix Python 2.6 support
Diffstat (limited to 'test/testutil.py')
-rw-r--r-- | test/testutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testutil.py b/test/testutil.py index 61fe9bd..78e6f7d 100644 --- a/test/testutil.py +++ b/test/testutil.py @@ -5,7 +5,7 @@ import random import socket import string import time -import unittest +import unittest2 import uuid from kafka.common import OffsetRequest @@ -56,7 +56,7 @@ def get_open_port(): sock.close() return port -class KafkaIntegrationTestCase(unittest.TestCase): +class KafkaIntegrationTestCase(unittest2.TestCase): create_client = True topic = None |