U :e@s:ddlZddlmZGdddejZedkr6edS)N) LoggingResultc@sLeZdZddZddZddZddZd d Zd d Zd dZ ddZ dS)Test_FunctionTestCasecCs"tdd}||ddS)NcSsdSNrrrH/usr/local/python38/lib/python3.8/unittest/test/test_functiontestcase.py z;Test_FunctionTestCase.test_countTestCases..)unittestFunctionTestCase assertEqualZcountTestCasesselftestrrrtest_countTestCases sz)Test_FunctionTestCase.test_countTestCasescs`gt}fdd}fdd}fdd}ddd d g}t||||||dS) NcsdtddS)NsetUpzraised by setUpappend RuntimeErrorreventsrrrs zHTest_FunctionTestCase.test_run_call_order__error_in_setUp..setUpcsddSNrrrrrrrszGTest_FunctionTestCase.test_run_call_order__error_in_setUp..testcsddSNtearDownrrrrrr!szKTest_FunctionTestCase.test_run_call_order__error_in_setUp..tearDown startTestraddErrorstopTestrr r runr rresultrrrZexpectedrrr#test_run_call_order__error_in_setUps    z9Test_FunctionTestCase.test_run_call_order__error_in_setUpcsdgt}fdd}fdd}fdd}ddd d d d g}t||||||dS) NcsddSNrrrrrrr3szGTest_FunctionTestCase.test_run_call_order__error_in_test..setUpcsdtddSNrzraised by testrrrrrr6s zFTest_FunctionTestCase.test_run_call_order__error_in_test..testcsddSrrrrrrr:szJTest_FunctionTestCase.test_run_call_order__error_in_test..tearDownrrrrrrrr rrr"test_run_call_order__error_in_test/s   z8Test_FunctionTestCase.test_run_call_order__error_in_testcsfgt}fdd}fdd}fdd}ddd d d d g}t|||||dS) NcsddSr#rrrrrrMszITest_FunctionTestCase.test_run_call_order__failure_in_test..setUpcsdddSr$)rZfailrrrrrrPs zHTest_FunctionTestCase.test_run_call_order__failure_in_test..testcsddSrrrrrrrTszLTest_FunctionTestCase.test_run_call_order__failure_in_test..tearDownrrrrZ addFailurerrr rr&r$test_run_call_order__failure_in_testIs  z:Test_FunctionTestCase.test_run_call_order__failure_in_testcsdgt}fdd}fdd}fdd}ddd d d d g}t||||||dS) NcsddSr#rrrrrrgszKTest_FunctionTestCase.test_run_call_order__error_in_tearDown..setUpcsddSrrrrrrrjszJTest_FunctionTestCase.test_run_call_order__error_in_tearDown..testcsdtddS)Nrzraised by tearDownrrrrrrms zNTest_FunctionTestCase.test_run_call_order__error_in_tearDown..tearDownrrrrrrrr rrr&test_run_call_order__error_in_tearDowncs    z.)r r ZassertIsInstanceidstrr rrrtest_id|szTest_FunctionTestCase.test_idcCs"tdd}||ddS)NcSsdSrrrrrrrrzKTest_FunctionTestCase.test_shortDescription__no_docstring..r r r ZshortDescriptionr rrr#test_shortDescription__no_docstringsz9Test_FunctionTestCase.test_shortDescription__no_docstringcCs*d}tjdd|d}||ddS)Nzthis tests foocSsdSrrrrrrrrzSTest_FunctionTestCase.test_shortDescription__singleline_docstring..) descriptionr,)rZdescrrrr+test_shortDescription__singleline_docstringszATest_FunctionTestCase.test_shortDescription__singleline_docstringN) __name__ __module__ __qualname__rr"r%r'r(r+r-r/rrrrrs r__main__)r Zunittest.test.supportrZTestCaserr0mainrrrrs