Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/distutils/tests/test_spawn.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@s�dZddlZddlZddlZddlmZmZddlmZddlm	Z	m
Z
ddlmZddl
mZdejejejfd	��YZd
�Zedkr�ee��ndS(sTests for distutils.spawn.i�N(tcaptured_stdouttrun_unittest(t_nt_quote_args(tspawntfind_executable(tDistutilsExecError(tsupportt
SpawnTestCasecBs5eZd�Zejejdkd�d��ZRS(cCsaxZddgddgfddgddgffD](\}}t|�}|j||�q1WdS(Ns
with spacetnospaces"with space"tnochange(RtassertEqual(tselftargstwantedtres((s0/sys/lib/python2.7/distutils/tests/test_spawn.pyttest_nt_quote_argss	tnttposixsRuns only under posix or ntcCs+|j�}tjdkrStjj|d�}|j|d�tj|d�n%tjj|d�}|j|d�tj|d�|jtt	|g�tjdkr�jj|d�}|j|d�tj|d�n%tjj|d�}|j|d�tj|d�t	|g�dS(	NRsfoo.shs#!/bin/sh
exit 1i�sfoo.batsexit 1s#!/bin/sh
exit 0sexit 0(
tmkdtemptostnametpathtjoint
write_filetchmodtassertRaisesRR(Rttmpdirtexe((s0/sys/lib/python2.7/distutils/tests/test_spawn.pyt
test_spawns"(sntsposix(t__name__t
__module__Rtunittestt
skipUnlessRRR(((s0/sys/lib/python2.7/distutils/tests/test_spawn.pyRs	
cCs
tjt�S(N(Rt	makeSuiteR(((s0/sys/lib/python2.7/distutils/tests/test_spawn.pyt
test_suite8st__main__(t__doc__RRttimettest.test_supportRRtdistutils.spawnRRRtdistutils.errorsRtdistutils.testsRtTempdirManagertLoggingSilencertTestCaseRR"R(((s0/sys/lib/python2.7/distutils/tests/test_spawn.pyt<module>s	*	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.