
    4hhuN                     r    S SK r S SKJr   " S S\ R                  5      r\S:X  a  \ R                  " 5         gg)    NLoggingResultc                       \ rS rSrS rS rS rS rS rS r	S r
S	 rS
 rS rS rS rS rS rS 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_TestSkipping   c                   ^  " U4S jS[         R                  5      n/ m[        T5      nU" S5      nU R                  UR	                  U5      U5        U R                  T/ SQ5        U R                  UR                  US4/5        / mUR	                  5       nU R                  T/ SQ5        U R                  UR                  US4/5        U R                  UR                  S5         " U4S jS[         R                  5      n/ m[        T5      nU" S	5      nU R                  UR	                  U5      U5        U R                  T/ SQ5        U R                  UR                  US
4/5        U R                  UR                  S5        / mUR	                  5       nU R                  T/ SQ5        U R                  UR                  US
4/5        U R                  UR                  S5        g )Nc                   (   > \ rS rSrU 4S jrS rSrg),Test_TestSkipping.test_skipping.<locals>.Foo	   c                    > [        T5      $ Nr   selfeventss    I/opt/python-3.13.8/usr/lib/python3.13/test/test_unittest/test_skipping.pydefaultTestResult>Test_TestSkipping.test_skipping.<locals>.Foo.defaultTestResult
       $V,,    c                 &    U R                  S5        g NskipskipTestr   s    r   test_skip_me9Test_TestSkipping.test_skipping.<locals>.Foo.test_skip_me       f%r    N__name__
__module____qualname____firstlineno__r   r   __static_attributes__r   s   r   Foor
   	   s    -&r   r'   r   	startTestaddSkipstopTestr   startTestRunr)   r*   r+   stopTestRun   c                   .   > \ rS rSrU 4S jrS rS rSrg)r
      c                    > [        T5      $ r   r   r   s    r   r   r      r   r   c                 &    U R                  S5        g )Ntestingr   r   s    r   setUp2Test_TestSkipping.test_skipping.<locals>.Foo.setUp    s    i(r   c                     g r   r   r   s    r   test_nothing9Test_TestSkipping.test_skipping.<locals>.Foo.test_nothing"   s    Dr   r   N)r!   r"   r#   r$   r   r5   r8   r%   r&   s   r   r'   r
      s    -)(r   r8   r4   )unittestTestCaser   assertIsrunassertEqualskippedtestsRun)r   r'   resulttestr   s       @r   test_skippingTest_TestSkipping.test_skipping   s   	&(## 	&
 v&>"dhhv&/!EF4.)9: "= 	>4.)9:!,	)(## 	) v&>"dhhv&/!EF4*;)<=!, "= 	>4*;)<=!,r   c                 l  ^  " U4S jS[         R                  5      n/ m[        T5      nU" S5      nU R                  UR	                  U5      U5        U R                  T/ SQ5        U R                  [        UR                  5      S5        UR                  S   u  pEU R                  US5        U R                  U[         R                  5        U R                  XC5        UR                  S   u  pEU R                  US	5        U R                  U[         R                  5        U R                  XC5        U R                  UR                  S
   US45        / mUR	                  5       nU R                  T/ SQ5        U R                  UR                   VVs/ s H  u  pEUPM	     snn/ SQ5        g s  snnf )Nc                   (   > \ rS rSrU 4S jrS rSrg)5Test_TestSkipping.test_skipping_subtests.<locals>.Foo3   c                    > [        T5      $ r   r   r   s    r   r   GTest_TestSkipping.test_skipping_subtests.<locals>.Foo.defaultTestResult4   r   r   c                    U R                  SS9   U R                  SS9   U R                  S5        S S S 5        U R                  S5        S S S 5        U R                  S5        g ! , (       d  f       N9= f! , (       d  f       N1= f)Nr/   a   )bskip 1skip 2skip 3)subTestr   r   s    r   r   BTest_TestSkipping.test_skipping_subtests.<locals>.Foo.test_skip_me6   s`    \\A\&*h/ +MM(+ ' h' +* '&s!   A6A%A6%
A3	/A66
Br   Nr    r&   s   r   r'   rG   3   s    -(r   r'   r   )r)   r*   r*   r*   r+      r   rP   r/   rQ   rN   rR   )r-   r)   r*   r*   r*   r+   r.   )rP   rQ   rR   )
r:   r;   r   r<   r=   r>   lenr?   assertIsInstanceassertIsNot)r   r'   rA   rB   subtestmsgr   s         @r   test_skipping_subtests(Test_TestSkipping.test_skipping_subtests2   so   	((## 	( v&>"dhhv&/ "9 	:V^^,a0~~a(h'gx'8'89'~~a(h'gx'8'89'*T8,<=@	A 	&..A.,'#.A7	9As   F0
c                   ^^	^
^ [         R                  SS4[         R                  SS44nU GH  u  mm	m
 " UU	U
U4S jS[         R                  5      nU" S5      nU" S5      n[         R                  " X4/5      n/ m[        T5      nU R                  UR                  U5      U5        U R                  [        UR                  5      S5        / SQnU R                  TU5        U R                  UR                  S	5        U R                  UR                  US
4/5        U R                  UR                  5       5        / mUR                  5       nU R                  T/ SQ5        U R                  UR                  US
4/5        / mUR                  5       nU R                  T/ SQ5        U R                  UR                  / 5        GM     g )NFTc                   f   > \ rS rSrU4S jr Y "  YS5      S 5       r Y "  YS5      S 5       rSrg)7Test_TestSkipping.test_skipping_decorators.<locals>.FooY   c                    > [        T5      $ r   r   r   s    r   r   ITest_TestSkipping.test_skipping_decorators.<locals>.Foo.defaultTestResultZ   s    (00r   r4   c                     g r   r   r   s    r   	test_skipATest_TestSkipping.test_skipping_decorators.<locals>.Foo.test_skip]   s    %)r   c                     g r   r   r   s    r   test_dont_skipFTest_TestSkipping.test_skipping_decorators.<locals>.Foo.test_dont_skip`   s    *.r   r   N)r!   r"   r#   r$   r   rd   rg   r%   )decodo_skip	dont_skipr   s   r   r'   r_   Y   s4    1 gy)) *)i+. ,.r   r'   rd   rg   r/   )r)   r*   r+   r)   
addSuccessr+   rN   r4   r,   )r-   r)   rl   r+   r.   )r:   
skipUnlessskipIfr;   	TestSuiter   r<   r=   r>   rV   r?   r@   
assertTruewasSuccessful)r   op_tabler'   test_do_skiprg   suiterA   expectedri   rj   rk   r   s           @@@@r   test_skipping_decorators*Test_TestSkipping.test_skipping_decoratorsU   s   ((%6__dE24(0$D'9/ /h'' / {+L !12N&&'EFEF"6*FMM%))F+V4S0!4?HVX.V__a0V^^|Y.G-HIOOF0023F!%%'FV &A BV^^|Y.G-HIF#'')FV &A BV^^R0G )1r   c                 J  ^^ [         R                  " S5       " UU4S jS[         R                  5      5       n/ m/ m[        T5      nU" S5      n[         R                  " U/5      nU R                  UR                  U5      U5        U R                  T/ SQ5        U R                  UR                  US4/5        U R                  T/ 5        / mUR                  5       nU R                  T/ SQ5        U R                  UR                  US4/5        U R                  T/ 5        g )Nr4   c                   .   > \ rS rSrU 4S jrU4S jrSrg).Test_TestSkipping.test_skip_class.<locals>.Foo~   c                    > [        T5      $ r   r   r   s    r   r   @Test_TestSkipping.test_skip_class.<locals>.Foo.defaultTestResult   r   r   c                 (   > TR                  S5        g Nr/   appendr   records    r   test_15Test_TestSkipping.test_skip_class.<locals>.Foo.test_1       a r   r   N)r!   r"   r#   r$   r   r   r%   )r   r   s   r   r'   rz   ~   s    -! !r   r'   r   r(   r,   )	r:   r   r;   r   ro   r<   r=   r>   r?   )r   r'   rA   rB   rt   r   r   s        @@r   test_skip_class!Test_TestSkipping.test_skip_class}   s   	y	!	! 	!(## 	! 
"	!
 v&8}""D6*eii'0!EF4*;)<=$ "= 	>4*;)<=$r   c                   ^ [         R                  " S5       " U4S jS5      5       n " S SU[         R                  5      n/ m[         R                  " 5       nU" S5      n[         R                  " U/5      nU R                  UR                  U5      U5        U R                  UR                  US4/5        U R                  T/ 5        g )Nr4   c                   "   > \ rS rSrU 4S jrSrg)=Test_TestSkipping.test_skip_non_unittest_class.<locals>.Mixin   c                 (   > TR                  S5        g r   r   r   s    r   r   DTest_TestSkipping.test_skip_non_unittest_class.<locals>.Mixin.test_1   r   r   r   Nr!   r"   r#   r$   r   r%   )r   s   r   Mixinr      s    ! !r   r   c                       \ rS rSrSrg);Test_TestSkipping.test_skip_non_unittest_class.<locals>.Foo   r   Nr!   r"   r#   r$   r%   r   r   r   r'   r      s    r   r'   r   )	r:   r   r;   
