Sindbad~EG File Manager
�
(ΜgWB � �V
� e d k7 r ed� �ddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddl
Z
ddlZddlZg d�ZdZdZdZdZej* j- ej* j/ e� � Zej* j- e� Zej* j- e� Zej* j- e� Z G d � d
e� Z G d� de� Z G d
� de� Z G d� de� Z! G d� dejD � Z#d� Z$d� Z%d� Z&dZ'dZ(da)da*dZ+dZ,da-d� Z.d� Z/d� Z0d� Z1d� Z2d�d�Z3d� Z4d� Z5d � Z6d!� Z7d�d"�Z8ddddd#�d$�Z9d�ddddd#�d%�Z: e9d&�'� Z;d(� Z<d)� Z=d*Z>d+Z? ej� eAj� d,� j� d-� d.� ZDd�d/�ZEd�d0�ZFd�d1�ZGd�d2�ZHd3� ZId�d4�ZJd5� ZKe j� d6k( ZMe j� j� d7� ZN eOe d8� ZPe j� d9vrePrd:nd;ZQndZQe j� d<k( ZRe j� d=k( ZS eOed>� xr eR xr eS ZTd?� ZUeR xr eS ZVd@� ZWeR xr eS ZXddA�dB�ZYdZZe j� d6k7 r ej� dC� dCk7 ZZdDZ]dZ^dZ_ej* j� edE� ZadF� Zbd�dG�ZcdH� ZddIeedJefeeegf fdK�Zhd�dddL�dM�ZidN� Zjej� dO� � ZldP� ZmdQ� ZndR� ZodS� Zpej� dT� � ZqdU� ZrdV� ZsdWZtdXZu eOe dY� rdZetz Ztd[Zuetd\z Zvd]� Zwd^� Zxd_� Zyd`ZzdaZ{db� Z|ej� dc� � Z}dd� Z~deZdfez Z�dge�z Z�dhe�z Z�e �j Z�dieedJe�fdj�Z�dieedJdfdk�Z� G dl� dm� Z�d�dn�Z�do� Z�dp� Z�dq� Z�dr� Z�d�ds�Z�dt� Z�du� Z�dv� Z�dw� Z�dx� Z�dy� Z�dz� Z� e�� xr% e j� d6k7 xr e
�j, d{� Z�e��j0 duxr e� Z� ej� e�d|� Z�d}� Z�d~� Z�e �j: e�_� da�d� Z�ej� d�� � Z�ej� d�� � Z�d�� Z�d�� Z� G d�� d�eg� Z�da�d�� Z� G d�� d�� Z�d�� Z�d�d��d��Z� d�d��Z�d�d��Z� G d�� d�� Z�d�� Z�ej� d�� � Z�d�� Z�dd��d��Z�d�� Z�d�d��Z�g fd��Z�da�d�� Z�d�� Z�ej� d�� � Z� G d�� d�� Z�d�� Z� G d�� d�� Z� e�� Z� G d�� d�� Z� e�� Z�e�j~ G d�� d�� � Z� e�� Z�e�j~ G d�� d�� � Z� e« Z�d�� Z�e �j� �j� Z�d�� Z� G d�� d�� Z�dd��d��Z�d�� Z�d�� Z�d�� Z�d�� Z�ej� d�� � Z�d�d��Z�d�eed�eedJegfd��Z�d�egdJdfd��Z�d�� Z�e�j� d�� � Z�ej� d�� � Z� eOe d�� Z�d�� Z�d�d&d��d��Z�d�d�d�d&d��dZ�ej� dÄ � Z�d�Z�e�reSrd�Z�n`d�Z�n]eSrd�Z�nX eOedǫ r# e�j� � �j� d�k( rd�Z�n,e j� j� dʫ rd�Z�n e9d&�'� rd�Z�nd�Z� e�j� eOedǫ xr e�j� � �j� d�k( dΫ Z� e�d�d�h� Z�dф Z�d҄ Z�dӄ Z� G dԄ dի Z�y# e\$ r Y ��%w xY w)�ztest.supportz.support must be imported from the test package� N)Q�
PIPE_MAX_SIZE�verbose�
max_memuse�
use_resources�failfast�Error�
TestFailed�
TestDidNotRun�ResourceDenied�record_original_stdout�get_original_stdout�captured_stdout�captured_stdin�captured_stderr�is_resource_enabled�requires�requires_freebsd_version�requires_linux_version�requires_mac_ver�check_syntax_error�
requires_gzip�requires_bz2�
requires_lzma�
bigmemtest�bigaddrspacetest�cpython_only�
get_attribute�requires_IEEE_754�
requires_zlib�has_fork_support�
requires_fork�has_subprocess_support�requires_subprocess�has_socket_support�requires_working_socket�anticipate_failure�load_package_tests�detect_api_mismatch�check__all__�skip_if_buggy_ucrt_strfptime�check_disallow_instantiation�check_sanitizer�skip_if_sanitizer�requires_limited_api�requires_specialization�
MS_WINDOWS� is_jython�
is_android�
is_emscripten�is_wasi�check_impl_detail�
unix_shell�setswitchinterval�get_pagesize�open_urlresource�
reap_children�run_with_locale� swap_item�findfile�infinite_recursion� swap_attr�Matcher�set_memlimit�SuppressCrashReport�sortdict�run_with_tz�PGO�missing_compiler_executable� ALWAYS_EQ�NEVER_EQ�LARGEST�SMALLEST�LOOPBACK_TIMEOUT�INTERNET_TIMEOUT�
SHORT_TIMEOUT�LONG_TIMEOUT�Py_DEBUG�EXCEEDS_RECURSION_LIMIT�C_RECURSION_LIMIT�
skip_on_s390x�
BrokenIterg $@g N@g >@g �r@c � � e Zd Zy)r N��__name__�
__module__�__qualname__� � �2/usr/local/lib/python3.12/test/support/__init__.pyr r l s � �4rZ r c �, � � e Zd Z dd�� fd�
Zd� Z� xZS )r N��statsc �B �� || _ || _ t �| � |g|��� y �N)�msgr^ �super�__init__)�selfra r^ �args� __class__s �r[ rc zTestFailed.__init__q s# �� ������
�
����$�t�$rZ c � � | j S r` )ra �rd s r[ �__str__zTestFailed.__str__v s � ��x�x�rZ )rV rW rX rc ri �
__classcell__�rf s @r[ r r o s �� ��)-� %�
rZ r c � � � e Zd Z � fd�Z� xZS )�TestFailedWithDetailsc �H �� || _ || _ t �| �
||||�� y )Nr] )�errors�failuresrb rc )rd ra ro rp r^ rf s �r[ rc zTestFailedWithDetails.__init__{ s'