Current Path : /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 : //usr/local/lib/python2.5/test/test_popen2.pyc |
³ò h”Rc @ s_ d Z d d k Z d d k Z d d k l Z l Z d „ Z d „ Z e ƒ e ƒ e ƒ d S( s. Test script for popen2.py Christian Tismer iÿÿÿÿN( t TestSkippedt reap_childrenc C s¢ d GHt i d d j p t i d d j o! t d j o t d t i ‚ n y d d k l } Wn# t j o d d k l } n Xd d k } | i ƒ d S( Ns Test popen2 module:i t beosi t atheost __main__s' popen2() doesn't work during import on iÿÿÿÿ( t popen( t fork( t syst platformt __name__R t osR t ImportErrorR t popen2t _test( R R R ( ( s, /usr/local/lib/python2.5/test/test_popen2.pyt main s ( c C s d GHd d k } | i ƒ | i p5 t d t g } | i D] } | | i q= ~ ƒ ‚ d } d } t i d j o d } n | i ƒ } d GHt i | ƒ \ } } | i | ƒ | i ƒ | i ƒ } | i ƒ | j o t d | | f ƒ ‚ n d GHy t i | g ƒ \ } } } Wn t i | ƒ \ } } } n X| i | ƒ | i ƒ | i ƒ } | i ƒ | j o t d | | f ƒ ‚ n | i ƒ } | o t d | f ƒ ‚ n x | i D] } | i ƒ qÂW| i ƒ | i o t d ƒ ‚ n d GHd S( Ns Testing os module:iÿÿÿÿs Active pipes when test starts t cats ab cd t ntt mores testing popen2...s wrote %r read %rs testing popen3...s unexpected %r on stderrs _active not emptys All OK( R t _cleanupt _activet AssertionErrort reprt cmdR t namet stript writet closet readt ValueErrort popen3t wait( R t _[1]t cR t teststrt expectedt wt rt gott et inst( ( s, /usr/local/lib/python2.5/test/test_popen2.pyR "