TestResultro   r<   r=   r>   r?   )r   r   r'   rA   rB   rt   r   s         @r   test_skip_non_unittest_class.Test_TestSkipping.test_skip_non_unittest_class   s    	y	!	! 	! 
"	!	%** 	$$&8}""D6*eii'04*;)<=$r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  US4/5        g )Nc                        \ rS rSrS rS rSrg)1Test_TestSkipping.test_skip_in_setup.<locals>.Foo   c                 &    U R                  S5        g r   r   r   s    r   r5   7Test_TestSkipping.test_skip_in_setup.<locals>.Foo.setUp   r   r   c                 &    U R                  S5        g )Nshouldn't come herefailr   s    r   r   >Test_TestSkipping.test_skip_in_setup.<locals>.Foo.test_skip_me   s    		/0r   r   N)r!   r"   r#   r$   r5   r   r%   r   r   r   r'   r      s    &1r   r'   r   r(   r   r:   r;   r   r<   r=   r>   r?   r   r'   r   rA   rB   s        r   test_skip_in_setup$Test_TestSkipping.test_skip_in_setup   sr    	1(## 	1
 v&>"dhhv&/!EF4.)9:r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  US4/5        g )Nc                        \ rS rSrS rS rSrg)3Test_TestSkipping.test_skip_in_cleanup.<locals>.Foo   c                     g r   r   r   s    r   r   @Test_TestSkipping.test_skip_in_cleanup.<locals>.Foo.test_skip_me   s    r   c                 &    U R                  S5        g r   r   r   s    r   tearDown<Test_TestSkipping.test_skip_in_cleanup.<locals>.Foo.tearDown   r   r   r   Nr!   r"   r#   r$   r   r   r%   r   r   r   r'   r      s    &r   r'   r   r(   r   r   r   s        r   test_skip_in_cleanup&Test_TestSkipping.test_skip_in_cleanup   sr    	&(## 	&
 v&>"dhhv&/!EF4.)9:r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  US4/5        g )Nc                        \ rS rSrS rS rSrg)?Test_TestSkipping.test_failure_and_skip_in_cleanup.<locals>.Foo   c                 &    U R                  S5        g Nr   r   r   s    r   r   LTest_TestSkipping.test_failure_and_skip_in_cleanup.<locals>.Foo.test_skip_me       		&!r   c                 &    U R                  S5        g r   r   r   s    r   r   HTest_TestSkipping.test_failure_and_skip_in_cleanup.<locals>.Foo.tearDown   r   r   r   Nr   r   r   r   r'   r      s    "&r   r'   r   )r)   
