Current File : //usr/local/apps/python3/lib/python3.11/distutils/tests/__pycache__/__init__.cpython-311.pyc |
�
�Keh � � � d Z ddlZddlZddlZddlmZ ddlmZ ej � e
� � pej Zd� Z
edk r e e
� � � � dS dS )a Test suite for distutils.
This test suite consists of a collection of test modules in the
distutils.tests package. Each test module has a name starting with
'test' and contains a function test_suite(). The function is expected
to return an initialized unittest.TestSuite instance.
Tests for the command classes in the distutils.command package are
included in distutils.tests as well, instead of using a separate
distutils.command.tests package, since command identification is done
by import rather than matching pre-defined names.
� N)�run_unittest)�save_restore_warnings_filtersc � � t j � � } t j t � � D ]�}|� d� � r�|� d� � r{d|d d� z }t � � 5 t |� � d d d � � n# 1 swxY w Y t j
| }| � |� � � � � ��| S )N�testz.pyzdistutils.tests.���)
�unittest� TestSuite�os�listdir�here�
startswith�endswithr �
__import__�sys�modules�addTest�
test_suite)�suite�fn�modname�modules �B/usr/local/apps/python3/lib/python3.11/distutils/tests/__init__.pyr r s � ��� � �E��j���� /� /��
�=�=�� � � /�R�[�[��%7�%7� /�(�2�c�r�c�7�2�G� /�0�0�
$�
$��7�#�#�#�
$�
$�
$�
$�
$�
$�
$�
$�
$�
$�
$����
$�
$�
$�
$��[��)�F��M�M�&�+�+�-�-�.�.�.���Ls �4B�B �B �__main__)�__doc__r
r r �test.supportr �test.support.warnings_helperr �path�dirname�__file__�curdirr r �__name__� � r �<module>r$ s� ��� �
� � � �
�
�
�
� ���� %� %� %� %� %� %� F� F� F� F� F� F�
�w���x� � �-�B�I��� � � �z����L���������� �r#