ó
    ×›‘hÃ
  ã                   ó¾   • S r SSKJr  SSKJr  \" SS5       " S S\5      5       r\" SS5       " S	 S
\5      5       r " S S\5      r " S S\5      r " S S\5      r	g)z!
Tests for L{twisted.trial.util}
é    )ÚskipIf)ÚTestCaseTz.Skip all tests when @skipIf is used on a classc                   ó,   • \ rS rSrSrSS jrSS jrSrg)ÚSkipDecoratorUsedOnClassé   zN
All tests should be skipped because @skipIf decorator is used on
this class.
Nc                 ó   • [        S5      e©Nz%Test should skip and never reach here©Ú	Exception©Úselfs    Ú`C:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/trial/test/test_skip.pyÚtest_shouldNeverRun_1Ú.SkipDecoratorUsedOnClass.test_shouldNeverRun_1   ó   € ÜÐ?Ó@Ð@ó    c                 ó   • [        S5      er	   r
   r   s    r   Útest_shouldNeverRun_2Ú.SkipDecoratorUsedOnClass.test_shouldNeverRun_2   r   r   © ©ÚreturnN©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   Ú__static_attributes__r   r   r   r   r      ó   † ñô
A÷Ar   r   Ú c                   ó,   • \ rS rSrSrSS jrSS jrSrg)Ú'SkipDecoratorUsedOnClassWithEmptyReasoné   zt
All tests should be skipped because @skipIf decorator is used on
this class, even if the reason is an empty string
Nc                 ó   • [        S5      er	   r
   r   s    r   r   Ú=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_1#   r   r   c                 ó   • [        S5      er	   r
   r   s    r   r   Ú=SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_2&   r   r   r   r   r   r   r   r   r#   r#      r    r   r#   c                   óª   • \ rS rSrSr\" SS5      SS j5       r\" SS5      SS j5       rSS	 jr\" S
S5      SS j5       r	\" S
S5      SS j5       r
Srg)ÚSkipDecoratorUsedOnMethodsé*   úA
Only methods where @skipIf decorator is used should be skipped.
Tz"skipIf decorator used so skip testNc                 ó   • [        S5      er	   r
   r   s    r   Útest_shouldNeverRunÚ.SkipDecoratorUsedOnMethods.test_shouldNeverRun/   ó   € äÐ?Ó@Ð@r   r!   c                 ó   • [        S5      er	   r
   r   s    r   Ú"test_shouldNeverRunWithEmptyReasonÚ=SkipDecoratorUsedOnMethods.test_shouldNeverRunWithEmptyReason3   r0   r   c                 ó(   • U R                  SS5        g ©NTz"Test should run and not be skipped©Ú
assertTruer   s    r   Útest_shouldShouldRunÚ/SkipDecoratorUsedOnMethods.test_shouldShouldRun7   ó   € Ø�‰˜ÐBÕCr   Fzshould not skipc                 ó(   • U R                  SS5        g r5   r6   r   s    r   Ú#test_shouldShouldRunWithSkipIfFalseÚ>SkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalse:   ó   € à�‰˜ÐBÕCr   c                 ó(   • U R                  SS5        g r5   r6   r   s    r   Ú.test_shouldShouldRunWithSkipIfFalseEmptyReasonÚISkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalseEmptyReason>   r>   r   r   r   )r   r   r   r   r   r   r.   r2   r8   r<   r@   r   r   r   r   r*   r*   *   sƒ   † ññ ˆDÐ6Ó7óAó 8ðAñ ˆD�"ÓóAó ðAôDñ ˆEÐ$Ó%óDó &ðDñ ˆE�2ÓóDó óDr   r*   c                   ó0   • \ rS rSrSrSrSS jrSS jrSrg)	ÚSkipAttributeOnClasséC   zJ
All tests should be skipped because skip attribute is set on
this class.
z5'skip' attribute set on this class, so skip all testsNc                 ó   • [        S5      er	   r
   r   s    r   Útest_oneÚSkipAttributeOnClass.test_oneK   r   r   c                 ó   • [        S5      er	   r
   r   s    r   Útest_twoÚSkipAttributeOnClass.test_twoN   r   r   r   r   )	r   r   r   r   r   ÚskiprF   rI   r   r   r   r   rC   rC   C   s   † ñð
 C€DôA÷Ar   rC   c                   ó:   • \ rS rSrSrSS jrS\l        SS jrSrg)	ÚSkipAttributeOnMethodséR   r,   Nc                 ó   • [        S5      e)NzShould never reach herer
   r   s    r   rF   ÚSkipAttributeOnMethods.test_oneW   s   € ÜÐ1Ó2Ð2r   z'skip test, skip attribute set on methodc                 ó(   • U R                  SS5        g r5   r6   r   s    r   Útest_shouldNotSkipÚ)SkipAttributeOnMethods.test_shouldNotSkip\   r:   r   r   r   )	r   r   r   r   r   rF   rK   rR   r   r   r   r   rM   rM   R   s   † ñô3ð >€H„M÷Dr   rM   N)
r   Úunittestr   Útwisted.trial.unittestr   r   r#   r*   rC   rM   r   r   r   Ú<module>rV      sˆ   ðñ
õ å +ñ ˆÐ>Ó?ô
A˜xó 
Aó @ð
Añ ˆˆbÓô
A¨hó 
Aó ð
AôD ô Dô2A˜8ô AôD˜Xõ Dr   