(self)
| 276 | # Test that LZMACompressor->LZMADecompressor preserves the input data. |
| 277 | |
| 278 | def test_roundtrip_xz(self): |
| 279 | lzc = LZMACompressor() |
| 280 | cdata = lzc.compress(INPUT) + lzc.flush() |
| 281 | lzd = LZMADecompressor() |
| 282 | self._test_decompressor(lzd, cdata, lzma.CHECK_CRC64) |
| 283 | |
| 284 | def test_roundtrip_alone(self): |
| 285 | lzc = LZMACompressor(lzma.FORMAT_ALONE) |
nothing calls this directly
no test coverage detected