HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/internet/test/__pycache__/test_error.cpython-310.pyc
o

�bB�@s0dZddlmZddlmZGdd�de�ZdS)z%
Tests for L{twisted.internet.error}
�)�error)�SynchronousTestCasec@s eZdZdZdd�Zdd�ZdS)�ConnectionAbortedTestszN
    Tests for the L{twisted.internet.error.ConnectionAborted} exception.
    cCs|�dtt����dS)z�
        The default message of L{ConnectionAborted} is a sentence which points
        to L{ITCPTransport.abortConnection()}
        zCConnection was aborted locally using ITCPTransport.abortConnection.N��assertEqual�strr�ConnectionAborted��self�r�B/usr/lib/python3/dist-packages/twisted/internet/test/test_error.py�test_strs
�zConnectionAbortedTests.test_strcCs|�dtt�dd���dS)zc
        Any arguments passed to L{ConnectionAborted} are included in its
        message.
        zLConnection was aborted locally using ITCPTransport.abortConnection: foo bar.�foo�barNrr	rrr�test_strArgss�z#ConnectionAbortedTests.test_strArgsN)�__name__�
__module__�__qualname__�__doc__r
rrrrrr
s
rN)r�twisted.internetr�twisted.trial.unittestrrrrrr�<module>s