File: //opt/alt/python312/lib64/python3.12/test/support/__pycache__/__init__.cpython-312.opt-2.pyc
�
�h�ep6 � �b � 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"�Z8dddd#�d$�Z9d�dddd#�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`Zzda� Z{ej� db� � Z|dc� Z}ddZ~dee~z Zdfez Z�dgez Z�e �j Z�dheedJe�fdi�Z�dheedJdfdj�Z� G dk� dl� Z�d�dm�Z�dn� Z�do� Z�dp� Z�dq� Z�d�dr�Z�ds� Z�dt� Z�du� Z�dv� Z�dw� Z�dx� Z�dy� Z� e�� xr% e j� d6k7 xr e
�j* dz� Z�e��j. duxr e� Z� ej� e�d{� Z�d|� Z�d}� Z�e �j8 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��d��Z�ej� d � Z�d�Z�d�Z� e�j� eOedū xr e�j� � �j� d�k( dǫ Z� e�d�d�h� Z�dʄ Z�y# e\$ r Y ���w xY w)�ztest.supportz.support must be imported from the test package� N)P�
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_s390xg $@g N@g >@g �r@c � � e Zd Zy)r N��__name__�
__module__�__qualname__� � �</opt/alt/python312/lib64/python3.12/test/support/__init__.pyr r k s � �4rY r c �, � � e Zd Z dd�� fd�
Zd� Z� xZS )r N��statsc �B �� || _ || _ t �| � |g|��� y �N)�msgr] �super�__init__)�selfr` r] �args� __class__s �rZ rb zTestFailed.__init__p s# �� ������
�
����$�t�$rY c � � | j S r_ )r` �rc s rZ �__str__zTestFailed.__str__u s � ��x�x�rY )rU rV rW rb rh �
__classcell__�re s @rZ r r n s �� ��)-� %�
rY r c � � � e Zd Z � fd�Z� xZS )�TestFailedWithDetailsc �H �� || _ || _ t �| �
||||�� y )Nr\ )�errors�failuresra rb )rc r` rn ro r] re s �rZ rb zTestFailedWithDetails.__init__z s'