addFailurer*   r+   r   r   r   s        r    test_failure_and_skip_in_cleanup2Test_TestSkipping.test_failure_and_skip_in_cleanup   sr    	&(## 	&
 v&>"dhhv&/!ST4.)9:r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  US4/5        g )Nc                        \ rS rSrS rS rSrg)@Test_TestSkipping.test_skipping_and_fail_in_cleanup.<locals>.Foo   c                 &    U R                  S5        g r   r   r   s    r   r   MTest_TestSkipping.test_skipping_and_fail_in_cleanup.<locals>.Foo.test_skip_me   r   r   c                 &    U R                  S5        g r   r   r   s    r   r   ITest_TestSkipping.test_skipping_and_fail_in_cleanup.<locals>.Foo.tearDown   r   r   r   Nr   r   r   r   r'   r      s    &"r   r'   r   )r)   r*   r   r+   r   r   r   s        r   !test_skipping_and_fail_in_cleanup3Test_TestSkipping.test_skipping_and_fail_in_cleanup   sr    	"(## 	"
 v&>"dhhv&/!ST4.)9:r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  UR                  S   S   U5        U R                  UR                  5        U R                  UR                  5       5        g )Nc                   8    \ rS rSr\R
                  S 5       rSrg)4Test_TestSkipping.test_expected_failure.<locals>.Foo   c                 &    U R                  S5        g Nhelp me!r   r   s    r   test_die=Test_TestSkipping.test_expected_failure.<locals>.Foo.test_die       		*%r   r   Nr!   r"   r#   r$   r:   expectedFailurer   r%   r   r   r   r'   r      s    %%& &&r   r'   r   r)   addExpectedFailurer+   r   )r:   r;   r   r<   r=   r>   assertFalsefailuresexpectedFailuresunexpectedSuccessesrp   rq   r   s        r   test_expected_failure'Test_TestSkipping.test_expected_failure   s    	&(## 	& v&:dhhv&/H	J)003A6=334,,./r   c                    [         R                   " S S[         R                  5      5       n/ n[        U5      nU" S5      nU R	                  UR                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  UR                  S   S   U5        U R                  UR                  5        U R                  UR                  5       5        g )Nc                       \ rS rSrS rSrg)GTest_TestSkipping.test_expected_failure_with_wrapped_class.<locals>.Foo   c                 &    U R                  S5        g NFrp   r   s    r   r   NTest_TestSkipping.test_expected_failure_with_wrapped_class.<locals>.Foo.test_1       &r   r   Nr   r   r   r   r'   r      s    'r   r'   r   r   r   )r:   r   r;   r   r<   r=   r>   r   r   r   r   rp   rq   r   s        r   (test_expected_failure_with_wrapped_class:Test_TestSkipping.test_expected_failure_with_wrapped_class   s    		!	!	'(## 	' 
"	' v&8}dhhv&/H	J)003A6=334,,./r   c                     " S S[         R                  5      n[         R                   " S SU5      5       n/ n[        U5      nU" S5      nU R	                  UR                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  UR                  S   S   U5        U R                  UR                  5        U R                  UR                  5       5        g )Nc                       \ rS rSrS rSrg)JTest_TestSkipping.test_expected_failure_with_wrapped_subclass.<locals>.Foo   c                 &    U R                  S5        g r   r   r   s    r   r   QTest_TestSkipping.test_expected_failure_with_wrapped_subclass.<locals>.Foo.test_1   r   r   r   Nr   r   r   r   r'   r      s    'r   r'   c                       \ rS rSrSrg)JTest_TestSkipping.test_expected_failure_with_wrapped_subclass.<locals>.Bar   r   Nr   r   r   r   Barr      s    r   r   r   r   r   )r:   r;   r   r   r<   r=   r>   r   r   r   r   rp   rq   )r   r'   r   r   rA   rB   s         r   +test_expected_failure_with_wrapped_subclass=Test_TestSkipping.test_expected_failure_with_wrapped_subclass   s    	'(## 	' 
	!	!	# 	 
"	 v&8}dhhv&/H	J)003A6=334,,./r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  [        UR                  5      S5        U R                  UR                  S   S   U5        U R                  UR                  5        U R                  UR                  5       5        g )Nc                   8    \ rS rSr\R
                  S 5       rSrg)=Test_TestSkipping.test_expected_failure_subtests.<locals>.Fooi  c                 F   U R                  5           S S S 5        U R                  5          U R                  S5        S S S 5        U R                  5          U R                  S5        S S S 5        g ! , (       d  f       Nc= f! , (       d  f       NJ= f! , (       d  f       g = f)Nr   r   )rS   r   r   s    r   r   FTest_TestSkipping.test_expected_failure_subtests.<locals>.Foo.test_die  sb    \\^ $ \\^IIj) $\\^II34 $^ $^ $^#^s"   A0BB0
A>
B
B r   Nr   r   r   r   r'   r     s    %%5 &5r   r'   r   )r)   addSubTestSuccessr   r+   r/   r   )r:   r;   r   r<   r=   r>   r   r   rV   r   r   rp   rq   r   s        r   test_expected_failure_subtests0Test_TestSkipping.test_expected_failure_subtests  s    
	5(## 
	5 v&:dhhv&/<	= 	)V445q9f--a03T:334,,./r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  [        UR                  5      S5        U R                  SUR                  S   S   5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  5       5        g )Nc                   >    \ rS rSr\R
                  S 5       rS rSrg)HTest_TestSkipping.test_expected_failure_and_fail_in_cleanup.<locals>.Fooi)  c                 &    U R                  S5        g r   r   r   s    r   r   QTest_TestSkipping.test_expected_failure_and_fail_in_cleanup.<locals>.Foo.test_die*  r   r   c                 &    U R                  S5        g Nzbad tearDownr   r   s    r   r   QTest_TestSkipping.test_expected_failure_and_fail_in_cleanup.<locals>.Foo.tearDown-      		.)r   r   N	r!   r"   r#   r$   r:   r   r   r   r%   r   r   r   r'   r   )  s    %%& &&*r   r'   r   r)   r   r+   r/   AssertionError: bad tearDownr   r:   r;   r   r<   r=   r>   rV   r   assertInr   r   r   rq   r   s        r   )test_expected_failure_and_fail_in_cleanup;Test_TestSkipping.test_expected_failure_and_fail_in_cleanup(      	*(## 	* v&:dhhv&/@	BV__-q14fooa6H6KL001334--/0r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  US4/5        U R                  UR                  5       5        g )Nc                   >    \ rS rSr\R
                  S 5       rS rSrg)HTest_TestSkipping.test_expected_failure_and_skip_in_cleanup.<locals>.Fooi<  c                 &    U R                  S5        g r   r   r   s    r   r   QTest_TestSkipping.test_expected_failure_and_skip_in_cleanup.<locals>.Foo.test_die=  r   r   c                 &    U R                  S5        g r   r   r   s    r   r   QTest_TestSkipping.test_expected_failure_and_skip_in_cleanup.<locals>.Foo.tearDown@  r   r   r   Nr  r   r   r   r'   r  <  s    %%& &&&r   r'   r   r(   r   r:   r;   r   r<   r=   r>   r   r   r   r   r?   rp   rq   r   s        r   )test_expected_failure_and_skip_in_cleanup;Test_TestSkipping.test_expected_failure_and_skip_in_cleanup;      	&(## 	& v&:dhhv&/=	?)0013344.)9:,,./r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  U/5        U R                  UR                  5       5        g )Nc                   8    \ rS rSr\R
                  S 5       rSrg)6Test_TestSkipping.test_unexpected_success.<locals>.FooiO  c                     g r   r   r   s    r   r   ?Test_TestSkipping.test_unexpected_success.<locals>.Foo.test_dieP      r   r   Nr   r   r   r   r'   r  O  s    %% &r   r'   r   )r)   addUnexpectedSuccessr+   r:   r;   r   r<   r=   r>   r   r   r   r   rq   r   s        r   test_unexpected_success)Test_TestSkipping.test_unexpected_successN  s    	(## 	 v&:dhhv&/J	L)00133dV<--/0r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  U/5        U R                  UR                  5       5        g )Nc                   8    \ rS rSr\R
                  S 5       rSrg)?Test_TestSkipping.test_unexpected_success_subtests.<locals>.Fooia  c                     U R                  5           S S S 5        U R                  5           S S S 5        g ! , (       d  f       N)= f! , (       d  f       g = fr   )rS   r   s    r   r   HTest_TestSkipping.test_unexpected_success_subtests.<locals>.Foo.test_dieb  s8    \\^ $ \\^ $^ $^ $^s   6A
