Lines Matching refs:loads

519                 self.loads(data)
537 got = self.loads(canned)
546 got = self.loads(data)
580 self.assertEqual(self.loads(p), expected)
602 self.assert_is_copy(X(*args), self.loads(pickle0))
619 self.assert_is_copy(X(*args), self.loads(pickle1))
637 self.assert_is_copy(X(*args), self.loads(pickle2))
653 self.assertRaises(MyErr, self.loads, pickle0)
667 self.assertRaises(MyErr, self.loads, pickle1)
671 self.assertEqual(self.loads("S'a\\x00\\xa0'\n."), 'a\x00\xa0')
673 self.assertEqual(self.loads('U\x03a\x00\xa0.'), 'a\x00\xa0')
675 self.assertEqual(self.loads('\x80\x02U\x03a\x00\xa0.'), 'a\x00\xa0')
679 self.assertEqual(self.loads('V\\u03c0\n.'), u'π')
681 self.assertEqual(self.loads('X\x02\x00\x00\x00\xcf\x80.'), u'π')
683 self.assertEqual(self.loads('\x80\x02X\x02\x00\x00\x00\xcf\x80.'), u'π')
686 self.assertIsNone(self.loads('N.'))
687 self.assertIs(self.loads('\x88.'), True)
688 self.assertIs(self.loads('\x89.'), False)
689 self.assertIs(self.loads('I01\n.'), True)
690 self.assertIs(self.loads('I00\n.'), False)
698 unpickled = self.loads(pickled)
704 unpickled = self.loads(pickled)
710 unpickled = self.loads(pickled)
716 unpickled = self.loads(pickled)
876 y = self.loads(s)
881 y = self.loads(s)
886 y = self.loads(s)
895 got = self.loads(s)
919 x = self.loads(s)
929 x = self.loads(s)
941 x = self.loads(s)
952 x = self.loads(s)
962 x = self.loads(s)
971 x = self.loads(s)
981 x = self.loads(s)
992 x = self.loads(s)
1005 x = self.loads(s)
1018 x = self.loads(s)
1057 u2 = self.loads(p)
1064 t2 = self.loads(p)
1074 n2 = self.loads(s)
1086 got = self.loads(pickle)
1094 got = self.loads(p)
1104 got = self.loads(pickle)
1122 b = self.loads(s)
1130 b = self.loads(s)
1141 u = self.loads(s)
1146 u = self.loads(s)
1151 u = self.loads(s)
1168 self.loads(badpickle)
1179 y = self.loads(s)
1187 y = self.loads(s)
1219 y = self.loads(s)
1241 y = self.loads(s)
1252 y = self.loads(s)
1262 y = self.loads(s)
1273 y = self.loads(s)
1292 y = self.loads(s)
1316 y = self.loads(s1)
1326 y = self.loads(s2)
1352 y = self.loads(s)
1361 y = self.loads(s)
1374 y = self.loads(s)
1383 y = self.loads(s)
1401 y = self.loads(s) # will raise TypeError if __init__ called
1417 y = self.loads(s) # will raise TypeError if __init__ called
1426 y = self.loads(s)
1438 y = self.loads(s)
1447 y = self.loads(s)
1456 y = self.loads(s)
1465 y = self.loads(s)
1474 y = self.loads(s)
1517 loaded = self.loads(dumped)
1530 y = self.loads(s)
1542 loaded = self.loads(dumped)
1549 unpickled = self.loads(pickled)
1755 self.assertRaises(EOFError, self.module.loads, s)
1791 self.assertEqual(self.loads(self.dumps(L, proto)), L)
1970 res = self.loads(pickled)