()
| 117 | |
| 118 | @pytest.mark.skipif(not has_zstd(), reason="Zstd not available") |
| 119 | def test_zstd(): |
| 120 | for _ in range(1000): |
| 121 | b1 = random_string(100).encode('utf-8') |
| 122 | b2 = zstd_decode(zstd_encode(b1)) |
| 123 | assert b1 == b2 |
| 124 | |
| 125 | |
| 126 | @pytest.mark.skipif(not has_zstd(), reason="Zstd not available") |
nothing calls this directly
no test coverage detected
searching dependent graphs…