A
Ar   Nr   r   r   r   r'   r%  a  s    %% &r   r'   r   )r)   r   r   r  r+   r   r   s        r    test_unexpected_success_subtests2Test_TestSkipping.test_unexpected_success_subtests^  s    	(## 	 v&:dhhv&/>	? 	)00133dV<--/0r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  [        UR                  5      S5        U R                  SUR                  S   S   5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  5       5        g )Nc                   >    \ rS rSr\R
                  S 5       rS rSrg)JTest_TestSkipping.test_unexpected_success_and_fail_in_cleanup.<locals>.Fooix  c                     g r   r   r   s    r   r   STest_TestSkipping.test_unexpected_success_and_fail_in_cleanup.<locals>.Foo.test_diey  r  r   c                 &    U R                  S5        g r  r   r   s    r   r   STest_TestSkipping.test_unexpected_success_and_fail_in_cleanup.<locals>.Foo.tearDown|  r  r   r   Nr  r   r   r   r'   r,  x  s    %% &*r   r'   r   r  r/   r  r   r	  r   s        r   +test_unexpected_success_and_fail_in_cleanup=Test_TestSkipping.test_unexpected_success_and_fail_in_cleanupw  r  r   c                     " S S[         R                  5      n/ n[        U5      nU" S5      nU R                  UR	                  U5      U5        U R                  U/ SQ5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  5        U R                  UR                  US4/5        U R                  UR                  5       5        g )Nc                   >    \ rS rSr\R
                  S 5       rS rSrg)JTest_TestSkipping.test_unexpected_success_and_skip_in_cleanup.<locals>.Fooi  c                     g r   r   r   s    r   r   STest_TestSkipping.test_unexpected_success_and_skip_in_cleanup.<locals>.Foo.test_die  r  r   c                 &    U R                  S5        g r   r   r   s    r   r   STest_TestSkipping.test_unexpected_success_and_skip_in_cleanup.<locals>.Foo.tearDown  r   r   r   Nr  r   r   r   r'   r5    s    %% &&r   r'   r   r(   r   r  r   s        r   +test_unexpected_success_and_skip_in_cleanup=Test_TestSkipping.test_unexpected_success_and_skip_in_cleanup  r  r   c                   ^  " U4S jS[         R                  5      m[         R                  " 5       nT" S5      n[         R                  " U/5      nU R	                  UR                  U5      U5        U R                  UR                  US4/5        U R                  TR                  5        U R                  TR                  5        g )Nc                   f   > \ rS rSrSrSrU 4S jrU 4S jr\R                  " S5      S 5       r
