ó {G_Tc@s#dZddlZddlZddlZddlZddlZddlmZmZm Z e dƒe dde ƒe dkr‘edƒne Z dejkr¿e Z ejjdƒnd ejkrçe Z ejjd ƒnd ejfd „ƒYZd „Ze dkreƒndS( s Run all test cases. iÿÿÿÿN(trequirest run_unittestt import_modulet_bsddbtbsddbt deprecatedt__main__tverbosetsilentt TimingCheckcBs-eZdZdZejƒeZd„ZRS(s´This class is not a real test. Its purpose is to print a message periodically when the test runs slowly. This will prevent the buildbots from timing out on slow machines.ii<cCsOtjƒ}|j|krK||jt_tjjdƒtjjƒndS(Ns+ test_bsddb3 still working, be patient... (ttimet next_timet_PRINT_WORKING_MSG_INTERVALR tsyst __stdout__twritetflush(tselftnow((s,/usr/local/lib/python2.7/test/test_bsddb3.pyttestCheckElapsedTime/s  ið(t__name__t __module__t__doc__R R R R(((s,/usr/local/lib/python2.7/test/test_bsddb3.pyR scCsµddlm}ddlm}|jtjjtj ƒdtj ƒƒƒt j |j IJt j dI|jƒIJz t|jdddtƒƒWdy|jƒWnnXXdS( Niÿÿÿÿ(tdb(ttest_allsz-test_bsddb3-%ssTest path prefix: t module_prefixs bsddb.test.t timing_check(RRt bsddb.testRtset_test_path_prefixtostpathtjointtempfilet gettempdirtgetpidR tstderrtDB_VERSION_STRINGtget_test_path_prefixRtsuiteR tremove_test_path_directory(RR((s,/usr/local/lib/python2.7/test/test_bsddb3.pyt test_main9s(RRR R R tunittestttest.test_supportRRRtTrueRtFalseRtargvtremovetTestCaseR R((((s,/usr/local/lib/python2.7/test/test_bsddb3.pyts*