Ë
    ojÁ  ã                   ó\   — d Z ddlmZmZ  G d„ d«      Z G d„ dee«      Z G d„ dee«      Zy	)
zm
Direct unit tests for L{twisted.trial.unittest.SynchronousTestCase} and
L{twisted.trial.unittest.TestCase}.
é    )ÚSynchronousTestCaseÚTestCasec                   ó"   — e Zd ZdZd„ Zd„ Zd„ Zy)ÚTestCaseMixinz
    L{TestCase} tests.
    c                 ó\   — | j                  d«      | _        | j                  d«      | _        y)z’
        Create a couple instances of C{MyTestCase}, each for the same test
        method, to be used in the test methods of this class.
        Útest_1N)Ú
MyTestCaseÚfirstÚsecond©Úselfs    úB/usr/lib/python3/dist-packages/twisted/trial/test/test_testcase.pyÚsetUpzTestCaseMixin.setUp   s$   € ð
 —_‘_ XÓ.ˆŒ
Ø—o‘o hÓ/ˆ�ó    c                 óô   — | j                  | j                  | j                  k(  «       | j                  | j                  | j                  k7  «       | j                  | j                  | j                  k(  «       y)z�
        In order for one test method to be runnable twice, two TestCase
        instances with the same test method name must not compare as equal.
        N)Ú
assertTruer
   r   ÚassertFalser   s    r   Útest_equalityzTestCaseMixin.test_equality   sQ   € ð
 	�‰˜Ÿ
™
 d§j¡jÑ0Ô1Ø�‰˜Ÿ
™
 d§k¡kÑ1Ô2Ø×Ñ˜Ÿ™ t§{¡{Ñ2Õ3r   c                 óz   — i }d|| j                   <   d|| j                  <   | j                  t        |«      d«       y)z¯
        In order for one test method to be runnable twice, two TestCase
        instances with the same test method name should not have the same
        hash value.
        Né   )r
   r   ÚassertEqualÚlen)r   Ú	containers     r   Útest_hashabilityzTestCaseMixin.test_hashability#   s9   € ð ˆ	Ø $ˆ	�$—*‘*ÑØ!%ˆ	�$—+‘+ÑØ×Ñœ˜Y›¨Õ+r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   © r   r   r   r      s   „ ñò0ò4ó	,r   r   c                   ó"   — e Zd Z G d„ de«      Zy)ÚSynchronousTestCaseTestsc                   ó   — e Zd ZdZd„ Zy)ú#SynchronousTestCaseTests.MyTestCasezj
        Some test methods which can be used to test behaviors of
        L{SynchronousTestCase}.
        c                  ó   — y ©Nr   r   s    r   r   z*SynchronousTestCaseTests.MyTestCase.test_16   ó   € Ør   N©r   r   r   r   r   r   r   r   r	   r#   0   ó   „ ñ	ó
	r   r	   N)r   r   r   r   r	   r   r   r   r!   r!   /   s   „ ôÐ(õ r   r!   c                   ó"   — e Zd Z G d„ de«      Zy)ÚAsynchronousTestCaseTestsc                   ó   — e Zd ZdZd„ Zy)ú$AsynchronousTestCaseTests.MyTestCasez_
        Some test methods which can be used to test behaviors of
        L{TestCase}.
        c                  ó   — y r%   r   r   s    r   r   z+AsynchronousTestCaseTests.MyTestCase.test_1C   r&   r   Nr'   r   r   r   r	   r,   =   r(   r   r	   N)r   r   r   r   r	   r   r   r   r*   r*   <   s   „ ô�Xõ r   r*   N)r   Útwisted.trial.unittestr   r   r   r!   r*   r   r   r   ú<module>r/      s9   ðñ÷ A÷,ñ ,ôD˜}Ð.Aô ô Ð/Bõ r   