+
    üÐ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# )ÚSkipDecoratorUsedOnMethodsúA
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_shouldShouldRunWithSkipIfFalseEmptyReasonÚISkipDecoratorUsedOnMethods.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ñ ˆE�2Ó÷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ð >€H„M÷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   