Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_peepholer.py15 self.assertInBytecode(unot, 'POP_JUMP_IF_TRUE')
25 self.assertInBytecode(code, 'COMPARE_OP', cmp_op)
42 self.assertInBytecode(func, 'LOAD_CONST', elem)
49 self.assertInBytecode(f, 'LOAD_CONST', None)
60 self.assertInBytecode(f, elem)
69 self.assertInBytecode(code, elem)
82 self.assertInBytecode(code, 'LOAD_CONST', elem)
119 self.assertInBytecode(code, 'LOAD_CONST', elem)
133 self.assertInBytecode(code, 'LOAD_CONST', elem)
168 self.assertInBytecode(code, 'LOAD_CONST', elem)
[all …]
Dbytecode_helper.py17 def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): member in BytecodeTestCase