File: //lib/python3/dist-packages/twisted/test/__pycache__/stdio_test_writeseq.cpython-312.pyc
�
Ϫ�f~ � � � 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_writeSequence} to test
that ITransport.writeSequence() works for process transports.
� N)�protocol�stdio)�reflectc � � e Zd Zd� Zd� Zy)�WriteSequenceChildc �r � | j j g d�� | j j � y )N)� o� k� !)� transport�
writeSequence�loseConnection)�selfs �B/usr/lib/python3/dist-packages/twisted/test/stdio_test_writeseq.py�connectionMadez!WriteSequenceChild.connectionMade s% � ����$�$�%7�8����%�%�'� c �, � t j � y )N)�reactor�stop)r �reasons r �connectionLostz!WriteSequenceChild.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( sy ��
� � ,� "���*�*� � �z���G���S�X�X�a�[�!�)�)�+�(��E���'�)�*��G�K�K�M� r