Lines Matching refs:loads

691                 self.loads(data)
699 self.assert_is_copy(self._testdata, self.loads(DATA0))
702 self.assert_is_copy(self._testdata, self.loads(DATA1))
705 self.assert_is_copy(self._testdata, self.loads(DATA2))
708 self.assert_is_copy(self._testdata, self.loads(DATA3))
711 self.assert_is_copy(self._testdata, self.loads(DATA4))
733 self.assert_is_copy(X(*args), self.loads(pickle0))
750 self.assert_is_copy(X(*args), self.loads(pickle1))
768 self.assert_is_copy(X(*args), self.loads(pickle2))
773 got = self.loads(data)
782 loaded = self.loads(DATA_SET)
784 loaded = self.loads(DATA_XRANGE)
787 loaded = self.loads(DATA_COOKIE)
795 loaded = self.loads(data)
799 loaded = self.loads(exception_pickle.replace(b'?', b'StandardError'))
802 loaded = self.loads(DATA_UEERR)
812 self.assertEqual(self.loads(b"S'a\\x00\\xa0'\n.",
815 self.assertEqual(self.loads(b'U\x03a\x00\xa0.',
818 self.assertEqual(self.loads(b'\x80\x02U\x03a\x00\xa0.',
823 self.assertEqual(self.loads(b'V\\u03c0\n.',
826 self.assertEqual(self.loads(b'X\x02\x00\x00\x00\xcf\x80.',
829 self.assertEqual(self.loads(b'\x80\x02X\x02\x00\x00\x00\xcf\x80.',
834 self.assertEqual(self.loads(pickle.BINSTRING +
840 self.assertIsNone(self.loads(b'N.'))
841 self.assertIs(self.loads(b'\x88.'), True)
842 self.assertIs(self.loads(b'\x89.'), False)
843 self.assertIs(self.loads(b'I01\n.'), True)
844 self.assertIs(self.loads(b'I00\n.'), False)
848 empty = self.loads(b'\x80\x03U\x00q\x00.', encoding='koi8-r')
853 self.assertEqual(self.loads(dumped), b'\xe2\x82\xac\x00')
857 self.assertEqual(self.loads(dumped), b'\xe2\x82\xac\x00')
875 self.assertEqual(self.loads(dumped), '\u20ac\x00')
880 self.loads(b'((Kdtp0\nh\x00l.))'))
884 self.assertEqual(self.loads(dumped), b'\xe2\x82\xac\x00')
888 self.assertEqual(self.loads(dumped), '\u20ac\x00')
904 unpickled = self.loads(pickled)
910 unpickled = self.loads(pickled)
916 unpickled = self.loads(pickled)
922 unpickled = self.loads(pickled)
964 self.assertEqual(self.loads(p), expected)
972 self.assertEqual(self.loads(pickled), 42)
977 unpickled = self.loads(pickled)
983 self.assertIs(self.loads(pickled), functools.reduce)
986 self.assertIs(self.loads(pickled), dbm.whichdb)
990 unpickled = self.loads(pickled)
997 unpickled = self.loads(pickled)
1222 results.append(pickle.loads(pickle_bytes))
1260 y = self.loads(s)
1265 y = self.loads(s)
1270 y = self.loads(s)
1279 got = self.loads(s)
1304 x = self.loads(s)
1314 x = self.loads(s)
1326 x = self.loads(s)
1337 x = self.loads(s)
1349 x = self.loads(s)
1360 x = self.loads(s)
1370 x = self.loads(s)
1381 x = self.loads(s)
1392 x = self.loads(s)
1405 x = self.loads(s)
1418 x = self.loads(s)
1462 u2 = self.loads(p)
1469 t2 = self.loads(p)
1476 self.assert_is_copy(s, self.loads(p))
1479 self.assert_is_copy(s, self.loads(p))
1482 self.assert_is_copy(s, self.loads(p))
1490 n2 = self.loads(s)
1502 got = self.loads(pickle)
1510 got = self.loads(p)
1524 got = self.loads(pickle)
1536 loaded = self.loads(dumped)
1543 loaded = self.loads(dumped)
1550 b = self.loads(s)
1558 b = self.loads(s)
1569 u = self.loads(s)
1574 u = self.loads(s)
1579 u = self.loads(s)
1585 u = self.loads(s)
1591 u = self.loads(s)
1600 u = self.loads(s)
1618 self.loads(badpickle)
1628 y = self.loads(s)
1636 y = self.loads(s)
1674 y = self.loads(s)
1699 y = self.loads(s)
1710 y = self.loads(s)
1719 y = self.loads(s)
1729 y = self.loads(s)
1748 y = self.loads(s)
1762 self.assertRaises((TypeError, pickle.UnpicklingError), self.loads, b)
1784 y = self.loads(s1)
1793 y = self.loads(s2)
1817 y = self.loads(s)
1826 y = self.loads(s)
1840 y = self.loads(s)
1849 y = self.loads(s)
1862 y = self.loads(s)
1874 y = self.loads(s)
1895 y = self.loads(s) # will raise TypeError if __init__ called
1915 y = self.loads(s) # will raise TypeError if __init__ called
1935 y = self.loads(s) # will raise TypeError if __init__ called
1943 y = self.loads(s)
1952 y = self.loads(s)
1961 y = self.loads(s)
1970 y = self.loads(s)
1979 y = self.loads(s)
1988 y = self.loads(s)
2031 loaded = self.loads(dumped)
2042 y = self.loads(s)
2064 loaded = self.loads(dumped)
2083 unpickled = self.loads(pickled)
2159 unpickled = self.loads(pickled)
2189 unpickled = self.loads(pickled)
2235 self.assertEqual(obj, self.loads(frameless_pickle))
2240 self.assertEqual(obj, self.loads(some_frames_pickle))
2271 reconstructed = self.loads(pickled)
2317 unpickled = self.loads(self.dumps(obj, proto))
2328 unpickled = self.loads(self.dumps(Recursive, proto))
2373 unpickled = self.loads(self.dumps(method, proto))
2378 unpickled = self.loads(self.dumps(method, proto))
2413 unpickled = self.loads(self.dumps(method, proto))
2432 self.assertIs(type(self.loads(pickled)), type(val))
2797 self.assertEqual(self.loads(self.dumps(L, proto)), L)
2813 unpickled = self.loads(self.dumps(obj, proto))
2830 self.assertRaises(pickle.UnpicklingError, self.loads, pickled)
3040 return pickle.loads(dumps(obj, 0))
3043 return pickle.loads(pickle.dumps(obj, 0))