• File: test_exec_command.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyc
  • Date Modified: 12/19/2017 2:16 PM
  • File size: 4.54 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

9Zc@`sddlmZmZmZddlZddlZddlmZddlm	Z	ej
ddkrzddlmZnddlmZde
fdYZd	e
fd
YZde
fdYZd
ZdZdS(i(tdivisiontabsolute_importtprint_functionN(t
TemporaryFile(texec_commandi(tStringIOtredirect_stdoutcB`s,eZdZddZdZdZRS(s9Context manager to redirect stdout for exec_command test.cC`s|ptj|_dS(N(tsyststdoutt_stdout(tselfR((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyt__init__scC`stj|_|jt_dS(N(RRt
old_stdoutR	(R
((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyt	__enter__scC`s*|jj|jt_|jjdS(N(R	tflushRRRtclose(R
texc_typet	exc_valuet	traceback((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyt__exit__s
N(t__name__t
__module__t__doc__tNoneRR
R(((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyRs	tredirect_stderrcB`s,eZdZddZdZdZRS(s9Context manager to redirect stderr for exec_command test.cC`s|ptj|_dS(N(Rtstderrt_stderr(R
R((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyR!scC`stj|_|jt_dS(N(RRt
old_stderrR(R
((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyR
$scC`s*|jj|jt_|jjdS(N(RRRRRR(R
RRR((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyR(s
N(RRRRRR
R(((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyRs	temulate_nonposixcB`s,eZdZddZdZdZRS(s.Context manager to emulate os.name != 'posix' s	non-posixcC`s
||_dS(N(t	_new_name(R
tosname((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyR0scC`stj|_|jt_dS(N(tostnamet	_old_nameR(R
((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyR
3scC`s|jt_dS(N(R!RR (R
RRR((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyR7s(RRRRR
R(((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyR.s	cC`stt(tttjdWdQXWdQXtjdkrt>tt(tttjdWdQXWdQXWdQXndS(Nscd '.'tposix(RRRRRRR R(((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyttest_exec_command_stdout;s
cC`sttdd(tttjdWdQXWdQXtjdkrt>tt(tttjdWdQXWdQXWdQXndS(Ntmodesw+scd '.'R"(RRRRRRR R(((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyttest_exec_command_stderrQs
(t
__future__RRRRRttempfileRtnumpy.distutilsRtversion_infotioRtobjectRRRR#R%(((sZ/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/tests/test_exec_command.pyt<module>s