%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/trial/test/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/trial/test/__pycache__/test_testcase.cpython-312.pyc

�

Ϫ�f���\�dZddlmZmZGd�d�ZGd�dee�ZGd�dee�Zy	)
zm
Direct unit tests for L{twisted.trial.unittest.SynchronousTestCase} and
L{twisted.trial.unittest.TestCase}.
�)�SynchronousTestCase�TestCasec�"�eZdZdZd�Zd�Zd�Zy)�
TestCaseMixinz
    L{TestCase} tests.
    c�\�|jd�|_|jd�|_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�setUpzTestCaseMixin.setUps$��
�_�_�X�.��
��o�o�h�/���c���|j|j|jk(�|j|j|jk7�|j|j|jk(�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_equalityzTestCaseMixin.test_equalitysQ��
	
����
�
�d�j�j�0�1�����
�
�d�k�k�1�2�������t�{�{�2�3rc�z�i}d||j<d||j<|jt|�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_hashabilityzTestCaseMixin.test_hashability#s9���	� $�	�$�*�*��!%�	�$�+�+������Y���+rN)�__name__�
__module__�__qualname__�__doc__rrr�rrrr
s���0�4�	,rrc�"�eZdZGd�de�Zy)�SynchronousTestCaseTestsc��eZdZdZd�Zy)�#SynchronousTestCaseTests.MyTestCasezj
        Some test methods which can be used to test behaviors of
        L{SynchronousTestCase}.
        c��y�Nrrs rrz*SynchronousTestCaseTests.MyTestCase.test_16���rN�rrrrrrrrr	r#0���	�
	rr	N)rrrrr	rrrr!r!/s���(�rr!c�"�eZdZGd�de�Zy)�AsynchronousTestCaseTestsc��eZdZdZd�Zy)�$AsynchronousTestCaseTests.MyTestCasez_
        Some test methods which can be used to test behaviors of
        L{TestCase}.
        c��yr%rrs rrz+AsynchronousTestCaseTests.MyTestCase.test_1Cr&rNr'rrrr	r,=r(rr	N)rrrrr	rrrr*r*<s���X�rr*N)r�twisted.trial.unittestrrrr!r*rrr�<module>r/s9���A�,�,�D�}�.A���
�/B�r

Zerion Mini Shell 1.0