HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/idlelib/idle_test/__pycache__/test_pyshell.cpython-37.opt-2.pyc
B

!��g{�@shddlmZddlZddlmZddlmZGdd�dej�ZGdd�dej�Z	e
d	krdejd
d�dS)�)�pyshellN)�requires)�Tkc@seZdZdd�Zdd�ZdS)�FunctionTestc
Cs�|j}xxdD]p\}}}d}|d}|j||d��F|p8d}t�||�}|t|�|�||||�d|�d|���WdQRXqWdS)N))��r)Zfiname��=�<r	)�file�barZShellz
 RESTART: � )�assertEqual�subTestr�restart_line�len)�self�eqr�mulZextra�widthr�line�r�:/usr/local/lib/python3.7/idlelib/idle_test/test_pyshell.py�test_restart_line_wide
sz#FunctionTest.test_restart_line_widec
Cspd\}}xF|d||dfD]0}|j|d��|�t�|d�|�WdQRXqW|�t�|dd�|d�dS)N)z= RESTART: Shell��)rr�z =)rrrr)r�expectZtaglenrrrr�test_restart_line_narrows
"z%FunctionTest.test_restart_line_narrowN)�__name__�
__module__�__qualname__rrrrrrr
src@s,eZdZedd��Zedd��Zdd�ZdS)�PyShellFileListTestcCstd�t�|_|j��dS)NZgui)rr�rootZwithdraw)�clsrrr�
setUpClass"szPyShellFileListTest.setUpClasscCs|j��|`dS)N)r#Zdestroy)r$rrr�
tearDownClass(s
z!PyShellFileListTest.tearDownClasscCs,t�|j�}|�|jtj�|�|j�dS)N)rZPyShellFileListr#rZEditorWindowZPyShellEditorWindowZassertIsNone)rZpsflrrr�	test_init0szPyShellFileListTest.test_initN)rr r!�classmethodr%r&r'rrrrr" sr"�__main__r)�	verbosity)ZidlelibrZunittestZtest.supportrZtkinterrZTestCaserr"r�mainrrrr�<module>s