+
    Dfj
                         R t ^ RIHt ^ RIHt ]! RR4       ! R R]4      4       t]! RR4       ! R R	]4      4       t ! R
 R]4      t ! R R]4      t ! R R]4      t	R# )z!
Tests for L{twisted.trial.util}
)skipIf)TestCaseTz.Skip all tests when @skipIf is used on a classc                   H   a  ] tR t^t o RtV 3R lR ltV 3R lR ltRtV tR# )SkipDecoratorUsedOnClasszN
All tests should be skipped because @skipIf decorator is used on
this class.
c                   < V ^8  d   QhRR/#    returnN )format__classdict__s   ">/usr/lib/python3/dist-packages/twisted/trial/test/test_skip.py__annotate__%SkipDecoratorUsedOnClass.__annotate__        A At A    c                    \        R 4      hz%Test should skip and never reach here	Exceptionselfs   &r   test_shouldNeverRun_1.SkipDecoratorUsedOnClass.test_shouldNeverRun_1       ?@@r   c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   r      r   r   c                    \        R 4      hr   r   r   s   &r   test_shouldNeverRun_2.SkipDecoratorUsedOnClass.test_shouldNeverRun_2   r   r   r
   N	__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classdictcell__r   s   @r   r   r      "     
A AA Ar   r    c                   H   a  ] tR t^t o RtV 3R lR ltV 3R lR ltRtV tR# )'SkipDecoratorUsedOnClassWithEmptyReasonzt
All tests should be skipped because @skipIf decorator is used on
this class, even if the reason is an empty string
c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   4SkipDecoratorUsedOnClassWithEmptyReason.__annotate__#   r   r   c                    \        R 4      hr   r   r   s   &r   r   =SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_1#   r   r   c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   r-   &   r   r   c                    \        R 4      hr   r   r   s   &r   r   =SkipDecoratorUsedOnClassWithEmptyReason.test_shouldNeverRun_2&   r   r   r
   Nr   r'   s   @r   r+   r+      r(   r   r+   c                      a  ] tR t^*t o Rt]! RR4      V 3R lR l4       t]! RR4      V 3R lR l4       tV 3R	 lR
 lt]! RR4      V 3R lR l4       t	]! RR4      V 3R lR l4       t
RtV tR# )SkipDecoratorUsedOnMethodsA
Only methods where @skipIf decorator is used should be skipped.
Tz"skipIf decorator used so skip testc                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   'SkipDecoratorUsedOnMethods.__annotate__0   s     A AT Ar   c                    \        R 4      hr   r   r   s   &r   test_shouldNeverRun.SkipDecoratorUsedOnMethods.test_shouldNeverRun/       ?@@r   r)   c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   r7   4   s     A AD Ar   c                    \        R 4      hr   r   r   s   &r   "test_shouldNeverRunWithEmptyReason=SkipDecoratorUsedOnMethods.test_shouldNeverRunWithEmptyReason3   r;   r   c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   r7   7   s     D Dd Dr   c                *    V P                  R R4       R# Tz"Test should run and not be skippedN
assertTruer   s   &r   test_shouldShouldRun/SkipDecoratorUsedOnMethods.test_shouldShouldRun7       BCr   Fzshould not skipc                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   r7   ;   s     D DT Dr   c                *    V P                  R R4       R# rB   rC   r   s   &r   #test_shouldShouldRunWithSkipIfFalse>SkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalse:       BCr   c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   r7   ?   s     D D Dr   c                *    V P                  R R4       R# rB   rC   r   s   &r   .test_shouldShouldRunWithSkipIfFalseEmptyReasonISkipDecoratorUsedOnMethods.test_shouldShouldRunWithSkipIfFalseEmptyReason>   rL   r   r
   N)r    r!   r"   r#   r$   r   r9   r>   rE   rJ   rO   r%   r&   r'   s   @r   r4   r4   *   s      D67A 8A D"A AD D E$%D &D E2D Dr   r4   c                   L   a  ] tR t^Ct o RtRtV 3R lR ltV 3R lR ltRtV t	R# )	SkipAttributeOnClasszJ
All tests should be skipped because skip attribute is set on
this class.
z5'skip' attribute set on this class, so skip all testsc                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   !SkipAttributeOnClass.__annotate__K        A A$ Ar   c                    \        R 4      hr   r   r   s   &r   test_oneSkipAttributeOnClass.test_oneK   r   r   c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   rT   N   rU   r   c                    \        R 4      hr   r   r   s   &r   test_twoSkipAttributeOnClass.test_twoN   r   r   r
   N)
r    r!   r"   r#   r$   skiprW   r[   r%   r&   r'   s   @r   rR   rR   C   s*     
 CDA AA Ar   rR   c                   V   a  ] tR t^Rt o RtV 3R lR ltR]n        V 3R lR ltRtV t	R# )	SkipAttributeOnMethodsr5   c                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   #SkipAttributeOnMethods.__annotate__W   s     3 3$ 3r   c                    \        R 4      h)zShould never reach herer   r   s   &r   rW   SkipAttributeOnMethods.test_oneW   s    122r   z'skip test, skip attribute set on methodc                   < V ^8  d   QhRR/# r   r
   )r   r   s   "r   r   ra   \   s     D DD Dr   c                *    V P                  R R4       R# rB   rC   r   s   &r   test_shouldNotSkip)SkipAttributeOnMethods.test_shouldNotSkip\   rG   r   r
   N)
r    r!   r"   r#   r$   rW   r]   rf   r%   r&   r'   s   @r   r_   r_   R   s)     3 3 >HMD Dr   r_   N)
r$   unittestr   twisted.trial.unittestr   r   r+   r4   rR   r_   r
   r   r   <module>rj      s   
  + >?
Ax 
A @
A b
Ah 
A 
AD D2A8 ADX Dr   