403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.6
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/test/test_select.pyc
�
�q2_c@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__(((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyRstAlmostcBseZd�ZRS(cCsdS(Ntfileno((tself((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyR	s(RRR	(((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyRscCs�|jttjddd�|jttj|j�ggg�|jttj|j�ggg�|jttjgggd�dS(Niiisnot a number(tassertRaisest	TypeErrortselectRR(R
((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyttest_error_conditionss%%cCsUtjgggd�\}}}|j||�|j||�|j||�dS(Ni(R
tassertIsNot(R
trtwtx((s5/opt/alt/python27/lib64/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((s5/opt/alt/python27/lib64/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(s5/opt/alt/python27/lib64/python2.7/test/test_select.pyR	8s(RRR	((R((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyR%7si
i((tassertEqualR
(R
R%((R(s5/opt/alt/python27/lib64/python2.7/test/test_select.pyttest_select_mutated5s(((RRRRRRR$R*(((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyRs			cCstjt�tj�dS(N(Rtrun_unittestRt
reap_children(((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyt	test_main>s
t__main__(RRR(ttestRtunittestR
RR&tskipIftplatformtTestCaseRR-R(((s5/opt/alt/python27/lib64/python2.7/test/test_select.pyt<module>s	5	

Youez - 2016 - github.com/yon3zu
LinuXploit