Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.139.233.134
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_select.pyo
�
?��cc@s�ddlmZddlZddlZddlZddlZejejd dkd�dejfd	��Y�Z	d
�Z
edkr�e
�ndS(
i����(ttest_supportNitwintos2triscoss can't easily test on this systemtSelectTestCasecBsReZddd��YZdd	d��YZd�Zd�Zd�Zd�ZRS(
tNopecBseZRS((t__name__t
__module__(((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyRstAlmostcBseZd�ZRS(cCsdS(Ntfileno((tself((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyR	s(RRR	(((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyRscCs�|jttjddd�|jttj|j�ggg�|jttj|j�ggg�|jttjgggd�dS(Niiisnot a number(tassertRaisest	TypeErrortselectRR(R
((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyttest_error_conditionss%%cCsUtjgggd�\}}}|j||�|j||�|j||�dS(Ni(R
tassertIsNot(R
trtwtx((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyttest_returned_list_identitys!cCsd}tj|d�}x�d
dD]�}tjr>d
G|GHntj|ggg|�\}}}|||fgggfkr�q#n|||f|gggfkr�|j�}tjr�t|�GHn|s#tjr�dGHnPq#q#n|jd|||�q#W|j	�dS(Ns?for i in 0 1 2 3 4 5 6 7 8 9; do echo testing...; sleep 1; doneRiiiiiii
s	timeout =tEOFs'Unexpected return values from select():(iiiiii(N(
NNNNNNNNNN(
tostpopentNoneRtverboseR
treadlinetreprtfailtclose(R
tcmdtpttouttrfdtwfdtxfdtline((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyttest_selects&	$!		cs`g�dd�fd��Y}|�gd�(|jtjg�g�g�d gf�dS(NtFcseZ�fd�ZRS(cs�d=tjj�S(Ni����(tsyst
__stdout__R	(R
(ta(s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyR	8s(RRR	((R((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyR%7si
i((tassertEqualR
(R
R%((R(s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyttest_select_mutated5s(((RRRRRRR$R*(((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyRs			cCstjt�tj�dS(N(Rtrun_unittestRt
reap_children(((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyt	test_main>s
t__main__(RRR(ttestRtunittestR
RR&tskipIftplatformtTestCaseRR-R(((s7/usr/local/python-2.7/lib/python2.7/test/test_select.pyt<module>s	5	
© 2025 GrazzMean