관리-도구
편집 파일: test.pyc
� �fc @ s: d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z m Z m Z m Z m Z m Z m Z m Z m Z d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( i����N( t DistutilsErrort DistutilsOptionError( t log( t TestLoader( t six( t mapt filter( t resource_listdirt resource_existst normalize_patht working_sett _namespace_packagest evaluate_markert add_activation_listenert requiret EntryPoint( t Commandt ScanningLoaderc B s e Z d � Z d d � Z RS( c C s t j | � t � | _ d S( N( R t __init__t sett _visited( t self( ( s; /usr/lib/python2.7/site-packages/setuptools/command/test.pyR s c C s7 | | j k r d S| j j | � g } | j t j | | � � t | d � rg | j | j � � n t | d � rx� t | j d � D]| } | j d � r� | d k r� | j d | d } n- t | j | d � r� | j d | } n q� | j | j | � � q� Wn t | � d k r+| j | � S| d Sd S( s Return a suite of all tests cases contained in the given module If the module is a package, load tests from all the modules in it. If the module has an ``additional_tests`` function, call it and add the return value to the tests. t additional_testst __path__t s .pys __init__.pyt .i����s /__init__.pyi i N( R t Nonet addt appendR t loadTestsFromModulet hasattrR R t __name__t endswithR t loadTestsFromNamet lent suiteClass( R t modulet patternt testst filet submodule( ( s; /usr/lib/python2.7/site-packages/setuptools/command/test.pyR s$ N( R t __module__R R R ( ( ( s; /usr/lib/python2.7/site-packages/setuptools/command/test.pyR s t NonDataPropertyc B s e Z d � Z d d � Z RS( c C s | | _ d S( N( t fget( R R+ ( ( s; /usr/lib/python2.7/site-packages/setuptools/command/test.pyR >