Srg)	9Test_TestSkipping.test_skip_doesnt_run_setup.<locals>.Fooi  Fc                    > STl         g NT)wasSetUpr   r'   s    r   r5   ?Test_TestSkipping.test_skip_doesnt_run_setup.<locals>.Foo.setUp  s
    #r   c                    > STl         g r@  )wasTornDownrB  s    r   tornDownBTest_TestSkipping.test_skip_doesnt_run_setup.<locals>.Foo.tornDown  s
    "&r   r4   c                     g r   r   r   s    r   r   @Test_TestSkipping.test_skip_doesnt_run_setup.<locals>.Foo.test_1  r  r   r   N)r!   r"   r#   r$   rA  rE  r5   rF  r:   r   r   r%   )r'   s   r   r'   r>    s2    HK$']]9% &r   r'   r   r4   )r:   r;   r   ro   r<   r=   r>   r?   r   rA  rE  )r   rA   rB   rt   r'   s       @r   test_skip_doesnt_run_setup,Test_TestSkipping.test_skip_doesnt_run_setup  s    		(## 		 $$&8}""D6*eii'04*;)<=&)r   c                 ,  ^ S m " U4S jS[         R                  5      n[         R                  " 5       nU" S5      n[         R                  " U/5      nU R	                  UR                  U5      U5        U R                  UR                  US4/5        g )Nc                    ^  U 4S jnU$ )Nc                     > T" U 6 $ r   r   )rM   funcs    r   innerGTest_TestSkipping.test_decorated_skip.<locals>.decorator.<locals>.inner  s    Qxr   r   )rO  rP  s   ` r   	decorator8Test_TestSkipping.test_decorated_skip.<locals>.decorator  s     Lr   c                   R   > \ rS rSr Y \R
                  " S5      S 5       5       rSrg)2Test_TestSkipping.test_decorated_skip.<locals>.Fooi  r4   c                     g r   r   r   s    r   r   9Test_TestSkipping.test_decorated_skip.<locals>.Foo.test_1  s     r   r   Nr!   r"   r#   r$   r:   r   r   r%   )rR  s   r   r'   rU    s&    ]]9% & r   r'   r   r4   r:   r;   r   ro   r<   r=   r>   r?   )r   r'   rA   rB   rt   rR  s        @r   test_decorated_skip%Test_TestSkipping.test_decorated_skip  sx    	
	(## 	 $$&8}""D6*eii'04*;)<=r   c                     " S S[         R                  5      n[         R                  " 5       nU" S5      n[         R                  " U/5      nU R	                  UR                  U5      U5        U R                  UR                  US4/5        g )Nc                   8    \ rS rSr\R
                  S 5       rSrg)7Test_TestSkipping.test_skip_without_reason.<locals>.Fooi  c                     g r   r   r   s    r   r   >Test_TestSkipping.test_skip_without_reason.<locals>.Foo.test_1  r  r   r   NrX  r   r   r   r'   r^    s    ]] r   r'   r    rY  )r   r'   rA   rB   rt   s        r   test_skip_without_reason*Test_TestSkipping.test_skip_without_reason  sp    	(## 	
 $$&8}""D6*eii'04*6r   c                 h  ^  " U4S jS[         R                  5      n/ mU" S5      nU R                  [         R                  5       nUR	                  5         S S S 5        U R                  S[        WR                  5      5        U R                  TS/5        / mU" S5      nU R                  [         R                  5       nUR	                  5         S S S 5        U R                  S[        UR                  5      5        U R                  T/ 5        g ! , (       d  f       N= f! , (       d  f       NW= f)Nc                   p   > \ rS rSrU 4S jrU 4S jrU 4S jr\R                  " S5      U 4S j5       r	Sr
