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