ó
4Y~gc @ s d d l Z d d l Z d d l m Z m Z d d l m Z d e f d „ ƒ YZ d e e
f d „ ƒ YZ d e e f d „ ƒ YZ
d
e e f d „ ƒ YZ d d d
„ ƒ YZ d e j f d „ ƒ YZ d e j f d „ ƒ YZ d „ Z e d k re ƒ n d S( iÿÿÿÿN( t PseudoInputFilet PseudoOutputFile( t test_supportt Basec B s> e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s d t | ƒ j S( Ns %s:str( t typet __name__( t self( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt __str__ s c C s d t | ƒ j S( Ns
%s:unicode( R R ( R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt __unicode__
s c C s d S( Ni ( ( R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt __len__ s c C s
t d ƒ S( Nt abc( t iter( R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt __iter__ s c G s d t | ƒ j S( Ns %s:item( R R ( R t args( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt __getitem__ s c G s d t | ƒ j S( Ns %s:slice( R R ( R R
( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt __getslice__ s ( R t
__module__R R R R R R ( ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR s t Sc B s e Z RS( ( R R ( ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR s t Uc B s e Z RS( ( R R ( ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR s t BAc B s e Z RS( ( R R ( ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR s t MockShellc B s> e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s | j ƒ d S( N( t reset( R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt __init__ s c G s | j j | ƒ d S( N( t writtent append( R R
( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt write" s c C s
| j j ƒ S( N( t linest pop( R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt readline% s c C s d S( N( ( R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt close( s c C s
g | _ d S( N( R ( R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR + s c C s t | ƒ d d d … | _ d S( Niÿÿÿÿ( t listR ( R R ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt push. s ( R R R R R R R R ( ( ( s> /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR s t PseudeOutputFilesTestc B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C sÔ t ƒ } t | d d ƒ } | j | t j ƒ | j | j d ƒ | j | j ƒ | j | j ƒ | j | j
d ƒ | j | j ƒ | j
| j ƒ ƒ | j | j ƒ ƒ | j
| j ƒ ƒ | j | j ƒ ƒ d S( Nt stdouts utf-8s