Your IP : 216.73.216.213
�
�#�j�O � ��
� d Z edk7 r ed� �ddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZg d�ZdZdZdZd Zej, j/ ej, j1 e� � Zej, j/ e� Zej, j/ e� Zej, j/ e� Z G d
� de� Z G d� d
e� Z G d� de � Z! G d� de� Z" G d� dejF � Z$d� Z%d� Z&d� Z'dZ(dZ)da*da+dZ,dZ-da.d� Z/d� Z0d� Z1d� Z2d� Z3d�d�Z4d�d�Z5d � Z6d!� Z7d"� Z8d#� Z9d�d$�Z:ddddd%�d&�Z;d�ddddd%�d'�Z< e;d(�)� Z=d*� Z>d+� Z?d,Z@d-ZA ej� eCj� d.� j� d/� d0� ZFd�d1�ZGd�d2�ZHd�d3�ZId�d4�ZJd5� ZKd�d6�ZLd7� ZMe
j� d8k( ZOe
j� j� d9� ZP eQe
d:� ZRe
j� d;vreRrd<nd=ZSndZSe
j� d>k( ZTe
j� d?k( ZUe
j� d@v ZVeVxs e
j� dAk( ZW eQedB� xr eTxs eUxs eV ZXdC� ZYeTxs eUxs eV ZZdD� Z[eTxs eU Z\ddE�dF�Z]dZ^e
j� d8k7 r e
j� dG� dGk7 Z^dHZadZbdZcej, j� edI� ZedJ� Zfd�dK�ZgdL� ZhdMeidNejeiekf fdO�Zld�dddP�dQ�ZmdR� Znej� dS� � ZpdT� ZqdU� ZrdV� ZsdW� Ztej� dX� � ZudY� ZvdZ� Zwd[Zxd\Zy eQe
d]� rd^exz Zxd_Zyexd`z Zzda� Z{db� Z|dc� Z}ddZ~deZdf� Z�ddg�dh�Z�ej� di� � Z�dj� Z�dk� Z�dlZ�dme�z Z�dne�z Z�doe�z Z�e
�j Z�dpeidNe�fdq�Z�dpeidNdfdr�Z� G ds� dt� Z�d�du�Z�dv� Z�dw� Z�dx� Z�dy� Z�d�dz�Z�d{� Z�d|� Z�d}� Z�d~� Z�d� Z�d�� Z�d�� Z� e�� xr% e
j� d8k7 xr e�j8 d�� Z�e�j duxr e� Z� ej� e�d�� Z�d�� Z�d�� Z�e
�jD e�_� da�d�� Z�ej� d�� � Z�ej� d�� � Z�d�� Z�d�� Z� G d�� d�ek� 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�e�d�v sJ �d�� Z� G d�� d�� Z�dd��d��Z�d�� Z�d�� Z�d�� Z�d�� Z�ej� d�� � Z�d�d��Z�d�eid�eidNekfd��Z�d�ekdNdfd��Z�d�� Z�e�j� d�� � Z�ej� d � Z� eQe
dë Z�dĄ Z�d�d(dŜdƄZ�d�d�d�d(dɜdʄZ�ej� d˄ � Z�d�Z�e�reUrd�Z�n`d�Z�n]eUrd�Z�nX eQedϫ r# e�j� � �j� d�k( rd�Z�n,e
j� j� dҫ rd�Z�n e;d(�)� rd�Z�nd�Z� eQedϫ xr e�j� � �j� d�k( Z� e�j� e�d֫ Z� e�d�d�h� Z�dل Z�dڄ Z�dۄ Z� G d܄ dݫ Z�dNe�ei fdބZ�y# e`$ r Y ��>w xY w)�z7Supporting definitions for the Python regression tests.ztest.supportz.support must be imported from the test package� N)R�
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�is_apple_mobile�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 ZdZy)r z*Base class for regression test exceptions.N��__name__�
__module__�__qualname__�__doc__� � �</opt/alt/python312/lib64/python3.12/test/support/__init__.pyr r l s � �4r\ r c �. � � e Zd ZdZdd�� fd�
Zd� Z� xZS )r �Test failed.N��statsc �B �� || _ || _ t �| � |g|��� y �N)�msgra �super�__init__)�selfrd ra �args� __class__s �r] rf zTestFailed.__init__q s# �� ������
�
����$�t�$r\ c � � | j S rc )rd �rg s r] �__str__zTestFailed.__str__v s � ��x�x�r\ )rW rX rY rZ rf rl �
__classcell__�ri s @r] r r o s �� ��)-� %�
r\ r c �"