Searched refs:assertInBytecode (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_peepholer.py | 79 self.assertInBytecode(unot, 'POP_JUMP_IF_TRUE') 91 self.assertInBytecode(code, cmp_op, invert) 110 self.assertInBytecode(func, 'LOAD_CONST', elem) 118 self.assertInBytecode(f, 'RETURN_CONST', None) 130 self.assertInBytecode(f, elem) 141 self.assertInBytecode(code, elem) 156 self.assertInBytecode(code, 'LOAD_CONST', elem) 197 self.assertInBytecode(code, 'LOAD_CONST', elem) 213 self.assertInBytecode(code, 'LOAD_CONST', elem) 252 self.assertInBytecode(code, 'LOAD_CONST', elem) [all …]
|
D | test_dis.py | 2147 self.assertInBytecode(code, "LOAD_CONST", 1) 2153 self.assertInBytecode(code, "LOAD_CONST") 2154 self.assertInBytecode(code, "LOAD_CONST", 1)
|
/external/python/cpython3/Lib/test/support/ |
D | bytecode_helper.py | 34 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): member in BytecodeTestCase
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 1259 .. method:: BytecodeTestCase.assertInBytecode(x, opname, argval=_UNSPECIFIED)
|