/HYc@@sddlmZddlZddlZddlZddlZdejfdYZdejfdYZ ddZ dZ d Z ed krddlZddlZejjdejjejjejjejjee ndS( i(tabsolute_importNtNoExtensionTestSuitecB@seZdZRS(cC@s?ddl}|jttjj||}|jt|S(Ni(t simplejsont_toggle_speedupstFalsetunittestt TestSuitetruntTrue(tselftresultR((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__.pyRstTestMissingSpeedupscB@seZdZRS(cC@s5ttdrnt|dr1|jdndS(Ntpypy_translation_infotskipTests_speedups.so is missing!(thasattrtsysR(R ((s?/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pytrunTests(R R R(((s?/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyR scC@sddl}ddl}ddl}|dkr?tj}nx3||j|jfD]}|jt j |qUW|jt j d|S(Nis../../index.rst( Rtsimplejson.encodertsimplejson.decodertNoneRRtencodertdecodertaddTesttdoctestt DocTestSuitet DocFileSuite(tsuiteRtmod((s?/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pytadditional_testss    cC@shd}|}ddl}|jdkrC|jtn!tj|t|gg}|S(NcS@s|gtjtjjtD]A}|jdr|jdrdtjj|df^q}tt j j |S(Nttest_s.pyssimplejson.tests.%si( tostlistdirtpathtdirnamet__file__t startswithtendswithtsplitextRRt TestLoadertloadTestsFromNames(tft suite_names((s?/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyt get_suite&s Ai(Rt_import_c_make_encoderRRR RRR(R,RR((s?/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pytall_tests_suite%s   cC@sKtjddtjjd}t}t|j|j dS(Nt verbosityis-v( RtTextTestRunnerRtargvtcountR.t SystemExitRt wasSuccessful(trunnerR((s?/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pytmain:s" t__main__(t __future__RRRRR RRtTestCaseR RRR.R6R R"tinsertR#tabspathR$(((s?/usr/lib64/python2.7/site-packages/simplejson/tests/__init__.pyts          C