()
| 96 | @pytest.mark.skipif(not has_lz4() or platform.python_implementation() == 'PyPy', |
| 97 | reason="python-lz4 crashes on old versions of pypy") |
| 98 | def test_lz4_old(): |
| 99 | for i in range(1000): |
| 100 | b1 = random_string(100).encode('utf-8') |
| 101 | b2 = lz4_decode_old_kafka(lz4_encode_old_kafka(b1)) |
| 102 | assert len(b1) == len(b2) |
| 103 | assert b1 == b2 |
| 104 | |
| 105 | |
| 106 | @pytest.mark.skipif(not has_lz4() or platform.python_implementation() == 'PyPy', |
nothing calls this directly
no test coverage detected
searching dependent graphs…