MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_decompress_empty

Method test_decompress_empty

Lib/test/test_zstd.py:800–806  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

798
799
800 def test_decompress_empty(self):
801 with self.assertRaises(ZstdError):
802 decompress(b'')
803
804 d = ZstdDecompressor()
805 self.assertEqual(d.decompress(b''), b'')
806 self.assertFalse(d.eof)
807
808 def test_decompress_empty_content_frame(self):
809 DAT = compress(b'')

Callers

nothing calls this directly

Calls 5

decompressFunction · 0.90
assertFalseMethod · 0.80
assertRaisesMethod · 0.45
assertEqualMethod · 0.45
decompressMethod · 0.45

Tested by

no test coverage detected