tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
O\¬Qc@sµddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
m Z ddl m Z mZmZddlmZyddlZWnek
rÝdZnXe jZdd,d„ƒYZdd-d„ƒYZd    d.d
„ƒYZd d/d „ƒYZd „Zdejfd„ƒYZdejfd„ƒYZdejfd„ƒYZdejfd„ƒYZdefd„ƒYZ ej!e"edƒdƒdejfd„ƒYƒZ#dej$fd„ƒYZ%dej$fd„ƒYZ&d e%fd!„ƒYZ'd"ejfd#„ƒYZ(d$e(fd%„ƒYZ)ej!e"ed&ƒd'ƒd(e(fd)„ƒYƒZ*d*„Z+e,d+kr±e+ƒndS(0iÿÿÿÿN(t test_support(tTESTFNt run_unittesttunlink(tStringIOt dummysocketcBs#eZd„Zd„Zd„ZRS(cCs t|_dS(N(tFalsetclosed(tself((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt__init__scCs t|_dS(N(tTrueR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pytclosescCsdS(Ni*((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pytfilenos(t__name__t
__module__R    R R (((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRs        t dummychannelcBseZd„Zd„ZRS(cCstƒ|_dS(N(Rtsocket(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    "scCs|jjƒdS(N(RR (R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR %s(R RR    R (((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR!s    t exitingdummycBs,eZd„Zd„ZeZeZeZRS(cCsdS(N((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    )scCstjƒ‚dS(N(tasyncoretExitNow(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pythandle_read_event,s(R RR    Rthandle_write_eventt handle_closethandle_expt_event(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR(s
        t crashingdummycBs5eZd„Zd„ZeZeZeZd„ZRS(cCs t|_dS(N(Rt error_handled(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    4scCs tƒ‚dS(N(t    Exception(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR7scCs t|_dS(N(R
R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt handle_error>s(R RR    RRRRR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR3s         c
CsözÚy#|jdƒ|jƒ\}}Wntjk
r<nXd}x‰|dkrÎtj|gggƒ\}}}|r´|jdƒ}    |j|    jddƒƒd|    kr´Pq´n|d8}tj    dƒqFW|j
ƒWd|j
ƒ|j ƒXdS(    NiiÈii
s
tig{®Gáz„?( tlistentacceptRttimeouttselecttrecvtwritetreplacettimetsleepR tset(
tevttbuftservtconntaddrtntrtwtetdata((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pytcapture_serverBs& ! 
 
tHelperFunctionTestscBsYeZd„Zejeedƒdƒd„ƒZd„Zd„Z    d„Z
d„Z RS(cCsÓtƒ}|jtjtj|ƒ|jtjtj|ƒ|jtjtj|ƒtƒ}tj|ƒ|j|j    t
ƒtƒ}tj|ƒ|j|j    t
ƒtƒ}tj|ƒ|j|j    t
ƒdS(N( Rt assertRaisesRRtreadR"t
_exceptionRt assertEqualRR
(Rttr1ttr2((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_readwriteexc\s                   tpollsselect.poll requiredc
CsHd}tjdftjdftjdftjdftjdftjdff}dd    d„ƒY}xÚ|D]Ò\}}|ƒ}|jt||ƒt    ƒt
j ||ƒx-|D]%}|jt||ƒ||kƒq³Wt ƒ}|j t
jt
j ||ƒtƒ}    |j|    jt    ƒt
j |    |ƒ|j|    jtƒqnWdS(
NR4texptR"RRttestobjcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cSs1t|_t|_t|_t|_t|_dS(N(RR4R"RR;R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    ‰s
                cSs t|_dS(N(R
R4(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRscSs t|_dS(N(R
R"(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR“scSs t|_dS(N(R
R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR–scSs t|_dS(N(R
R;(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR™scSs t|_dS(N(R
R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRœs(R RR    RRRRR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR<ˆs                     (sreadsexptswritescloseds error_handled((R tPOLLINtPOLLPRItPOLLOUTtPOLLERRtPOLLHUPtPOLLNVALR6tgetattrRRt    readwriteRR3RRRR
(
Rt
attributestexpectedR<tflagt expectedattrttobjtattrR7R8((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_readwriteys(          #        cCs|jtƒdS(N(tcloseall_checkR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt test_closeallµscCs|jtƒdS(N(RLR
(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_closeall_default¸scCsçg}i}xJtdƒD]<}tƒ}|j|ƒ|j|jjtƒ|||<qW|r™tj}z|t_tj    ƒWdtj|}t_Xn tj    |ƒ|jt
|ƒdƒx$|D]}|j|jjt ƒqÃWdS(Ni
i( trangeRtappendR6RRRRt
socket_mapt    close_alltlenR
(Rt
usedefaulttlttestmaptitct    socketmap((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRL»s"               c CsÔytdƒ‚Wn(tjƒ\}}}tjƒ}nX|jdƒ|\\}}}}}    }
|jtjj    |ƒddƒ|j|dƒ|j||ƒ|j|    |ƒ|j|
d|||fƒdS(NsI don't like spam!sExpected exceptioniÿÿÿÿstest_asyncore.pyttest_compact_tracebacks
[%s|%s|%s](
Rtsystexc_infoRtcompact_tracebacktfailR6tostpathtsplit( Rtreal_ttreal_vtreal_tbR-tftfunctiontlinetttvtinfo((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRZÕs  ( R RR9tunittestt
skipUnlessthasattrR RKRMRNRLRZ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR2[s     $<            tDispatcherTestscBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z    d„Z
RS(    cCsdS(N((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pytsetUpçscCstjƒdS(N(RRR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttearDownêscCs<tjƒ}|j|jƒtƒ|j|jƒtƒdS(N(Rt
dispatcherR6treadableR
twritable(Rtd((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt
test_basicís cCs0tjƒ}|jt|ƒdt|ƒƒdS(Ns<asyncore.dispatcher at %#x>(RRqR6treprtid(RRt((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt    test_repròs cCs’tjƒ}tƒ}tj}d}d}z'|t_|j|ƒ|j|ƒWd|t_X|jƒjƒ}|j|d|d|gƒdS(NsLovely spam! Wonderful spam!sI don't like spam!slog: %s(    RRqRR[tstderrtlogtgetvaluet
splitlinesR6(RRttfpRytl1tl2tlines((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_logös              
c    Cs¸tjƒ}tƒ}tj}d}d}d}z:|t_|j|dƒ|j|ƒ|j|dƒWd|t_X|jƒjƒ}d|d|d|g}|j||ƒdS(    Ns#Have you got anything without spam?s.Why can't she have egg bacon spam and sausage?sTHAT'S got spam in it!tEGGStSPAMsEGGS: %ssinfo: %ssSPAM: %s(    RRqRR[tstdouttlog_infoR{R|R6(    RRtR}R„R~Rtl3R€RF((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt test_log_infos              
cCs®tjƒ}d|_tƒ}tj}z?|t_|jƒ|jƒ|jƒ|j    ƒ|j
ƒWd|t_X|j ƒj ƒ}dddddg}|j ||ƒdS(Ns*warning: unhandled incoming priority eventswarning: unhandled read eventswarning: unhandled write events warning: unhandled connect eventswarning: unhandled accept event((RRqtignore_log_typesRR[R„t handle_exptt handle_readt handle_writethandle_connectt handle_acceptR{R|R6(RRtR}R„R€RF((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_unhandleds&                 
 
 
 
 
    cCs©tjtjƒƒ}|jtdt|dƒtjdtƒc}tj    dƒ|j
}|j |tj ƒ|j t |ƒdƒ|jt|djtƒƒWdQXdS(Nsdispatcher instancetfootrecordtalwaysii(RRqRtassertRaisesRegexptAttributeErrorRCtwarningstcatch_warningsR
t simplefiltertfamilyR6tAF_INETRSt
assertTruet
issubclasstcategorytDeprecationWarning(RRtR.R—((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_issue_85947s       cCsftjtjƒ}ttdƒr@|j|tjtjƒƒntjdƒ}|j|dkƒdS(NtstrerroriÿÿÿÿR(    Rt    _strerrorterrnotEPERMRmR_R6RžR™(Rterr((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt test_strerrorHs
( R RRoRpRuRxRR‡RŽRR£(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRnæs                                tdispatcherwithsend_noreadcBseZd„Zd„ZRS(cCstS(N(R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRrRscCsdS(N((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRŒUs(R RRrRŒ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR¤Qs    tDispatcherWithSendTestscBsDeZeZd„Zd„Zejedƒe    j
d„ƒƒZ RS(cCsdS(N((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRo[scCstjƒdS(N(RRR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRp^ss!Threading required for this test.c
Csctjƒ}tjtjtjƒ}|jdƒtj|ƒ}tƒ}|||f}tj    dt
d|ƒ}|j ƒz×t j dƒd}tƒ}|jtjtjƒ|jt|fƒt j dƒ|j|ƒ|j|ƒ|jdƒd}    x-|jr+|    d    kr+tjƒ|    d
8}    qÿW|jƒ|j|jƒ|d ƒWd|jƒXdS( Nittargettargsgš™™™™™É?s$Suppose there isn't a 16-ton weight?gš™™™™™¹?s
ièiii(t    threadingtEventRR˜t SOCK_STREAMt
settimeoutRt    bind_portRtThreadR1tstartR$R%R¤t create_sockettconnecttHOSTtsendt
out_bufferRR:twaitR6R{tjoin(
RR'tsocktporttcapR§RhR0RtR,((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt    test_sendas2      
         
 
( R RRtusepollRoRpRkRlR¨Rt reap_threadsR¹(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR¥Xs
        tDispatcherWithSendTests_UsePollcBseZeZRS((R RR
Rº(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR¼Šst file_wrappersasyncore.file_wrapper requiredtFileWrapperTestcBsPeZd„Zd„Zd„Zd„Zejee    dƒdƒd„ƒZ
RS(cCs5d|_ttdƒ}|j|jƒWdQXdS(NsIt's not dead, it's sleeping!R.(RttfileRR"(Rth((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRos    cCsttƒdS(N(RR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRp•scCs°tjttjƒ}tj|ƒ}tj|ƒ|j|j|ƒ|j|j    ƒ|ƒ|j
|j dƒdƒ|j
|j dƒdƒ|jƒ|j t|j dƒdS(Ni s It's not deadis, it'si(R_topenRtO_RDONLYRR½R tassertNotEqualtfdR R6R!R4R3tOSError(RRÄR.((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt    test_recv˜s 
cCs“d}d}tjttjtjBƒ}tj|ƒ}tj|ƒ|j|ƒ|j    |ƒ|jƒ|j
t tƒj ƒ|j ||ƒdS(Ns Come again?sI want to buy some cheese.(R_RÁRtO_WRONLYtO_APPENDRR½R R"R²R6R¿R4Rt(Rtd1td2RÄR.((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR¹¥s   
tfile_dispatchers!asyncore.file_dispatcher requiredcstjttjƒ}g‰dtjf‡fd†ƒY}||ƒ}tj|ƒtjdddtddƒ|j    dj
ˆƒ|j ƒdS(    NtFileDispatchercseZ‡fd†ZRS(csˆj|jdƒƒdS(Ni(RPR!(R(R0(sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRŠ·s(R RRŠ((R0(sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR̶sRg{®Gáz„?tuse_polltcountiR( R_RÁRRÂRRËR tloopR
R6RµRt(RRÄRÌts((R0sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_dispatcher±s  ( R RRoRpRÆR¹RkRlRmRRÑ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR¾s                  tBaseTestHandlercBsAeZdd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs tjj||ƒt|_dS(N(RRqR    RRG(RR¶((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    ÁscCstdƒ‚dS(Ns'handle_accept not supposed to be called(R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÅscCstdƒ‚dS(Ns(handle_connect not supposed to be called(R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRŒÈscCstdƒ‚dS(Ns%handle_expt not supposed to be called(R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR‰ËscCstdƒ‚dS(Ns&handle_close not supposed to be called(R(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÎscCs‚dS(N((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÑsN(    R RtNoneR    RRŒR‰RR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÒ¿s                  t    TCPServercBsAeZdZeedd„Zed„ƒZd„Zd„Z    RS(sYA server which listens on an address and dispatches the
    connection to a handler.
    icCs]tjj|ƒ|jtjtjƒ|jƒ|j||fƒ|j    dƒ||_
dS(Ni( RRqR    R¯RR˜Rªtset_reuse_addrtbindRthandler(RR×thostR·((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    Ús 
 cCs|jjƒd S(Ni(Rt getsockname(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pytaddressâscCs0|jƒ}|dk    r,|j|dƒndS(Ni(RRÓR×(Rtpair((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRæs  cCs‚dS(N((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRës(
R Rt__doc__RÒR±R    tpropertyRÚRR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÔÕs
    t
BaseClientcBseZd„Zd„ZRS(cCs4tj|ƒ|jtjtjƒ|j|ƒdS(N(RÒR    R¯RR˜RªR°(RRÚ((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    ñs cCsdS(N((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRŒös(R RR    RŒ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÞïs    t BaseTestAPIcBsÂeZd„Zdd„Zd„Zd„Zd„Zd„Zd„Ze    j
e j j dƒd    ƒd
„ƒZd „Zd „Zd „Zd„Zd„Ze    jedƒejd„ƒƒZRS(cCstjƒdS(N(RRR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRpüsicCs†t|ƒd}d}x\tjrt|dkrttjddddd|jƒ|jrZdS|d8}tj|ƒqW|jdƒdS(    NidiRg{®Gáz„?RÎiRÍs flag not set(    tfloatRRQRÏRÍRGR$R%R^(RtinstanceRRÎ((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pytloop_waiting_for_flagÿs    
cCs?dtfd„ƒY}tƒ}||jƒ}|j|ƒdS(Nt
TestClientcBseZd„ZRS(cSs t|_dS(N(R
RG(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRŒs(R RRŒ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRã s(RÞRÔRÚRâ(RRãtservertclient((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_handle_connect
s    cCs?dtfd„ƒY}|ƒ}t|jƒ}|j|ƒdS(Nt TestListenercBseZd„Zd„ZRS(cSs]tj|ƒ|jtjtjƒ|jtdfƒ|jdƒ|jj    ƒd |_
dS(Niii( RÒR    R¯RR˜RªRÖR±RRÙRÚ(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    s
  cSs t|_dS(N(R
RG(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR!s(R RR    R(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRçs    (RÒRÞRÚRâ(RRçRäRå((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_handle_accepts    cCsXdtfd„ƒY}dtfd„ƒY}t|ƒ}||jƒ}|j|ƒdS(NRãcBseZd„ZRS(cSs t|_dS(N(R
RG(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRŠ,s(R RRŠ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRã+st TestHandlercBseZd„ZRS(cSs%tj||ƒ|jddƒdS(Ntxi(RÒR    R²(RR*((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    0s(R RR    (((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRé/s(RÞRÒRÔRÚRâ(RRãRéRäRå((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_handle_read(s
 cCs?dtfd„ƒY}tƒ}||jƒ}|j|ƒdS(NRãcBseZd„ZRS(cSs t|_dS(N(R
RG(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR‹<s(R RR‹(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRã;s(RÞRÔRÚRâ(RRãRäRå((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_handle_write8s    cCsXdtfd„ƒY}dtfd„ƒY}t|ƒ}||jƒ}|j|ƒdS(NRãcBseZd„Zd„ZRS(cSs|jdƒdS(Ni(R!(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRŠIscSst|_|jƒdS(N(R
RGR (R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRNs    (R RRŠR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRãGs    RécBseZd„ZRS(cSstj||ƒ|jƒdS(N(RÒR    R (RR*((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    Ss(R RR    (((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRéRs(RÞRÒRÔRÚRâ(RRãRéRäRå((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_handle_closeCs
  tsunoss OOB support is broken on SolariscCsXdtfd„ƒY}dtfd„ƒY}t|ƒ}||jƒ}|j|ƒdS(NRãcBseZd„ZRS(cSs t|_dS(N(R
RG(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR‰cs(R RR‰(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRãbsRécBseZd„ZRS(cSs0tj||ƒ|jjtdƒtjƒdS(Niô(RÒR    RR²tchrtMSG_OOB(RR*((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR    gs(R RR    (((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRéfs(RÞRÒRÔRÚRâ(RRãRéRäRå((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_handle_expt[s
 cCs?dtfd„ƒY}tƒ}||jƒ}|j|ƒdS(NRãcBseZd„Zd„ZRS(cSs dddS(Ngð?i((R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyR‹rscSs4t|_y‚Wntk
r#n Xtdƒ‚dS(Nsexception not raised(R
RGtZeroDivisionErrorR(R((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRts      (R RR‹R(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRãqs    (RÞRÔRÚRâ(RRãRäRå((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_handle_erroros    cCstƒ}t|jƒ}|j|jƒ|j|jƒ|j|jƒtjddd|j    ddƒ|j|jƒ|j|jƒ|j|jƒ|j|jƒ|j
ƒ|j|jƒ|j|jƒ|j|jƒ|j|jƒ|j
ƒ|j|jƒ|j|jƒdS(NRg{®Gáz„?RÍRÎid( RÔRÞRÚt assertFalset    connectedR™t    acceptingRRÏRÍR (RRäRå((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_connection_attributess$    
 
cCsXtjƒ}|jtjtjƒ|j|jjtjƒ|j|jjtjƒdS(N(    RRqR¯RR˜RªR6R—ttype(RRÐ((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_create_socketŸs cCsštjƒ}|jtjtjƒ|jtdfƒ|jdƒ|jj    ƒd}tjƒ}|jtjtjƒ|j
tj |jt|fƒdS(Niii( RRqR¯RR˜RªRÖR±RRÙR3terror(Rts1R·ts2((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt    test_bind¥s   cCsÜtjƒ}z¾y|jtjtjdƒWn!tjk
rOtjdƒnzXtjtjƒƒ}|j    |jj
tjtjƒƒ|j tj tj ƒ|jƒ|j|jj
tjtjƒƒWd|jƒXdS(Nis+SO_REUSEADDR not supported on this platform(Rt
setsockoptt
SOL_SOCKETt SO_REUSEADDRRúRktskipRRqRôt
getsockoptR¯R˜RªRÕR™R (RR¶RÐ((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_set_reuse_addr±s  
s!Threading required for this test.cCsÝtƒ}tjdd„ƒ}|jƒ|j|jƒxžtdƒD]}tjtjtj    ƒ}|j
dƒ|j tj tj tjdddƒƒz/y|j|jƒWntjk
rÅnXWd|jƒXqEWdS(NR¦cSstjddddƒS(NRgš™™™™™¹?RÎiô(RRÏ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt<lambda>Ésigš™™™™™É?tiiii(RÔR¨R­R®t
addCleanupRµtxrangeRR˜RªR«RþRÿt    SO_LINGERtstructtpackR°RÚRúR (RRäRhRêRÐ((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyttest_quick_connectÄs    
 (R RRpRâRæRèRëRìRíRktskipIfR[tplatformt
startswithRñRóR÷RùRýRRlR¨RR»R (((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRßús                                             tTestAPI_UseSelectcBseZeZRS((R RRRÍ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÚsR:sselect.poll requiredtTestAPI_UsePollcBseZeZRS((R RR
RÍ(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyRÝscCs)tttttttg}t|ŒdS(N(R2RnR¥R¼RRR¾R(ttests((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt    test_mainâs     t__main__(((((-RRkR R_RR[R$R”R R    ttestRttest.test_supportRRRRR¨t ImportErrorRÓR±RRRRR1tTestCaseR2Rntdispatcher_with_sendR¤R¥R¼RlRmR¾RqRÒRÔRÞRßRRRR (((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_asyncore.pyt<module>sP           
    
     ‹k2    0 à