Home
last modified time | relevance | path

Searched refs:assertInBytecode (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_peepholer.py81 self.assertInBytecode(unot, 'POP_JUMP_FORWARD_IF_TRUE')
93 self.assertInBytecode(code, cmp_op, invert)
112 self.assertInBytecode(func, 'LOAD_CONST', elem)
120 self.assertInBytecode(f, 'LOAD_CONST', None)
132 self.assertInBytecode(f, elem)
143 self.assertInBytecode(code, elem)
158 self.assertInBytecode(code, 'LOAD_CONST', elem)
199 self.assertInBytecode(code, 'LOAD_CONST', elem)
215 self.assertInBytecode(code, 'LOAD_CONST', elem)
254 self.assertInBytecode(code, 'LOAD_CONST', elem)
[all …]
Dtest_dis.py1729 self.assertInBytecode(code, "LOAD_CONST", 1)
1735 self.assertInBytecode(code, "LOAD_CONST")
1736 self.assertInBytecode(code, "LOAD_CONST", 1)
/aosp_15_r20/external/python/cpython3/Lib/test/support/
Dbytecode_helper.py17 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): member in BytecodeTestCase
/aosp_15_r20/external/python/cpython3/Doc/library/
Dtest.rst1228 .. method:: BytecodeTestCase.assertInBytecode(x, opname, argval=_UNSPECIFIED)