Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/test/stdio_test_lastwrite.pyc

ó
[³XMc@s¯dZddlZddlmZddlmZddlmZdefd„ƒYZd„Z	e
d	kr«eejd
ƒjƒddl
mZe	eejdƒndS(
sà
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTestCase.test_lastWriteReceived}
to test that L{os.write} can be reliably used after
L{twisted.internet.stdio.StandardIO} has finished.
iÿÿÿÿN(tProtocol(t
StandardIO(tnamedAnytLastWriteChildcBs#eZd„Zd„Zd„ZRS(cCs||_||_dS(N(treactortmagicString(tselfRR((sE/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_lastwrite.pyt__init__s	cCs$|jj|jƒ|jjƒdS(N(t	transporttwriteRtloseConnection(R((sE/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_lastwrite.pytconnectionMadescCs|jjƒdS(N(Rtstop(Rtreason((sE/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_lastwrite.pytconnectionLosts(t__name__t
__module__RRR(((sE/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_lastwrite.pyRs		cCs't||ƒ}t|ƒ|jƒdS(N(RRtrun(RRtp((sE/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_lastwrite.pytmain#s
t__main__i(Ri(t__doc__tsysttwisted.internet.protocolRttwisted.internet.stdioRttwisted.python.reflectRRRRtargvtinstallttwisted.internetR(((sE/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_lastwrite.pyt<module>
s