g)	2Test_TestSkipping.test_debug_skipping.<locals>.Fooi  c                 (   > TR                  S5        g Nr5   r   r   s    r   r5   8Test_TestSkipping.test_debug_skipping.<locals>.Foo.setUp      g&r   c                 (   > TR                  S5        g Nr   r   r   s    r   r   ;Test_TestSkipping.test_debug_skipping.<locals>.Foo.tearDown      j)r   c                 J   > U R                  S5        TR                  S5        g )Nskipping exceptiontest1)r   r   r   s    r   rq  8Test_TestSkipping.test_debug_skipping.<locals>.Foo.test1  s    23g&r   skipping decoratorc                 (   > TR                  S5        g )Ntest2r   r   s    r   ru  8Test_TestSkipping.test_debug_skipping.<locals>.Foo.test2  s    g&r   r   N)r!   r"   r#   r$   r5   r   rq  r:   r   ru  r%   r&   s   r   r'   rf    s0    '*' ]]/0' 1'r   r'   rq  rp  r5   ru  rs  )	r:   r;   assertRaisesSkipTestdebugr
  str	exceptionr>   r   r'   rB   cmr   s       @r   test_debug_skipping%Test_TestSkipping.test_debug_skipping  s    
	'(## 
	' 7|x001RJJL 2*C,=>'+7|x001RJJL 2*C,=>$ 21 21s   DD#
