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

Method test_negative_32b_binbytes

Lib/test/pickletester.py:969–973  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

967
968 @requires_32b
969 def test_negative_32b_binbytes(self):
970 # On 32-bit builds, a BINBYTES of 2**31 or more is refused
971 dumped = b'\x80\x03B\xff\xff\xff\xffxyzq\x00.'
972 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
973 dumped)
974
975 @requires_32b
976 def test_negative_32b_binunicode(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected