Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_peepholer.py79 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 …]
Dtest_dis.py2147 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/
Dbytecode_helper.py34 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): member in BytecodeTestCase
/external/python/cpython3/Doc/library/
Dtest.rst1259 .. method:: BytecodeTestCase.assertInBytecode(x, opname, argval=_UNSPECIFIED)