MCPcopy Index your code
hub / github.com/python/cpython / test_roundtrip_raw

Method test_roundtrip_raw

Lib/test/test_lzma.py:290–294  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

288 self._test_decompressor(lzd, cdata, lzma.CHECK_NONE)
289
290 def test_roundtrip_raw(self):
291 lzc = LZMACompressor(lzma.FORMAT_RAW, filters=FILTERS_RAW_4)
292 cdata = lzc.compress(INPUT) + lzc.flush()
293 lzd = LZMADecompressor(lzma.FORMAT_RAW, filters=FILTERS_RAW_4)
294 self._test_decompressor(lzd, cdata, lzma.CHECK_NONE)
295
296 def test_roundtrip_raw_empty(self):
297 lzc = LZMACompressor(lzma.FORMAT_RAW, filters=FILTERS_RAW_4)

Callers

nothing calls this directly

Calls 5

compressMethod · 0.95
flushMethod · 0.95
_test_decompressorMethod · 0.95
LZMACompressorClass · 0.85
LZMADecompressorClass · 0.85

Tested by

no test coverage detected