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/tkinter/test/__pycache__/runtktests.cpython-37.opt-2.pyc
B

��g��@shddlZddlZddlZej�ej�e��Zdd�Z	eddfdd�Z
d
dd�Zed	krdej
je��dS)�NcCs$xt�|�D]}|dkrdSqWdS)N)z__init__.pyz__init__.pycTF)�os�listdir)�path�name�r�3/usr/local/lib/python3.7/tkinter/test/runtktests.py�
is_packagesrTc	
#s�d�x�t�|�D]�\}}}x&t|�D]}|ddkr$|�|�q$Wt|�r|r|t|�ttj�d��dd�}|r~||kr~qt�fdd�|�}xT|D]L}y(t	�
d||dt���fd�VWq�tjj
k
r�|r܂Yq�Xq�WqWdS)	Nz.pyr�.�/cs|�d�o|���S)NZtest_)�
startswith�endswith)�x)�py_extrr�<lambda>)�z#get_tests_modules.<locals>.<lambda>z.%s.%sztkinter.test)r�walk�list�remover�len�sep�replace�filter�	importlib�
import_module�test�supportZResourceDenied)	Zbasepath�gui�packages�dirpathZdirnames�	filenames�dirnameZpkg_namerr)rr�get_tests_moduless("

r!ccsdg}|r|�d�|r |�d�x>t||d�D].}x(|D] }xt||d�D]
}|VqJWq8Wq.WdS)NZtests_noguiZ	tests_gui)rrr)�appendr!�getattr)�textrrZattrs�module�attrrrrr�	get_tests5s


r'�__main__)TTN)rrZtest.supportrr�abspathr �__file__Z
this_dir_pathrr!r'�__name__rZrun_unittestrrrr�<module>	s