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

Method testCompress

Lib/test/test_bz2.py:1041–1043  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1039
1040class CompressDecompressTest(BaseTest):
1041 def testCompress(self):
1042 data = bz2.compress(self.TEXT)
1043 self.assertEqual(ext_decompress(data), self.TEXT)
1044
1045 def testCompressEmptyString(self):
1046 text = bz2.compress(b'')

Callers

nothing calls this directly

Calls 3

ext_decompressFunction · 0.85
compressMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected