summaryrefslogtreecommitdiff
path: root/test/test_producer.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_producer.py')
-rw-r--r--test/test_producer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_producer.py b/test/test_producer.py
index 136d85f..54b9db2 100644
--- a/test/test_producer.py
+++ b/test/test_producer.py
@@ -31,8 +31,8 @@ def test_end_to_end(kafka_broker, compression):
# LZ4 requires 0.8.2
if version() < (0, 8, 2):
return
- # LZ4 python libs don't work on python2.6
- elif sys.version_info < (2, 7):
+ # python-lz4 crashes on older versions of pypy
+ elif platform.python_implementation() == 'PyPy':
return
connect_str = 'localhost:' + str(kafka_broker.port)