%PDF- %PDF-
Mini Shell

Mini Shell

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

�

Ϫ�fK��b�dZddlmZddlmZddlmZddlmZGd�dej�Z
y)	z%
Tests for L{twisted.internet.main}.
�)�ReactorAlreadyInstalledError)�installReactor)�	NoReactor)�unittestc�(�eZdZdZdd�Zdd�Zdd�Zy)�InstallReactorTestsz&
    Tests for L{installReactor}.
    Nc��t�5t�}t|�ddlm}|j||�ddd�y#1swYyxYw)zN
        L{installReactor} installs a new reactor if none is present.
        r)�reactorN)r�objectr�twisted.internetr
�assertIs)�self�
newReactorr
s   �A/usr/lib/python3/dist-packages/twisted/internet/test/test_main.py�test_installReactorz'InstallReactorTests.test_installReactors>���[�	/���J��:�&�0��M�M�*�g�.�	/�	/�	/�s�.A�Ac��t�5tt��|jttt��ddd�y#1swYyxYw)zv
        If a reactor is already installed, L{installReactor} raises
        L{ReactorAlreadyInstalledError}.
        N)rrr�assertRaisesr�rs r�test_alreadyInstalledz)InstallReactorTests.test_alreadyInstalledsA��
�[�	V��6�8�$����:�N�F�H�U�	V�	V�	V�s�7A�Ac�J�|jttt��y)zo
        For backwards compatibility, L{ReactorAlreadyInstalledError} is an
        L{AssertionError}.
        N)�
assertTrue�
issubclassr�AssertionErrorrs r�test_errorIsAnAssertionErrorz0InstallReactorTests.test_errorIsAnAssertionError(s��
	
���
�#?��P�Q�)�returnN)�__name__�
__module__�__qualname__�__doc__rrr�rrrrs���	/�V�RrrN)r �twisted.internet.errorr�twisted.internet.mainr�#twisted.internet.test.modulehelpersr�
twisted.trialr�SynchronousTestCaserr!rr�<module>r's-���
@�0�9�"�R�(�6�6�Rr

Zerion Mini Shell 1.0