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

Method test_negative_32b_binput

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

Source from the content-addressed store, hash-verified

1056
1057 @requires_32b
1058 def test_negative_32b_binput(self):
1059 # Issue #12847
1060 dumped = b'\x80\x03X\x01\x00\x00\x00ar\xff\xff\xff\xff.'
1061 self.check_unpickling_error(ValueError, dumped)
1062
1063 def test_too_large_put(self):
1064 # Test that PUT with large id does not cause allocation of

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected