|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/test/__pycache__/ |
U
>��g� � @ sV d dl Z d dlZd dlZd dlmZ d dlmZ G dd� dej�Ze dkrRe�
� dS )� N)�support)�assert_python_okc @ s e Zd Zdd� ZdS )�TestLLTracec C sF t tjd��0}| �tjtj� |�t�d�� t tj� W 5 Q R X d S )N�wz� import code
console = code.InteractiveConsole()
console.push('__ltrace__ = 1')
console.push('a = [1, 2, 3]')
console.push('a[0] = 1')
print('unreachable if bug exists')
)
�openr ZTESTFNZ
addCleanup�os�unlink�write�textwrap�dedentr )�self�fd� r �0/opt/cppython/lib/python3.8/test/test_lltrace.py�1test_lltrace_does_not_crash_on_subscript_operator s
z=TestLLTrace.test_lltrace_does_not_crash_on_subscript_operatorN)�__name__�
__module__�__qualname__r r r r r r s r �__main__)r r
Zunittest�testr Ztest.support.script_helperr ZTestCaser r �mainr r r r �<module> s