ok
Direktori : /proc/self/root/usr/lib64/python2.7/site-packages/simplejson/tests/ |
Current File : //proc/self/root/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyo |
� �/HYc @@ s d d l m Z d d l Z d d l Z d d l Z d d l Z d e j f d � � YZ d e j f d � � YZ d d � Z d � Z d � Z e d k rd d l Z d d l Z e j j d e j j e j j e j j e j j e � � � � � e � n d S( i ( t absolute_importNt NoExtensionTestSuitec B@ s e Z d � Z RS( c C@ s? d d l } | j t � t j j | | � } | j t � | S( Ni ( t simplejsont _toggle_speedupst Falset unittestt TestSuitet runt True( t selft resultR ( ( s? /usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyR s ( t __name__t __module__R ( ( ( s? /usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyR s t TestMissingSpeedupsc B@ s e Z d � Z RS( c C@ s5 t t d � r n t | d � r1 | j d � n d S( Nt pypy_translation_infot skipTests _speedups.so is missing!( t hasattrt sysR ( R ( ( s? /usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyt runTest s ( R R R ( ( ( s? /usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyR s c C@ s� d d l } d d l } d d l } | d k r? t j � } n x3 | | j | j f D] } | j t j | � � qU W| j t j d � � | S( Ni s ../../index.rst( R t simplejson.encodert simplejson.decodert NoneR R t encodert decodert addTestt doctestt DocTestSuitet DocFileSuite( t suiteR t mod( ( s? /usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyt additional_tests s c C@ sh d � } | � } d d l } | j � d k rC | j t � � n! t j | t | � g � g � } | S( Nc S@ s| g t j t j j t � � D]A } | j d � r | j d � r d t j j | � d f ^ q } t t j � j | � � S( Nt test_s .pys simplejson.tests.%si ( t ost listdirt patht dirnamet __file__t startswitht endswitht splitextR R t TestLoadert loadTestsFromNames( t ft suite_names( ( s? /usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyt get_suite&