D #
D1c                   ^ [         R                  " S5       " U4S jS[         R                  5      5       n/ mU" S5      nU R                  [         R                  5       nUR                  5         S S S 5        U R                  S[        WR                  5      5        U R                  T/ 5        g ! , (       d  f       NF= f)Nr4   c                   :   > \ rS rSrU 4S jrU 4S jrU 4S jrSrg)8Test_TestSkipping.test_debug_skipping_class.<locals>.Fooi  c                 (   > TR                  S5        g rh  r   r   s    r   r5   >Test_TestSkipping.test_debug_skipping_class.<locals>.Foo.setUp  rj  r   c                 (   > TR                  S5        g rl  r   r   s    r   r   ATest_TestSkipping.test_debug_skipping_class.<locals>.Foo.tearDown  rn  r   c                 (   > TR                  S5        g )NrB   r   r   s    r   rB   =Test_TestSkipping.test_debug_skipping_class.<locals>.Foo.test  s    f%r   r   Nr!   r"   r#   r$   r5   r   rB   r%   r&   s   r   r'   r    s    '*& &r   r'   rB   )
r:   r   r;   rw  rx  ry  r
  rz  r{  r>   r|  s       @r   test_debug_skipping_class+Test_TestSkipping.test_debug_skipping_class  s    	y	!	&(## 	& 
"	& 6{x001RJJL 2iR\\!23$ 21s    B11
B?c                 l  ^  " U4S jS[         R                  5      n/ m[        T5      nU" S5      nU R                  [         R                  5       nUR                  5         S S S 5        U R                  S[        WR                  5      5        U R                  TSS/5        g ! , (       d  f       NH= f)Nc                   :   > \ rS rSrU 4S jrU 4S jrU 4S jrSrg);Test_TestSkipping.test_debug_skipping_subtests.<locals>.Fooi  c                 (   > TR                  S5        g rh  r   r   s    r   r5   ATest_TestSkipping.test_debug_skipping_subtests.<locals>.Foo.setUp  rj  r   c                 (   > TR                  S5        g rl  r   r   s    r   r   DTest_TestSkipping.test_debug_skipping_subtests.<locals>.Foo.tearDown  rn  r   c                    > U R                  SS9   TR                  S5        U R                  S5        TR                  S5        S S S 5        TR                  S5        g ! , (       d  f       N = f)Nr/   rL   rY   skip subtestzend subtestzend test)rS   r   r   r   s    r   rB   @Test_TestSkipping.test_debug_skipping_subtests.<locals>.Foo.test  sQ    \\A\&MM),MM.1MM-0 ' j)	 '&s   4A
A-r   Nr  r&   s   r   r'   r    s    '** *r   r'   rB   r  r5   rY   )
r:   r;   r   rw  rx  ry  r
  rz  r{  r>   )r   r'   rA   rB   r}  r   s        @r   test_debug_skipping_subtests.Test_TestSkipping.test_debug_skipping_subtests  s    
	*(## 
	* v&6{x001RJJL 2nc",,&78'9!56 21s   B%%
B3r   N)r!   r"   r#   r$   rC   r[   rv   r   r   r   r   r   r   r   r   r   r   r  r  r!  r(  r1  r:  rJ  rZ  rb  r~  r  r  r%   r   r   r   r   r      s    (-T!9F&1P%0%;;;;0 0"0(061&0&1 121&0&*(>$
7%6%"7r   r   __main__)r:   test.test_unittest.supportr   r;   r   r!   mainr   r   r   <module>r     s8     4H7)) H7V zMMO r   