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

Method test_misc_get

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

Source from the content-addressed store, hash-verified

1064 self.assertEqual(self.loads(dumped), '\u20ac\x00')
1065
1066 def test_misc_get(self):
1067 self.check_unpickling_error(pickle.UnpicklingError, b'g0\np0')
1068 self.check_unpickling_error(pickle.UnpicklingError, b'jens:')
1069 self.check_unpickling_error(pickle.UnpicklingError, b'hens:')
1070 self.assert_is_copy([(100,), (100,)],
1071 self.loads(b'((Kdtp0\nh\x00l.))'))
1072
1073 def test_binbytes8(self):
1074 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