|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/distutils/tests/__pycache__/ |
U
@��g@ � @ s\ d Z ddlZddlZddlZddlmZmZ ej�e �p<ej
Zdd� Ze
dkrXee� � 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
C sr t �� } t�t�D ]Z}|�d�r|�d�rd|d d� }t� � t|� W 5 Q R X t j
| }| �|�� � q| S )N�testz.pyzdistutils.tests.���)
�unittestZ TestSuite�os�listdir�here�
startswith�endswithr �
__import__�sys�modulesZaddTest�
test_suite)Zsuite�fn�modname�module� r �7/opt/cppython/lib/python3.8/distutils/tests/__init__.pyr s
r �__main__)�__doc__r r
r Ztest.supportr r �path�dirname�__file__�curdirr r �__name__r r r r �<module> s