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

Method test_decompress_empty

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected