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

Method test_misc_get

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

Source from the content-addressed store, hash-verified

984 self.assertEqual(self.loads(dumped), '\u20ac\x00')
985
986 def test_misc_get(self):
987 self.check_unpickling_error(pickle.UnpicklingError, b'g0\np0')
988 self.check_unpickling_error(pickle.UnpicklingError, b'jens:')
989 self.check_unpickling_error(pickle.UnpicklingError, b'hens:')
990 self.assert_is_copy([(100,), (100,)],
991 self.loads(b'((Kdtp0\nh\x00l.))'))
992
993 def test_binbytes8(self):
994 dumped = b'\x80\x04\x8e\4\0\0\0\0\0\0\0\xe2\x82\xac\x00.'

Callers

nothing calls this directly

Calls 3

assert_is_copyMethod · 0.95
loadsMethod · 0.95

Tested by

no test coverage detected