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

Method testCompressEmptyString

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

Source from the content-addressed store, hash-verified

1043 self.assertEqual(ext_decompress(data), self.TEXT)
1044
1045 def testCompressEmptyString(self):
1046 text = bz2.compress(b'')
1047 self.assertEqual(text, self.EMPTY_DATA)
1048
1049 def testDecompress(self):
1050 text = bz2.decompress(self.DATA)

Callers

nothing calls this directly

Calls 2

compressMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected