ó {G_Tc@sˇddlZddlZddlZddlZddlZddlZddlZddlZyddlZWne k r‰dZnXddl m Z ddl mZddlZddlZejddeeƒejddeeƒdejfd„ƒYZd ejfd „ƒYZd ejfd „ƒYZdd l mZdejfd„ƒYZdejfd„ƒYZdejfd„ƒYZdejfd„ƒYZdejfd„ƒYZdejfd„ƒYZej ej!dkdƒdejfd„ƒYƒZ"dejfd„ƒYZ#ej$ej!dkd ƒd!ejfd"„ƒYƒZ%ej ej!dkdƒd#ejfd$„ƒYƒZ&d%„Z'ed&krłe'ƒndS('i˙˙˙˙N(t test_support(tassert_python_oktignorettempnamttmpnamt FileTestscBs;eZd„ZeZd„Zd„Zejd„ƒZRS(cCs,tjjtjƒr(tjtjƒndS(N(tostpathtexistsRtTESTFNtunlink(tself((s(/usr/local/lib/python2.7/test/test_os.pytsetUpscCsOtjtjtjtjBƒ}tj|ƒ|jtjtjtj ƒƒdS(N( RtopenRR tO_CREATtO_RDWRtcloset assertTruetaccesstW_OK(R tf((s(/usr/local/lib/python2.7/test/test_os.pyt test_access!s cCsÚtjtjtjtjBƒ}tj|ƒ}zjd}x]||dkr–tj|ƒ|d7}|dkr}|jdƒn|tj|ƒ}}q:WWdtj|ƒXtj ||dƒ|j t tj |dƒdS(Niii s%couldn't allocate two consecutive fdsita( RR RR RRtdupRtskipTestt closeranget assertRaisestOSErrortwrite(R tfirsttsecondtretries((s(/usr/local/lib/python2.7/test/test_os.pyttest_closerange&s   cCsZttjƒ}tj|ƒ}|jttj|dƒtj|ƒ}|j ||ƒdS(Ni( tunicodeRR tsyst getrefcountRt TypeErrorRtrenamet assertEqual(R Rtoldtnew((s(/usr/local/lib/python2.7/test/test_os.pyt test_rename;s ( t__name__t __module__R ttearDownRR Rt cpython_onlyR)(((s(/usr/local/lib/python2.7/test/test_os.pyRs    tTemporaryFileTestscBseZd„Zd„Zd„Zejeedƒdƒd„ƒZ ejeedƒdƒd„ƒZ ejeed ƒd ƒd „ƒZ RS( cCsg|_tjtjƒdS(N(tfilesRtmkdirRR (R ((s(/usr/local/lib/python2.7/test/test_os.pyR Es cCs5x|jD]}tj|ƒq WtjtjƒdS(N(R/RR trmdirRR (R tname((s(/usr/local/lib/python2.7/test/test_os.pyR,IscCs=|jtjj|ƒdƒt|dƒ|jj|ƒdS(Ns&file already exists for temporary filetw(t assertFalseRRRR R/tappend(R R2((s(/usr/local/lib/python2.7/test/test_os.pytcheck_tempfileNs Rstest needs os.tempnam()c CsˇtjƒĽtjddtdƒtjddtƒ|jtjƒƒtjtj ƒ}|j|ƒtjtj dƒ}|j tj j |ƒd dkƒ|j|ƒWdQXdS(NRRstest_os$tpfxi( twarningstcatch_warningstfilterwarningstRuntimeWarningtDeprecationWarningR6RRRR RRtbasename(R R2((s(/usr/local/lib/python2.7/test/test_os.pyt test_tempnamVs  #ttmpfilestest needs os.tmpfile()c Cs@tjƒ.tjddtƒtjdkräd}tjj|ƒrWtj |ƒnyt |dƒ}Wn]t k rÉ}ytj ƒ}Wn)t k rˇ}|j|j|jƒnX|jdƒdSX|jƒtj |ƒntj ƒ}|jdƒ|jddƒ|jƒ}|jƒ|j|dkƒWdQXdS( NRR?twin32s \python_test_os_test_tmpfile.txtR3s&expected os.tmpfile() to raise OSErrortfoobari(R8R9R:R<R"tplatformRRRtremoveR tIOErrorR?RR&targstfailRRtseektreadR(R R2tfpRRts((s(/usr/local/lib/python2.7/test/test_os.pyt test_tmpfilees.       Rstest needs os.tmpnam()c Cs‡tjƒutjddtdƒtjddtƒtjƒ}tjdkrp|j tj j |ƒdƒn |j |ƒWdQXdS(NRRstest_os$R@s&file already exists for temporary file(swin32( R8R9R:R;R<RRR"RBR4RRR6(R R2((s(/usr/local/lib/python2.7/test/test_os.pyt test_tmpnam—s   ( R*R+R R,R6tunittestt skipUnlessthasattrRR>RKRL(((s(/usr/local/lib/python2.7/test/test_os.pyR.Ds    $$2tStatAttributeTestscBs"eZd„Zd„Zejeedƒdƒd„ƒZejeedƒdƒd„ƒZ d„Z d „Z eje j d kd ƒeje ejƒd kd ƒd„ƒƒZeje j d kd ƒeje ejƒd kd ƒd„ƒƒZeje j d kd ƒd„ƒZRS(cCsXtjtjƒtjjtjdƒ|_t|jdƒ}|jdƒ|j ƒdS(Ntf1twbtABC( RR0RR RtjointfnameR RR(R R((s(/usr/local/lib/python2.7/test/test_os.pyR śs  cCs$tj|jƒtjtjƒdS(N(RR RUR1RR (R ((s(/usr/local/lib/python2.7/test/test_os.pyR,˝ststatstest needs os.stat()cCs ddl}tj|jƒ}|j||jdƒ|j|jdƒt|ƒ}x“t|ƒD]…}|d dkra|jƒ}|jdƒržd„}n d„}|j|t ||ƒƒ|t ||ƒƒ|j ||ƒqaqaWy|d|j dƒWnt k rnXyd |_ |j dƒWnttfk rJnXyd |_|j dƒWnttfk r~nXyd |_|j dƒWntk rŹnXy tjdƒ}|j dƒWntk rŕnXytjdƒ}Wntk rnXdS(Ni˙˙˙˙itST_tTIMEcSs t|ƒS(N(tint(tx((s(/usr/local/lib/python2.7/test/test_os.pyttruncĐscSs|S(N((RZ((s(/usr/local/lib/python2.7/test/test_os.pyR[ŇsiČsNo exception raisedii iiiiiiii i i i i(i (iiiiiiiiii i i i i i(RVRRUR&tST_SIZEtst_sizetdirtlowertendswithtgetattrtassertInRFt IndexErrortst_modetAttributeErrorR$tst_rdevtparrott stat_result(R RVtresulttmembersR2tattrR[tresult2((s(/usr/local/lib/python2.7/test/test_os.pyttest_stat_attributesÁsV            tstatvfsstest needs os.statvfs()cCsdytj|jƒ}Wn5tk rM}|jtjkrN|jdƒqNnX|j|j|dƒd}x;t |ƒD]-\}}|jt |d |ƒ||ƒqxWyd|_|j dƒWnt k rÖnXyd|_ |j dƒWntk rnXy tjdƒ}|j dƒWnt k r8nXytjdƒ}Wnt k r_nXdS( Ns%glibc always returns ENOSYS on AtheOSitbsizetfrsizetblockstbfreetbavailR/tffreetfavailtflagtnamemaxtf_isNo exception raisedi iiiiiiii i i i i( RoRpRqRrRssfilesRtRuRvRw(i (iiiiiiiiii i i i i i(RRnRURterrnotENOSYSRR&tf_bfreet enumerateRaRFR$RgRetstatvfs_result(R RiteRjtvaluetmemberRl((s(/usr/local/lib/python2.7/test/test_os.pyttest_statvfs_attributesţs:%      cCswd}tjtjƒ}tjtj|jt|j|ƒfƒtjtjƒ}|j|jt|j|ƒƒdS(Ni@B( RRVRR tutimetst_atimeRYtst_mtimeR&(R tdeltatsttst2((s(/usr/local/lib/python2.7/test/test_os.pyttest_utime_dir*s )c Cs—tjdkr“tjjtjj|ƒƒdd}ddl}|jj}|j ddƒ}|j |ddddd|t |ƒƒr“|j SndS(NR@is\i˙˙˙˙tid(R"RBRRt splitdrivetabspathtctypestwindlltkernel32tcreate_string_buffertGetVolumeInformationAtNonetlenR(RtrootRŒRŽtbuf((s(/usr/local/lib/python2.7/test/test_os.pytget_file_system5s&  *R@sWin32 specific teststNTFSs requires NTFScCsBd}tj|j||fƒ|jtj|jƒj|ƒdS(NgĐgúEŃA(RR‚RUR&RVR„(R tt1((s(/usr/local/lib/python2.7/test/test_os.pyt test_1565150>scCsBd}tj|j||fƒ|jtj|jƒj|ƒdS(NIň*(RR‚RUR&RVR„(R R—((s(/usr/local/lib/python2.7/test/test_os.pyttest_large_timeFscCsWytjdƒWn?tk rR}|jdkrB|jdƒn|jdƒnXdS(Nsc:\pagefile.sysisc:\pagefile.sys does not existsCould not stat pagefile.sys(RRVt WindowsErrorRyRRF(R R~((s(/usr/local/lib/python2.7/test/test_os.pyt test_1686475Ns (R*R+R R,RMRNRORRmRRˆR•R"RBRR R˜R™R›(((s(/usr/local/lib/python2.7/test/test_os.pyRPľs  $=$, (t mapping_testst EnvironTestscBsheZdZd Zd„Zd„Zd„Zd„Zd„Z e j e j jd ƒdƒd „ƒZRS( s8check that os.environ object conform to mapping protocolcCsidd6dd6dd6S(NtVALUE1tKEY1tVALUE2tKEY2tVALUE3tKEY3((R ((s(/usr/local/lib/python2.7/test/test_os.pyt _reference]scCstjjƒtjS(N(Rtenvirontclear(R ((s(/usr/local/lib/python2.7/test/test_os.pyt_empty_mapping_s cCs#ttjƒ|_tjjƒdS(N(tdictRRĽt_EnvironTests__saveRŚ(R ((s(/usr/local/lib/python2.7/test/test_os.pyR bscCs$tjjƒtjj|jƒdS(N(RRĽRŚtupdateRŠ(R ((s(/usr/local/lib/python2.7/test/test_os.pyR,es cCsftjjdƒrbtjjddƒtjdƒ)}|jƒjƒ}|j|dƒWdQXndS(Ns/bin/shtHELLOtWorlds/bin/sh -c 'echo $HELLO'( RRRRĽRŞtpopenRHtstripR&(R R­R((s(/usr/local/lib/python2.7/test/test_os.pyt test_update2js tfreebsdtdarwins%due to known OS bug: see issue #13415cCsXtjdkr5dd}|jttjj|ƒnd}|jttjj|ƒdS(NR@RZiPĂskey=(R"RBRt ValueErrorRRĽt __delitem__R(R tkey((s(/usr/local/lib/python2.7/test/test_os.pyttest_unset_errorss  N(R°sdarwin(R*R+t__doc__R‘t type2testR¤R§R R,RŻRMtskipIfR"RBt startswithRľ(((s(/usr/local/lib/python2.7/test/test_os.pyRZs     t WalkTestscBs eZdZd„Zd„ZRS(sTests for os.walk().cCslddl}ddlm}|tjdƒ}||dƒ}||dƒ}||dƒ}||dƒ}||dƒ}||d ƒ} ||d ƒ} |tjd ƒ} |tjd d ƒ} |j|ƒ|j|ƒ|j| ƒxH||| | fD]4} t| d ƒ}|jd| dƒ|jƒqřWt |dƒrs|j |j j | ƒ| ƒ|d gd gf}n|gd gf}t |j|ƒƒ}|jt|ƒdƒ|ddddk}|ddjƒ|j|d|ddgdgfƒ|j|d||dgdgfƒ|j|d||ggfƒ|j|dd||ƒg}xR|j|ƒD]A\}}}|j|||fƒd|krz|jdƒqzqzW|jt|ƒdƒ|j|d|dgdgfƒ|j|d|ƒt |j|dtƒƒ}|jt|ƒdƒ|ddddk}|ddjƒ|j|d|ddgdgfƒ|j|||ggfƒ|j||d|dgdgfƒ|j|dd||ƒt |dƒrhxi|j|dtƒD]B\}}}|| kr|j|gƒ|j|d gƒPqqW|jdƒndS(Ni˙˙˙˙(RTtTEST1tSUB1tSUB11tSUB2ttmp1ttmp2ttmp3tlinktTEST2ttmp4R3sI'm s" and proud of it. Blame test_os. tsymlinkiiiiittopdownt followlinkss+Didn't follow symlink with followlinks=True(Rtos.pathRTRR tmakedirstfileRRRORĹRR‹tlisttwalkR&R’tsortR5RCtFalsetTrueRF(R RRTt walk_patht sub1_patht sub11_patht sub2_patht tmp1_patht tmp2_patht tmp3_patht link_pathtt2_patht tmp4_pathRRt sub2_treetalltflippedR“tdirsR/((s(/usr/local/lib/python2.7/test/test_os.pyttest_traversal‚sl    &'! #&'% cCsÂxŤtjtjdtƒD]‘\}}}x*|D]"}tjtjj||ƒƒq/WxR|D]J}tjj||ƒ}tjj|ƒs™tj |ƒq\tj|ƒq\WqWtj tjƒdS(NRĆ( RRĚRR RÎRCRRTtislinkR1(R R“RÝR/R2tdirname((s(/usr/local/lib/python2.7/test/test_os.pyR,Űs(   (R*R+RśRŢR,(((s(/usr/local/lib/python2.7/test/test_os.pyRşs Yt MakedirTestscBs#eZd„Zd„Zd„ZRS(cCstjtjƒdS(N(RR0RR (R ((s(/usr/local/lib/python2.7/test/test_os.pyR ěsc Csätj}tjj|dddƒ}tj|ƒtjj|ddddƒ}tj|ƒ|jttjtjƒtjj|dddddtjƒ}tj|ƒtjj|dtjdddddƒ}tj|ƒdS(Ntdir1tdir2tdir3tdir4tdir5tdir6( RR RRRTRÉRRtcurdir(R tbaseR((s(/usr/local/lib/python2.7/test/test_os.pyt test_makedirďs   '  cCsstjjtjddddddƒ}x8tjj|ƒ ra|tjkratjj|ƒ}q*Wtj|ƒdS(NRâRăRäRĺRćRç(RRRTRR RRŕt removedirs(R R((s(/usr/local/lib/python2.7/test/test_os.pyR,s %(R*R+R RęR,(((s(/usr/local/lib/python2.7/test/test_os.pyRáës  t DevNullTestscBseZd„ZRS(cCs_ttjdƒ}|jdƒ|jƒttjdƒ}|j|jƒdƒ|jƒdS(NR3thellotrR‰(RĘRtdevnullRRR&RH(R R((s(/usr/local/lib/python2.7/test/test_os.pyt test_devnull s   (R*R+Rđ(((s(/usr/local/lib/python2.7/test/test_os.pyRě st URandomTestscBsGeZd„Zd„Zd„Zd„Zejedƒd„ƒZ RS(cCsŸ|jttjdƒƒdƒ|jttjdƒƒdƒ|jttjdƒƒdƒ|jttjdƒƒdƒ|jttjdƒƒdƒdS(Niii idič(R&R’Rturandom(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_urandom_lengths cCs2tjdƒ}tjdƒ}|j||ƒdS(Ni(RRňtassertNotEqual(R tdata1tdata2((s(/usr/local/lib/python2.7/test/test_os.pyttest_urandom_valuescCsždjdd|dddfƒ}tjd|g}tj|dtjd tjd tjƒ}|jƒ\}}|j|jƒd |jƒ|fƒt |ƒ}|jt |ƒ||ƒ|S( Ns simport os, syssdata = os.urandom(%s)ssys.stdout.write(repr(data))ssys.stdout.flush()s&print >> sys.stderr, (len(data), data)s-ctstdintstdouttstderri( RTR"t executablet subprocesstPopentPIPEt communicateR&twaittevalR’(R tcounttcodetcmd_linetptoutterr((s(/usr/local/lib/python2.7/test/test_os.pytget_urandom_subprocess#s % cCs2|jdƒ}|jdƒ}|j||ƒdS(Ni(RRô(R RőRö((s(/usr/local/lib/python2.7/test/test_os.pyttest_urandom_subprocess5ss!test requires the resource modulecCsd}td|ƒdS(NsĚif 1: import errno import os import resource soft_limit, hard_limit = resource.getrlimit(resource.RLIMIT_NOFILE) resource.setrlimit(resource.RLIMIT_NOFILE, (1, hard_limit)) try: os.urandom(16) except OSError as e: assert e.errno == errno.EMFILE, e.errno else: raise AssertionError("OSError not raised") s-c(R(R R((s(/usr/local/lib/python2.7/test/test_os.pyttest_urandom_failure:s( R*R+RóR÷RR RMRNtresourceR (((s(/usr/local/lib/python2.7/test/test_os.pyRńs     t ExecvpeTestscBseZd„ZRS(cCs |jttjdgdƒdS(Ntnotepad(RR˛RtexecvpeR‘(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_execvpe_with_bad_arglistTs(R*R+R(((s(/usr/local/lib/python2.7/test/test_os.pyR RsR@sWin32 specific teststWin32ErrorTestscBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs'|jttjtjtjdƒdS(Ns.bak(RRšRR%RR (R ((s(/usr/local/lib/python2.7/test/test_os.pyR)ZscCs|jttjtjƒdS(N(RRšRRCRR (R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_remove]scCs|jttjtjƒdS(N(RRšRtchdirRR (R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_chdir`scCsQttjdƒ}z|jttjtjƒWd|jƒtjtjƒXdS(NR3( R RR RRšRR0RR (R R((s(/usr/local/lib/python2.7/test/test_os.pyt test_mkdircs  cCs |jttjtjdƒdS(N(RRšRR‚RR R‘(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_utimekscCs |jttjtjdƒdS(Ni(RRšRtchmodRR (R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_chmodns(R*R+R)RRRRR(((s(/usr/local/lib/python2.7/test/test_os.pyRXs      t TestInvalidFDc BsďeZdddddddddg Zd „Zx%eD]Zeeƒeƒd etdƒD]0}ytj||ƒWntk rGqXPqW|dkrktjdƒ‚n|jtj |||dƒdƒdS(Ni is5Unable to acquire a range of invalid file descriptorsi( RR%trangeRRRRMtSkipTestR&RR‘(R tfdti((s(/usr/local/lib/python2.7/test/test_os.pyR ‹s    tdup2stest needs os.dup2()cCs|jtjdƒdS(Ni(R!RR-(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_dup2›stfchmodstest needs os.fchmod()cCs|jtjdƒdS(Ni(R!RR/(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_fchmodŸstfchownstest needs os.fchown()cCs|jtjddƒdS(Ni˙˙˙˙(R!RR1(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_fchownŁst fpathconfstest needs os.fpathconf()cCs|jtjdƒdS(Nt PC_NAME_MAX(R!RR3(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_fpathconf§st ftruncatestest needs os.ftruncate()cCs|jtjdƒdS(Ni(R!RR6(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_ftruncateŤstlseekstest needs os.lseek()cCs|jtjddƒdS(Ni(R!RR8(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_lseekŻsRHstest needs os.read()cCs|jtjdƒdS(Ni(R!RRH(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_readłst tcsetpgrpstest needs os.tcsetpgrp()cCs|jtjdƒdS(Ni(R!RR;(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_tcsetpgrptˇsRstest needs os.write()cCs|jtjdƒdS(Nt (R!RR(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_writeťs(R*R+tsinglesR#RtlocalsR!RMRNRORR(R R.R0R2R5R7R9R:R<R>(((s(/usr/local/lib/python2.7/test/test_os.pyRqs"   $$$$$$$$$$sPosix specific teststPosixUidGidTestscBs(eZejeedƒdƒd„ƒZejeedƒdƒd„ƒZejeedƒdƒd„ƒZejeed ƒd ƒd „ƒZ ejeed ƒd ƒd„ƒZ ejeed ƒd ƒd„ƒZ ejeedƒdƒd„ƒZ ejeedƒdƒd„ƒZ RS(tsetuidstest needs os.setuid()cCsHtjƒdkr.|jtjtjdƒn|jttjdƒdS(Niii I(RtgetuidRterrorRBt OverflowError(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_setuidÁstsetgidstest needs os.setgid()cCsHtjƒdkr.|jtjtjdƒn|jttjdƒdS(Niii I(RRCRRDRGRE(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_setgidÇstseteuidstest needs os.seteuid()cCsHtjƒdkr.|jtjtjdƒn|jttjdƒdS(Niii I(RRCRRDRIRE(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_seteuidÍstsetegidstest needs os.setegid()cCsHtjƒdkr.|jtjtjdƒn|jttjdƒdS(Niii I(RRCRRDRKRE(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_setegidÓstsetreuidstest needs os.setreuid()cCsgtjƒdkr1|jtjtjddƒn|jttjddƒ|jttjddƒdS(Niii II(RRCRRDRMRE(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_setreuidŮscCstjtjddgƒdS(Ns-cs,import os,sys;os.setreuid(-1,-1);sys.exit(0)(Rüt check_callR"Rű(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_setreuid_neg1ŕs tsetregidstest needs os.setregid()cCsgtjƒdkr1|jtjtjddƒn|jttjddƒ|jttjddƒdS(Niii II(RRCRRDRQRE(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_setregidčscCstjtjddgƒdS(Ns-cs,import os,sys;os.setregid(-1,-1);sys.exit(0)(RüROR"Rű(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_setregid_neg1ďs (R*R+RMRNRORRFRHRJRLRNRPRRRS(((s(/usr/local/lib/python2.7/test/test_os.pyRAżs$$$$$$$tWin32KillTestscBsMeZd„Zd„Zd„Zd„Zejdƒd„ƒZd„Z RS(c Csddl}ddlm}ddl}|jjj}|j|_|j|j |j ƒ|j |j |j ƒ|j |j ƒ|j |j ƒf|_ d}t jtjddj|ƒgdt jdt jdt jƒ}|j|jjƒ|j|jjƒ|j|jjƒd\}} xÄ|| kr×|jƒdkr×|jt|ƒƒ} ||j|jjƒƒ| |j| ƒdddƒ} |j| d d ƒ| j r˝|j!|| j ƒPnt"j#d ƒ|d 7}q!W|j$dƒt%j&|j'|ƒ|j!|j(ƒ|ƒdS(Ni˙˙˙˙(twintypestrunnings-cs<import sys;sys.stdout.write('{}');sys.stdout.flush();input()RůRúRřiidsPeekNamedPipe failedgš™™™™™š?is1Did not receive communication from the subprocess(iid()RŒRUtmsvcrtRRŽt PeekNamedPipetBOOLtrestypetHANDLEtPOINTERtc_chartDWORDtargtypesRüRýR"RűtformatRţt addCleanupRůRRúRřtpollR‘RR’t get_osfhandletfilenotsizeofRôRR&ttimetsleepRFRtkilltpidR( R tsigRŒRURWRXtmsgtprocRtmaxR”trslt((s(/usr/local/lib/python2.7/test/test_os.pyt_killúsF        !   cCs|jtjƒdS(N(RotsignaltSIGTERM(R ((s(/usr/local/lib/python2.7/test/test_os.pyttest_kill_sigterm0scCs|jdƒdS(Nid(Ro(R ((s(/usr/local/lib/python2.7/test/test_os.pyt test_kill_int4scCs6dtjƒ}tjdd|ƒ}d|dsJ            )qŁ%l! =N8q