B
    Ûö›\$  ã               @   sX   d Z ddlZddlZddlZddlmZ ej e¡p8ej	Z
dd„ ZedkrTeeƒ ƒ dS )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_unittestc              C   sd   t  ¡ } xVt t¡D ]H}| d¡r| d¡rd|d d…  }t|ƒ tj	| }|  
| ¡ ¡ qW | S )NZtestz.pyzdistutils.tests.éýÿÿÿ)ÚunittestZ	TestSuiteÚosÚlistdirÚhereÚ
startswithÚendswithÚ
__import__ÚsysÚmodulesZaddTestÚ
test_suite)ZsuiteÚfnÚmodnameÚmodule© r   ú)lib/python3.7/distutils/tests/__init__.pyr      s    
r   Ú__main__)Ú__doc__r   r   r   Ztest.supportr   ÚpathÚdirnameÚ__file__Úcurdirr   r   Ú__name__r   r   r   r   Ú<module>   s   