| Server IP : 195.114.193.97 / Your IP : 216.73.217.93 Web Server : LiteSpeed System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : sembi4241 ( 1126) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/test/__pycache__/ |
Upload File : |
o
�b� � @ s~ d Z ddlZddlmZmZ ddlmZ G dd� dej�Ze dkr=e�
ejd ��� dd lm
Z
e�e� � e
�� dS dS )
z�
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_write} to test that
ITransport.write() works for process transports.
� N)�protocol�stdio)�reflectc @ s e Zd Zdd� Zdd� ZdS )�
WriteChildc C s2 | j �d� | j �d� | j �d� | j �� d S )N� o� k� !)� transport�write�loseConnection)�self� r
�?/usr/lib/python3/dist-packages/twisted/test/stdio_test_write.py�connectionMade s zWriteChild.connectionMadec C s t �� d S )N)�reactor�stop)r �reasonr
r
r �connectionLost s zWriteChild.connectionLostN)�__name__�
__module__�__qualname__r r r
r
r
r r s r �__main__� )r )�__doc__�sys�twisted.internetr r �twisted.pythonr �Protocolr r �namedAny�argv�installr �
StandardIO�runr
r
r
r �<module> s �