Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /lib/python3.12/test/support/__pycache__/ |
Upload File : |
� )!�h� � �� � d Z ddlZddlZddlZddlmZmZmZ e� Z G d� dej � Z G d� dej � Z G d� d e� Z G d � de� Z G d� d e� Zy)zGbytecode_helper - support tools for testing correct bytecode generation� N)�compiler_codegen�optimize_cfg�assemble_code_objectc �* � e Zd ZdZd� Zefd�Zefd�Zy)�BytecodeTestCasez1Custom assertion methods for inspecting bytecode.c �x � t j � }t j ||�� |j � S )N)�file)�io�StringIO�dis�getvalue)�self�co�ss �3/usr/lib/python3.12/test/support/bytecode_helper.py�get_disassembly_as_stringz*BytecodeTestCase.get_disassembly_as_string s'