Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/internet/test/__pycache__/ |
Upload File : |
o �bB � @ s0 d Z ddlmZ ddlmZ G dd� de�ZdS )z% Tests for L{twisted.internet.error} � )�error)�SynchronousTestCasec @ s e Zd ZdZdd� Zdd� ZdS )�ConnectionAbortedTestszN Tests for the L{twisted.internet.error.ConnectionAborted} exception. c C s | � 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_str s �zConnectionAbortedTests.test_strc C s | � 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�barNr r r r r �test_strArgs s �z#ConnectionAbortedTests.test_strArgsN)�__name__� __module__�__qualname__�__doc__r r r r r r r s r N)r �twisted.internetr �twisted.trial.unittestr r r r r r �<module> s