Lines Matching refs:opcode_in_pickle
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))
2117 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s),
2119 self.assertFalse(opcode_in_pickle(pickle.NEWOBJ_EX, s))
2137 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s),
2139 self.assertFalse(opcode_in_pickle(pickle.NEWOBJ_EX, s))
2157 self.assertFalse(opcode_in_pickle(pickle.NEWOBJ, s))
2158 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ_EX, s),
2303 self.assertFalse(opcode_in_pickle(pickle.LONG, p))
2307 self.assertTrue(opcode_in_pickle(opcode, pickled))