| Server IP : 159.223.102.202 / Your IP : 216.73.216.195 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/test/__pycache__/ |
Upload File : |
�
M��e� � � � d Z ddlZddlmZmZ ddlmZ G d� dej � Ze dk( r\ ej ej d � j � dd lm
Z
ej e� � e
j � yy)
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 � � e Zd Zd� Zd� Zy)�
WriteChildc �� � | j j d� | j j d� | j j d� | j j � y )N� o� k� !)� transport�write�loseConnection)�selfs �?/usr/lib/python3/dist-packages/twisted/test/stdio_test_write.py�connectionMadezWriteChild.connectionMade sH � ������T�"������T�"������T�"����%�%�'� c �, � t j � y )N)�reactor�stop)r �reasons r �connectionLostzWriteChild.connectionLost s � ����r N)�__name__�
__module__�__qualname__r r � r r r r s � �(�r r �__main__� )r )�__doc__�sys�twisted.internetr r �twisted.pythonr �Protocolr r �namedAny�argv�installr �
StandardIO�runr r r �<module>r( sw ��
� � ,� "���"�"� � �z���G���S�X�X�a�[�!�)�)�+�(��E���Z�\�"��G�K�K�M� r