%PDF- %PDF-
Direktori : /usr/lib/python3.12/test/support/__pycache__/ |
Current File : //usr/lib/python3.12/test/support/__pycache__/__init__.cpython-312.pyc |
� ���f�8 � �< � 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� Z5d � Z6d!� Z7d"� Z8d�d#�Z9ddddd$�d%�Z:d�ddddd$�d&�Z; e:d'�(� Z<d)� Z=d*� Z>d+Z?d,Z@ ej� eBj� d-� j� d.� d/� ZEd�d0�ZFd�d1�ZGd�d2�ZHd�d3�ZId4� ZJd�d5�ZKd6� ZLe j� d7k( ZNe j� j� d8� ZO ePe d9� ZQe j� d:vreQrd;nd<ZRndZRe j� d=k( ZSe j� d>k( ZT ePed?� xr eS xr eT ZUd@� ZVeS xr eT ZWdA� ZXeS xr eT ZYddB�dC�ZZdZ[e j� d7k7 r e j� dD� dDk7 Z[dEZ^dZ_dZ`ej, j� edF� ZbdG� Zcd�dH�ZddI� ZedJefdKegefehf fdL�Zid�dddM�dN�ZjdO� Zkej� dP� � ZmdQ� ZndR� ZodS� ZpdT� Zqej� dU� � ZrdV� ZsdW� ZtdXZudYZv ePe dZ� rd[euz Zud\Zveud]z Zwd^� Zxd_� Zyd`ZzdaZ{db� Z|ej� dc� � Z}dd� Z~deZdfez Z�dge�z Z�dhe�z Z�e �j Z�diefdKe�fdj�Z�diefdKdfdk�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� d7k7 xr e�j, d{� 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�eh� 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�efd�efdKehfd��Z�d�ehdKdfd��Z�d�� Z�e�j� d�� � Z�ej� d�� � Z� ePe d�� Z�d�� Z�d�d'd��d��Z�d�d�d�d'ddÄZ�ej� dĄ � Z�d�Z�e�reTrd�Z�n`d�Z�n]eTrd�Z�nX ePedȫ r# e�j� � �j� d�k( rd�Z�n,e j� j� d˫ rd�Z�n e:d'�(� rd�Z�nd�Z� e�j� ePedȫ xr e�j� � �j� d�k( dϫ Z� e�d�d�h� Z�d҄ 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)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 ZdZy)r z*Base class for regression test exceptions.N��__name__� __module__�__qualname__�__doc__� � �,/usr/lib/python3.12/test/support/__init__.pyr r k s � �4rZ r c �. � � e Zd ZdZdd�� fd� Zd� Z� xZS )r �Test failed.N��statsc �B �� || _ || _ t �| � |g|��� y �N)�msgr_ �super�__init__)�selfrb r_ �args� __class__s �r[ rd zTestFailed.__init__p s# �� ������ � ����$�t�$rZ c � � | j S ra )rb �re s r[ �__str__zTestFailed.__str__u s � ��x�x�rZ )rU rV rW rX rd rj � __classcell__�rg s @r[ r r n s �� ��)-� %� rZ r c �"