config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_poll.pyc

łň
h”Rc
@sÂddkZddkZddkZddkZddklZlZlZlZyei	Wne
j
oed‚nXd„Zd„Zd„Z
d„Zd„ZeƒeƒeƒdS(	i˙˙˙˙N(tverifytverbosetTestSkippedtTESTFNs-select.poll not defined -- skipping test_pollcCs=g}x0|D](\}}||@o|i|ƒq
q
W|S(N(tappend(treadytflagtmatchtfdtmode((s*/usr/local/lib/python2.5/test/test_poll.pytfind_ready_matchingscCsédGHtiƒ}d}d}t|ƒ}g}g}h}h}xzt|ƒD]l}tiƒ\}	}
|i|	tiƒ|i|
tiƒ|i	|	ƒ|i	|
ƒ|
||	<|	||
<qNWx|o|iƒ}t
|tiƒ}|p
td‚nti
|ƒ}
ti|
|ƒ|iƒ}t
|tiƒ}
|
p
td‚nti
|
ƒ}	ti|	|ƒ}tt|ƒ|jƒ|GHti||	ƒti|	ƒ|i||	ƒ|i|	ƒ|i||	ƒqÁWtƒdGHdS(siBasic functional test of poll object

    Create a bunch of pipe and test that poll works with them.
    sRunning poll test 1is This is a test.sno pipes ready for writingsno pipes ready for readingsPoll test 1 completeN(tselecttpolltlentrangetostpipetregistertPOLLINtPOLLOUTRR
tRuntimeErrortrandomtchoicetwritetreadRtcloset
unregistertremovetpoll_unit_tests(tpt	NUM_PIPEStMSGtMSG_LENtreaderstwriterstr2wtw2rtitrdtwrRt
ready_writerst
ready_readerstbuf((s*/usr/local/lib/python2.5/test/test_poll.pyt
test_poll1sR







cCs=d}yti|ƒWntj
onXtiƒ}|i|ƒ|iƒ}t|d|tifjƒtt	dƒ}|i
ƒ}tiƒ}|i|ƒ|iƒ}t|dd|jƒ|iƒ|iƒ}t|d|tifjƒtit	ƒtiƒ}y|i|ƒWntj
onXdGHy|i
|ƒWntj
onXdGHtiƒ}y|i
dƒWntj
onXdGHtiƒ}dd
d	„ƒY}d
dd„ƒY}y|i|ƒdƒWntj
onXdGHy|i|ƒdƒWntj
onXdGHdS(Ni*itws+Bogus register call did not raise TypeErrors-Bogus unregister call did not raise TypeErroris,Bogus unregister call did not raise KeyErrortNopecBseZRS((t__name__t
__module__(((s*/usr/local/lib/python2.5/test/test_poll.pyR-ustAlmostcBseZd„ZRS(cSsdS(Ntfileno((tself((s*/usr/local/lib/python2.5/test/test_poll.pyR1ys(R.R/R1(((s*/usr/local/lib/python2.5/test/test_poll.pyR0xss(expected TypeError exception, not raised(((RRtOSErrorRRRRtPOLLNVALtopenRR1tunlinkt	TypeErrorRtKeyError(tFDRtrtfRtpollsterR-R0((s*/usr/local/lib/python2.5/test/test_poll.pyRDsb



cCs>dGHd}ti|dƒ}tiƒ}|i|tiƒxěddD]ŕ}to
dG|GHn|i|ƒ}|gjoqGn|d\}}|ti@o)|iƒ}|d
jo	dGHqGqGqG|ti@oE|iƒ}tot	|ƒGHn|pto	dGHnPqGqGqGdG|GHqGW|i
ƒdGHdS(NsRunning poll test 2s?for i in 0 1 2 3 4 5 6 7 8 9; do echo testing...; sleep 1; doneR:iičiĐi i@i€>i˙˙˙˙i
s	timeout =ts6error: pipe seems to be closed, but still returns datatEOFs)Unexpected return value from select.poll:sPoll test 2 complete(iičiĐi i@i€>(i˙˙˙˙(
i˙˙˙˙i˙˙˙˙i˙˙˙˙i˙˙˙˙i˙˙˙˙i˙˙˙˙i˙˙˙˙i˙˙˙˙i˙˙˙˙i˙˙˙˙(RtpopenRRRRRtPOLLHUPtreadlinetreprR(tcmdRR<ttouttfdlistRtflagstline((s*/usr/local/lib/python2.5/test/test_poll.pyt
test_poll2Šs<


		

cCsodGHtiƒ}|idƒy|idƒWntj
onXdGHd}|djo	d	GHnd
GHdS(
NsRunning poll test 3ili@s-Expected OverflowError with excessive timeoutiiisOverflow must have occurredsPoll test 3 completeli(RRRt
OverflowError(R<tx((s*/usr/local/lib/python2.5/test/test_poll.pyt
test_poll3Ťs

	(tsysRRRttest.test_supportRRRRRtAttributeErrorR
R+RRHRK(((s*/usr/local/lib/python2.5/test/test_poll.pys<module>s0"		1	F	!	

Man Man