Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_popen.pyo |
³ò h”Rc @ s’ d Z d d k Z d d k Z d d k l Z l Z d d k l Z e i Z d e j o d e d Z n d „ Z d „ Z d „ Z e ƒ d S( sQ Basic tests for os.popen() Particularly useful for platforms that fake popen. iÿÿÿÿN( t TestSkippedt reap_children( t popent t "c C s^ d t | f } t | ƒ i ƒ } t | ƒ d } | | j o d GHd | | | f GHn d S( Ns$ %s -c "import sys;print sys.argv" %si s$ Error in popen commandline handling.s+ executed '%s', expected '%r', but got '%r'( t pythonR t readt eval( t cmdlinet expectedt cmdt datat got( ( s+ /usr/local/lib/python2.5/test/test_popen.pyt _do_test_commandline s c C sH t d d d g ƒ t d d d d g ƒ t d d d d g ƒ d GHd S( Ns foo bart foot bars foo "spam and eggs" "silly walk"s spam and eggss silly walks foo "a \"quoted\" arg" bars a "quoted" args2 popen seemed to process the command-line correctly( R ( ( ( s+ /usr/local/lib/python2.5/test/test_popen.pyt _test_commandline s c C s d GHt ƒ t ƒ d S( Ns Test popen:( R R ( ( ( s+ /usr/local/lib/python2.5/test/test_popen.pyt main# s ( t __doc__t ost syst test.test_supportR R R t executableR R R R ( ( ( s+ /usr/local/lib/python2.5/test/test_popen.pys <module> s