Ë
    oj„  ã                   óð   — d Z ddlZddlmZ ddlmZ  G d„ dej                  «      Zd„ Zd„ Z	 G d	„ d
ej                  «      Z
 G d„ dej                  «      Z G d„ d«      Z G d„ dej                  «      Zy)z¶This module is used by test_loader to test the Trial test loading
functionality. Do NOT change the number of tests in this module.  Do NOT change
the names the tests in this module.
é    N©ÚmergeFunctionMetadata)Úunittestc                   ó   — e Zd Zdd„Zdd„Zy)ÚFooTestNc                  ó   — y ©N© ©Úselfs    ú;/usr/lib/python3/dist-packages/twisted/trial/test/sample.pyÚtest_foozFooTest.test_foo   ó   € Øó    c                  ó   — y r	   r
   r   s    r   Útest_barzFooTest.test_bar   r   r   ©ÚreturnN©Ú__name__Ú
__module__Ú__qualname__r   r   r
   r   r   r   r      ó   „ óôr   r   c                 ó   ‡ — ˆ fd„}|S )z„
    Decorate a function without preserving the name of the original function.
    Always return a function with the same name.
    c                  ó   •—  ‰| i |¤ŽS r	   r
   ©ÚargsÚkwargsÚfns     €r   ÚnameCollisionz#badDecorator.<locals>.nameCollision   ó   ø€ Ù�4Ð"˜6Ñ"Ð"r   r
   ©r   r    s   ` r   ÚbadDecoratorr#      s   ø€ ô#ð Ðr   c                 ó&   ‡ — ˆ fd„}t        ‰ |«      S )z=
    Decorate a function and preserve the original name.
    c                  ó   •—  ‰| i |¤ŽS r	   r
   r   s     €r   r    z$goodDecorator.<locals>.nameCollision&   r!   r   r   r"   s   ` r   ÚgoodDecoratorr&   !   s   ø€ ô
#ô !  ]Ó3Ð3r   c                   ó\   — e Zd Zdd„Z ee«      Zdd„Z ee«      Zdd„Z ee«      Zdd„Z	y)ÚDecorationTestNc                  ó   — y)z‚
        This test method is decorated in a way that gives it a confusing name
        that collides with another method.
        Nr
   r   s    r   Útest_badDecoratorz DecorationTest.test_badDecorator-   ó   � r   c                  ó   — y)zQ
        This test method is decorated in a way that preserves its name.
        Nr
   r   s    r   Útest_goodDecoratorz!DecorationTest.test_goodDecorator5   r+   r   c                  ó   — y)z~
        This is secretly a test method and will be decorated and then renamed so
        test discovery can find it.
        Nr
   r   s    r   ÚrenamedDecoratorzDecorationTest.renamedDecorator<   r+   r   c                  ó   — y)zJ
        This isn't a test, it's just here to collide with tests.
        Nr
   r   s    r   r    zDecorationTest.nameCollisionD   r+   r   r   )
r   r   r   r*   r#   r-   r&   r/   Útest_renamedDecoratorr    r
   r   r   r(   r(   ,   s@   „ óñ %Ð%6Ó7Ðóñ
 'Ð'9Ó:Ðóñ *Ð*:Ó;Ðôr   r(   c                   ó   — e Zd Zdd„Zdd„Zy)Ú
PyunitTestNc                  ó   — y r	   r
   r   s    r   r   zPyunitTest.test_fooK   r   r   c                  ó   — y r	   r
   r   s    r   r   zPyunitTest.test_barN   r   r   r   r   r
   r   r   r3   r3   J   r   r   r3   c                   ó   — e Zd Zdd„Zy)ÚNotATestNc                  ó   — y r	   r
   r   s    r   r   zNotATest.test_fooS   r   r   r   )r   r   r   r   r
   r   r   r7   r7   R   s   „ ôr   r7   c                   ó$   — e Zd Zdd„Zdd„Zdd„Zy)ÚAlphabetTestNc                  ó   — y r	   r
   r   s    r   Útest_azAlphabetTest.test_aX   r   r   c                  ó   — y r	   r
   r   s    r   Útest_bzAlphabetTest.test_b[   r   r   c                  ó   — y r	   r
   r   s    r   Útest_czAlphabetTest.test_c^   r   r   r   )r   r   r   r<   r>   r@   r
   r   r   r:   r:   W   s   „ óóôr   r:   )Ú__doc__r   ÚpyunitÚtwisted.python.utilr   Útwisted.trialÚSynchronousTestCaser   r#   r&   r(   ÚTestCaser3   r7   r:   r
   r   r   ú<module>rG      so   ðñó å 5Ý "ôˆh×*Ñ*ô ò	ò4ô�X×1Ñ1ô ô<�—‘ô ÷ñ ô
�8×/Ñ/õ r   