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

Method testPickle

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

Source from the content-addressed store, hash-verified

923 decompressed = None
924
925 def testPickle(self):
926 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
927 with self.assertRaises(TypeError):
928 pickle.dumps(BZ2Decompressor(), proto)
929
930 def testDecompressorChunksMaxsize(self):
931 bzd = BZ2Decompressor()

Callers

nothing calls this directly

Calls 3

BZ2DecompressorClass · 0.90
assertRaisesMethod · 0.45
dumpsMethod · 0.45

Tested by

no test coverage detected