ó
]c           @   s#  d  Z  d d l Z d d l Z d d l Z d d l Z d d l m Z e j   Z e j	 j
 e j	 j e  d d  Z g  e j e  D]1 Z e j d  r e j d  r e d	 d
 !^ q Z e j   Z xS e D]K Z e d e   e   e g d d e   e Z e j e j e   qĐ Wd S(   s¤   Make tests/ into a package. This allows us to "import tests" and
have tests.all_tests be a TestSuite representing all test cases
from all test_*.py files in tests/.i˙˙˙˙Ni   (   t   supports   ..t   testst   test_s   .pyi    iý˙˙˙t    t   level(   t   __doc__t   ost   os.patht   unittestt   typesR   R    t	   TestSuitet	   all_testst   patht   joint   dirnamet   __file__t	   tests_dirt   listdirt   tt
   startswitht   endswithR   t
   TestLoadert   loadert
   __import__t   globalst   localst   modt   addTestst   loadTestsFromModule(    (    (    s'   lib/python2.7/lib2to3/tests/__init__.pyt   <module>   s   $1"