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

Method test_big_compress_buffer

Lib/test/test_zlib.py:250–252  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

248
249 @bigmemtest(size=_1G + 1024 * 1024, memuse=3)
250 def test_big_compress_buffer(self, size):
251 compress = lambda s: zlib.compress(s, 1)
252 self.check_big_compress_buffer(size, compress)
253
254 @bigmemtest(size=_1G + 1024 * 1024, memuse=2)
255 def test_big_decompress_buffer(self, size):

Callers

nothing calls this directly

Calls 2

compressMethod · 0.45

Tested by

no test coverage detected