module documentation

Tests for vm.py. To create test cases, you can disassemble source code with the help of the dis module. For example, in Python 3.7, this snippet: import dis import opcode def f(): return None bytecode = dis.Bytecode(f) for x in bytecode.codeobj.co_code: print(f'{x} ({opcode.opname[x]})') prints: 100 (LOAD_CONST) 0 (<0>) 83 (RETURN_VALUE) 0 (<0>)

Class AnnotationsTest Tests for recording annotations.
Class TraceTest Tests for opcode tracing in the VM.
Class TraceVM Special VM that remembers which instructions it executed.
Class TraceVmTestBase Base for VM tests with a tracer vm.
Class VmTestBase Base for VM tests.