ó
    ×›‘h/  ã                   ó²  • S r SSKrSSKJrJr  SSKJr  SSKJrJ	r	   " S S\R                  5      r\S:X  a   \	R                  " \R                  S	   5      R                  5         \R                   " \" \R                  S
   S5      5        SSKJr  \" 5       r\R(                  " \5        \R*                  " 5         \R,                  " \R.                  5        gg)zº
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_loseConnection} to
test that ITransport.loseConnection() works for process transports.
é    N)ÚprotocolÚstdio)ÚConnectionDone)ÚlogÚreflectc                   ó$   • \ rS rSrSrS rS rSrg)ÚLoseConnChildé   r   c                 ó8   • U R                   R                  5         g )N)Ú	transportÚloseConnection)Úselfs    ÚdC:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/test/stdio_test_loseconn.pyÚconnectionMadeÚLoseConnChild.connectionMade   s   € Ø�‰×%Ñ%Õ'ó    c                 óì   •   UR                  [        5        [        R                  " 5         g! [         a!    [        R                  " SS5        SU l         N@f = f! [        R                  " 5         f = f)zó
Check that C{reason} is a L{Failure} wrapping a L{ConnectionDone}
instance and stop the reactor.  If C{reason} is wrong for some reason,
log something about that in C{self.errorLogFile} and make sure the
process exits with a non-zero status.
Nz,Problem with reason passed to connectionLosté   )Útrapr   ÚBaseExceptionr   ÚerrÚexitCodeÚreactorÚstop)r   Úreasons     r   ÚconnectionLostÚLoseConnChild.connectionLost   sV   € ð	ð"Ø—‘œNÔ+ô
 �LŠL�Nøô	 !ó "Ü—’˜ÐLÔMØ !�–ð"ûô �LŠL�Nús!   ƒ. ®(AÁA ÁAÁA ÁA3)r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r   Ú__static_attributes__© r   r   r	   r	      s   † Ø€Hò(õr   r	   Ú__main__r   é   Úwb)r   )Ú__doc__ÚsysÚtwisted.internetr   r   Útwisted.internet.errorr   Útwisted.pythonr   r   ÚProtocolr	   r   ÚnamedAnyÚargvÚinstallÚstartLoggingÚopenr   ÚprotocolLoseConnChildÚ
StandardIOÚrunÚexitr   r#   r   r   Ú<module>r6      s«   ðñ
ó ç ,Ý 1ß 'ô�H×%Ñ%ô ð. ˆzÓØ×Ò�S—X‘X˜a‘[Ó!×)Ñ)Ô+Ø×Ò‘T˜#Ÿ(™( 1™+ tÓ,Ô-Ý(á)›OÐØ	×ÒÐ*Ô+Ø‡K‚K„MØ‡H‚HÐ"×+Ñ+Õ,ð r   