Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_peepholer.py64 self.assertInBytecode(unot, 'POP_JUMP_IF_TRUE')
75 self.assertInBytecode(code, cmp_op, invert)
93 self.assertInBytecode(func, 'LOAD_CONST', elem)
101 self.assertInBytecode(f, 'LOAD_CONST', None)
113 self.assertInBytecode(f, elem)
123 self.assertInBytecode(code, elem)
137 self.assertInBytecode(code, 'LOAD_CONST', elem)
177 self.assertInBytecode(code, 'LOAD_CONST', elem)
192 self.assertInBytecode(code, 'LOAD_CONST', elem)
230 self.assertInBytecode(code, 'LOAD_CONST', elem)
[all …]
Dtest_dis.py1253 self.assertInBytecode(code, "LOAD_CONST", 1)
1259 self.assertInBytecode(code, "LOAD_CONST")
1260 self.assertInBytecode(code, "LOAD_CONST", 1)
/third_party/python/Lib/test/support/
Dbytecode_helper.py17 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): member in BytecodeTestCase
/third_party/python/Doc/library/
Dtest.rst1202 .. method:: BytecodeTestCase.assertInBytecode(x, opname, argval=_UNSPECIFIED)