From fd054aaea7b3e9993c6a02c6b9155dc66d69e2d3 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Tue, 14 Mar 2017 11:38:49 -0700 Subject: Alter test skips: python-lz4 works on python26, but not pypy --- test/test_producer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_producer.py') 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) -- cgit v1.2.1