
    4hh                     r    S SK r S SKJr   " S S\ R                  5      r\S:X  a  \ R                  " 5         gg)    N)LoggingResultc                   D    \ rS rSrS rS rS rS rS rS r	S r
S	 rS
rg)Test_FunctionTestCase   c                 r    [         R                  " S 5      nU R                  UR                  5       S5        g )Nc                      g N r
       Q/opt/python-3.13.8/usr/lib/python3.13/test/test_unittest/test_functiontestcase.py<lambda>;Test_FunctionTestCase.test_countTestCases.<locals>.<lambda>       r      )unittestFunctionTestCaseassertEqualcountTestCasesselftests     r   test_countTestCases)Test_FunctionTestCase.test_countTestCases
   s+    ((6,,.2r   c                    ^ / m[        T5      nU4S jnU4S jnU4S jn/ SQn[        R                  " X2U5      R                  U5        U R	                  TU5        g )Nc                  <   > T R                  S5        [        S5      e)NsetUpzraised by setUpappendRuntimeErroreventss   r   r   HTest_FunctionTestCase.test_run_call_order__error_in_setUp.<locals>.setUp   s    MM'"011r   c                  (   > T R                  S5        g Nr   r   r    s   r   r   GTest_FunctionTestCase.test_run_call_order__error_in_setUp.<locals>.test       MM&!r   c                  (   > T R                  S5        g NtearDownr%   r    s   r   r*   KTest_FunctionTestCase.test_run_call_order__error_in_setUp.<locals>.tearDown!       MM*%r   )	startTestr   addErrorstopTestr   r   r   runr   r   resultr   r   r*   expectedr!   s         @r   #test_run_call_order__error_in_setUp9Test_FunctionTestCase.test_run_call_order__error_in_setUp   sT    v&	2	"	& B!!$x8<<VD*r   c                    ^ / m[        T5      nU4S jnU4S jnU4S jn/ SQn[        R                  " X2U5      R                  U5        U R	                  TU5        g )Nc                  (   > T R                  S5        g Nr   r%   r    s   r   r   GTest_FunctionTestCase.test_run_call_order__error_in_test.<locals>.setUp3       MM'"r   c                  <   > T R                  S5        [        S5      eNr   zraised by testr   r    s   r   r   FTest_FunctionTestCase.test_run_call_order__error_in_test.<locals>.test6   s    MM&!/00r   c                  (   > T R                  S5        g r)   r%   r    s   r   r*   JTest_FunctionTestCase.test_run_call_order__error_in_test.<locals>.tearDown:   r,   r   )r-   r   r   r.   r*   r/   r0   r2   s         @r   "test_run_call_order__error_in_test8Test_FunctionTestCase.test_run_call_order__error_in_test/   sS    v&	#	1	&8!!$x8<<VD*r   c                    ^ ^ / m[        T5      nU4S jnUU 4S jnU4S jn/ SQn[        R                  " X2U5      R                  U5        T R	                  TU5        g )Nc                  (   > T R                  S5        g r9   r%   r    s   r   r   ITest_FunctionTestCase.test_run_call_order__failure_in_test.<locals>.setUpM   r;   r   c                  J   > T R                  S5        TR                  S5        g r=   )r   fail)r!   r   s   r   r   HTest_FunctionTestCase.test_run_call_order__failure_in_test.<locals>.testP   s    MM&!II&'r   c                  (   > T R                  S5        g r)   r%   r    s   r   r*   LTest_FunctionTestCase.test_run_call_order__failure_in_test.<locals>.tearDownT   r,   r   )r-   r   r   
addFailurer*   r/   r0   r2   s   `     @r   $test_run_call_order__failure_in_test:Test_FunctionTestCase.test_run_call_order__failure_in_testI   sS    v&	#	(	&:!!$x8<<VD*r   c                    ^ / m[        T5      nU4S jnU4S jnU4S jn/ SQn[        R                  " X2U5      R                  U5        U R	                  TU5        g )Nc                  (   > T R                  S5        g r9   r%   r    s   r   r   KTest_FunctionTestCase.test_run_call_order__error_in_tearDown.<locals>.setUpg   r;   r   c                  (   > T R                  S5        g r$   r%   r    s   r   r   JTest_FunctionTestCase.test_run_call_order__error_in_tearDown.<locals>.testj   r'   r   c                  <   > T R                  S5        [        S5      e)Nr*   zraised by tearDownr   r    s   r   r*   NTest_FunctionTestCase.test_run_call_order__error_in_tearDown.<locals>.tearDownm   s    MM*%344r   )r-   r   r   r*   r.   r/   r0   r2   s         @r   &test_run_call_order__error_in_tearDown<Test_FunctionTestCase.test_run_call_order__error_in_tearDownc   sS    v&	#	"	5 !!$x8<<VD*r   c                 z    [         R                  " S 5      nU R                  UR                  5       [        5        g )Nc                      g r	   r
   r
   r   r   r   /Test_FunctionTestCase.test_id.<locals>.<lambda>}   r   r   )r   r   assertIsInstanceidstrr   s     r   test_idTest_FunctionTestCase.test_id|   s(    ((6dggi-r   c                 r    [         R                  " S 5      nU R                  UR                  5       S 5        g )Nc                      g r	   r
   r
   r   r   r   KTest_FunctionTestCase.test_shortDescription__no_docstring.<locals>.<lambda>   r   r   r   r   r   shortDescriptionr   s     r   #test_shortDescription__no_docstring9Test_FunctionTestCase.test_shortDescription__no_docstring   s+    ((6..0$7r   c                 t    Sn[         R                  " S US9nU R                  UR                  5       S5        g )Nzthis tests fooc                      g r	   r
   r
   r   r   r   STest_FunctionTestCase.test_shortDescription__singleline_docstring.<locals>.<lambda>   r   r   )descriptionrb   )r   descr   s      r   +test_shortDescription__singleline_docstringATest_FunctionTestCase.test_shortDescription__singleline_docstring   s3    ((4H..02BCr   r
   N)__name__
__module____qualname____firstlineno__r   r5   rA   rL   rU   r]   rd   rk   __static_attributes__r
   r   r   r   r      s+    3+2+4+4+2.8Dr   r   __main__)r   test.test_unittest.supportr   TestCaser   rm   mainr
   r   r   <module>rv      s:     4JDH-- JDZ zMMO r   