Your IP : 216.73.216.213
��Yf$ � @ s~ d Z d d l Z d d l Z d d l Z d d l m Z e j j e � pR e j Z
d d � Z e d k rz e 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 s� t j � } xs t j t � D]b } | j d � r | j d � r d | d d � } t | � t j | } | j
| j � � q W| S)NZtestz.pyzdistutils.tests.� ���)�unittestZ TestSuite�os�listdir�here�
startswith�endswith�
__import__�sys�modulesZaddTest�
test_suite)Zsuite�fn�modname�module� r �=/opt/alt/python35/lib64/python3.5/distutils/tests/__init__.pyr s
r �__main__)
�__doc__r r r Ztest.supportr �path�dirname�__file__�curdirr r �__name__r r r r �<module>
s