PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /lib64/python2.7/test/
Server: Linux apophis.o2switch.net 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
IP: 109.234.164.184
Choose File :

Url:
Dir : //lib64/python2.7/test/test_popen.pyc

�
zfc@sdZddlZddlmZddlZddlZejZdejfd��YZ	d�Z
edkr{e
�ndS(sQBasic tests for os.popen()

  Particularly useful for platforms that fake popen.
i����N(ttest_supportt	PopenTestcBs#eZd�Zd�Zd�ZRS(cCsMdt|f}tj|�j�d}t|�d}|j||�dS(Ns$%s -c "import sys;print sys.argv" %ss
i(tpythontostpopentreadtevaltassertEqual(tselftcmdlinetexpectedtcmdtdatatgot((s'/usr/lib64/python2.7/test/test_popen.pyt_do_test_commandlinescCsi|jttj�|jdddg�|jddddg�|jddddg�tj�dS(	Nsfoo bartfootbars foo "spam and eggs" "silly walk"s
spam and eggss
silly walksfoo "a \"quoted\" arg" barsa "quoted" arg(tassertRaisest	TypeErrorRRRRt
reap_children(R((s'/usr/lib64/python2.7/test/test_popen.pyt
test_popens
cCss|jtjd�j�d�tjdkrP|jtjd�j�d�n|jtjd�j�d�dS(Nsexit 0tntsexit 42i*ii*(RRRtclosetNonetname(R((s'/usr/lib64/python2.7/test/test_popen.pyttest_return_code(s"(t__name__t
__module__RRR(((s'/usr/lib64/python2.7/test/test_popen.pyRs		cCstjt�dS(N(Rtrun_unittestR(((s'/usr/lib64/python2.7/test/test_popen.pyt	test_main/st__main__(t__doc__tunittestttestRRtsyst
executableRtTestCaseRRR(((s'/usr/lib64/python2.7/test/test_popen.pyt<module>s