Skip to content

Commit f70ef1d

Browse files
committed
Revert "Disable unit tests for 2.6, close dpkp#57"
This reverts commit e39e05f.
1 parent e39e05f commit f70ef1d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ high-level consumer and producer classes. Request batching is supported by the
77
protocol as well as broker-aware request routing. Gzip and Snappy compression
88
is also supported for message sets.
99

10-
Compatible with Python 2.6+ and Apache Kafka 0.8.1
10+
Compatible with Apache Kafka 0.8.1
1111

1212
http://kafka.apache.org/
1313

test/test_unit.py

-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
import random
33
import struct
4-
import sys
54
import unittest
65

76
from kafka.client import KafkaClient, ProduceRequest, FetchRequest
@@ -14,10 +13,6 @@
1413
ITERATIONS = 1000
1514
STRLEN = 100
1615

17-
# TODO remove this and fix unit tests
18-
if sys.version_info < (2,7):
19-
print("Skipping unit tests for Python <2.7")
20-
exit(0)
2116

2217
def random_string():
2318
return os.urandom(random.randint(1, STRLEN))

0 commit comments

Comments
 (0)