Searched refs:opcode_in_pickle (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | pickletester.py | 80 def opcode_in_pickle(code, pickle): function 1181 self.assertEqual(opcode_in_pickle(pickle.LONG1, s), proto >= 2) 1189 self.assertEqual(opcode_in_pickle(pickle.LONG4, s), proto >= 2) 1222 self.assertEqual(opcode_in_pickle(expected, s), True) 1244 self.assertEqual(opcode_in_pickle(expected, s), True) 1314 self.assertEqual(opcode_in_pickle(opcode, s1), False) 1324 self.assertEqual(opcode_in_pickle(opcode, s2), True) 1400 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s), proto >= 2) 1416 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s), proto >= 2) 1548 self.assertTrue(opcode_in_pickle(opcode, pickled))
|
/external/python/cpython3/Lib/test/ |
D | pickletester.py | 53 def opcode_in_pickle(code, pickle): function 1691 self.assertTrue(opcode_in_pickle(pickle.GLOBAL, p)) 1694 self.assertTrue(opcode_in_pickle(pickle.STACK_GLOBAL, p)) 1697 self.assertTrue(opcode_in_pickle(pickle.BYTEARRAY8, p)) 1844 self.assertEqual(opcode_in_pickle(pickle.LONG1, s), proto >= 2) 1852 self.assertEqual(opcode_in_pickle(pickle.LONG4, s), proto >= 2) 1891 self.assertTrue(opcode_in_pickle(expected, s)) 1916 self.assertTrue(opcode_in_pickle(expected, s)) 2007 self.assertFalse(opcode_in_pickle(opcode, s1)) 2016 self.assertEqual(opcode_in_pickle(opcode, s2), True, repr(s2)) [all …]
|