PyDocs

Nav

Development Tools

BytecodeTestCase

  • BytecodeTestCase(unittest.TestCase)
This class has custom assertion methods for inspecting bytecode.
Members of BytecodeTestCase

a

assertInBytecode
Return instr if opname is found, otherwise throws AssertionError.
assertNotInBytecode
Throws AssertionError if opname is found.

g

get_disassembly_as_string
Return the disassembly of co as string.
0 Examples
No examples for test.support.bytecode_helper/BytecodeTestCase.
See Also
No see-alsos for test.support.bytecode_helper/BytecodeTestCase
0 Notes
No notes for BytecodeTestCase