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_iomenu.cpython-37.pyc
B

!��g��@sfdZddlmZddlZddlmZddlmZddlm	Z	Gdd�dej
�Zed	krbej
d
d�dS)zTest , coverage 17%.�)�iomenuN)�requires)�Tk)�EditorWindowc@s4eZdZedd��Zedd��Zdd�Zdd�Zd	S)
�
IOBindingTestcCs:td�t�|_|j��t|jd�|_t�|j�|_dS)NZgui)�root)	rrrZwithdrawr�editwinrZ	IOBinding�io)�cls�r�9/usr/local/lib/python3.7/idlelib/idle_test/test_iomenu.py�
setUpClasss

zIOBindingTest.setUpClasscCsZ|j��|j��|`|j��x$|jj�dd�D]}|j�|�q4W|j�	�|`dS)NZafter�info)
r	�closerZ_closerZupdate_idletasksZtkZcallZafter_cancelZdestroy)r
�idrrr�
tearDownClasss



zIOBindingTest.tearDownClasscCs|�|jj|j�dS)N)ZassertIsr	r)�selfrrr�	test_initszIOBindingTest.test_initcCsz|j}|j}|j}|jj}d|j_||�d�|j`|�dd�||�d|j�||�dd�d�||�d|j�dS)N�g�?�az1.0zend-1cza
)	ZassertEqualr	Zfixnewlinesr�textZinterp�insertZeol_convention�get)r�eqr	Zfixrrrr�test_fixnewlines_end"sz"IOBindingTest.test_fixnewlines_endN)�__name__�
__module__�__qualname__�classmethodr
rrrrrrrr
sr�__main__�)�	verbosity)�__doc__ZidlelibrZunittestZtest.supportrZtkinterrZidlelib.editorrZTestCaserr�mainrrrr�<module>s&