summaryrefslogtreecommitdiff
path: root/test/test_unit.py
diff options
context:
space:
mode:
authorDavid Arthur <mumrah@gmail.com>2013-10-03 13:11:33 -0400
committerDavid Arthur <mumrah@gmail.com>2013-10-03 13:11:33 -0400
commitf70ef1d3d6712f16b5a13f186bf815ea567b8437 (patch)
tree1f0980e5f502a5e2dc1565fe21cd357a069091bf /test/test_unit.py
parente39e05f8a50b7528a22fed99dc67d561cbd79c41 (diff)
downloadkafka-python-f70ef1d3d6712f16b5a13f186bf815ea567b8437.tar.gz
Revert "Disable unit tests for 2.6, close #57"
This reverts commit e39e05f8a50b7528a22fed99dc67d561cbd79c41.
Diffstat (limited to 'test/test_unit.py')
-rw-r--r--test/test_unit.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/test_unit.py b/test/test_unit.py
index c92f2ca..c796c94 100644
--- a/test/test_unit.py
+++ b/test/test_unit.py
@@ -1,7 +1,6 @@
import os
import random
import struct
-import sys
import unittest
from kafka.client import KafkaClient, ProduceRequest, FetchRequest
@@ -14,10 +13,6 @@ from kafka.codec import (
ITERATIONS = 1000
STRLEN = 100
-# TODO remove this and fix unit tests
-if sys.version_info < (2,7):
- print("Skipping unit tests for Python <2.7")
- exit(0)
def random_string():
return os.urandom(random.randint(1, STRLEN))