| Server IP : 118.27.122.248 / Your IP : 216.73.216.63 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python27/lib64/python2.7/test/ |
Upload File : |
� �q2_c @ s� d d l Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m Z e j d k rs e j d � � n e d Z d e j e j f Z d e j f d � � YZ d � Z e d k r� e � n d S( i����N( t TESTFNt run_unittestt unlinkt reap_childrent posixs pipes module only works on posixt 2s tr %s %st SimplePipeTestsc B s� e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s% x t t f D] } t | � q Wd S( N( R t TESTFN2R ( t selft f( ( s4 /opt/alt/python27/lib64/python2.7/test/test_pipes.pyt tearDown s c C sw t j � } | j t t j � | j t d � } | j d � | j � t t � � } | j | j � d � Wd QXd S( Nt ws hello world #1s HELLO WORLD #1( t pipest Templatet appendt s_commandt STDIN_STDOUTt openR t writet closet assertEqualt read( R t tR ( ( s4 /opt/alt/python27/lib64/python2.7/test/test_pipes.pyt testSimplePipe1 s c C s� t t d � � } | j d � Wd QXt j � } | j t d t j � | j t t � t t � � } | j | j � d � Wd QXd S( NR s hello world #2s < $IN > $OUTs HELLO WORLD #2( R R R R R R R t FILEIN_FILEOUTt copyR R R ( R R R ( ( s4 /opt/alt/python27/lib64/python2.7/test/test_pipes.pyt testSimplePipe2 s c C s} t t d � � } | j d � Wd QXt j � } | j t d t j � | j t d � � } | j | j � d � Wd QXd S( NR s hello world #2s < $INt rs HELLO WORLD #2( R R R R R R R t FILEIN_STDOUTR R ( R R R ( ( s4 /opt/alt/python27/lib64/python2.7/test/test_pipes.pyt testSimplePipe3&