ó
ĚjWc           @   sş   d  d l  Z  d  d l Z d  d l Z d  d l Z e  j j e  Z d   Z d   Z	 d   Z
 e d k rś e j j d e  j j e  j j e  j j e  j j e      e
   n  d S(   i˙˙˙˙Nc          C   s   t    }  t j   } xs t j t  D]b } | j d  r% | j d  r% d | d  } t |  t	 j
 | } |  j | j |   q% q% W|  S(   Nt   tests   .pys   json.tests.iý˙˙˙(   t   additional_testst   unittestt
   TestLoadert   ost   listdirt   heret
   startswitht   endswitht
   __import__t   syst   modulest   addTestst   loadTestsFromModule(   t   suitet   loadert   fnt   modnamet   module(    (    sE   /home/wilkie/.pyenv/versions/2.7/lib/python2.7/json/tests/__init__.pyt
   test_suite   s    	
c          C   sj   d d  l  }  d d  l }  d d  l }  t j   } x3 |  |  j |  j f D] } | j t j	 |   qF W| S(   Ni˙˙˙˙(
   t   jsont   json.encodert   json.decoderR   t	   TestSuitet   encodert   decodert   addTestt   doctestt   DocTestSuite(   R   R   t   mod(    (    sE   /home/wilkie/.pyenv/versions/2.7/lib/python2.7/json/tests/__init__.pyR      s    c          C   s&   t    }  t j   } | j |   d  S(   N(   R   R   t   TextTestRunnert   run(   R   t   runner(    (    sE   /home/wilkie/.pyenv/versions/2.7/lib/python2.7/json/tests/__init__.pyt   main   s    	t   __main__i    (   R   R
   R   R   t   patht   dirnamet   __file__R   R   R   R!   t   __name__t   insertt   abspath(    (    (    sE   /home/wilkie/.pyenv/versions/2.7/lib/python2.7/json/tests/__init__.pyt   <module>   s   				C