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_uu.pyo |
³ò h”Rc @ s d Z d d k Z d d k l Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z d Z d Z d e i d d ƒ d Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( s% Tests for uu module. Nick Mathewson iÿÿÿÿN( t test_support( t StringIOs5 The smooth-scaled python crept over the sleeping dog sK M5&AE('-M;V]T:"US8V%L960@<'ET:&]N(&-R97!T(&]V97(@=&AE('-L965P (:6YG(&1O9PH s begin %03o %s t %s %%s end t UUTestc B s, e Z d „ Z d „ Z d „ Z d „ Z RS( c C s— t i t ƒ } t i ƒ } t i | | d ƒ | i | i ƒ t d ƒ t i t ƒ } t i ƒ } t i | | d d ƒ | i | i ƒ t d ƒ d S( Nt t1i¶ i¤ ( i¶ R ( i¤ R ( t cStringIOR t plaintextt uut encodet assertEqualt getvaluet encodedtextwrapped( t selft inpt out( ( s( /usr/local/lib/python2.5/test/test_uu.pyt test_encode s c C s– t i t d ƒ } t i ƒ } t i | | ƒ | i | i ƒ t ƒ t i d d t d ƒ } t i ƒ } t i | | ƒ | i | i ƒ t ƒ d S( Ni¶ R s( UUencoded files may contain many lines, s% even some that have 'begin' in them. ( i¶ s t1( i¶ s t1( R R R R t decodeR R R ( R R R ( ( s( /usr/local/lib/python2.5/test/test_uu.pyt test_decode! s c C su t i d t ƒ } t i ƒ } y! t i | | ƒ | i d ƒ Wn. t i j o } | i t | ƒ d ƒ n Xd S( Ns begin 644 t1 s No exception throwns Truncated input file( R R t encodedtextR R t failt ErrorR t str( R R R t e( ( s( /usr/local/lib/python2.5/test/test_uu.pyt test_truncatedinput/ s c C sq t i d ƒ } t i ƒ } y! t i | | ƒ | i d ƒ Wn. t i j o } | i t | ƒ d ƒ n Xd S( Nt s No exception throwns' No valid begin line found in input file( R R R R R R R R ( R R R R ( ( s( /usr/local/lib/python2.5/test/test_uu.pyt test_missingbegin8 s ( t __name__t __module__R R R R ( ( ( s( /usr/local/lib/python2.5/test/test_uu.pyR s t UUStdIOTestc B s, e Z d „ Z d „ Z d „ Z d „ Z RS( c C s t i | _ t i | _ d S( N( t syst stdint stdout( R ( ( s( /usr/local/lib/python2.5/test/test_uu.pyt setUpC s c C s | i t _ | i t _ d S( N( R R R ( R ( ( s( /usr/local/lib/python2.5/test/test_uu.pyt tearDownG s c C sX t i t ƒ t _ t i ƒ t _ t i d d d d ƒ | i t i i ƒ t d ƒ d S( Nt -R i¶ ( i¶ s t1( R R R R R R R R R R R ( R ( ( s( /usr/local/lib/python2.5/test/test_uu.pyR K s c C sR t i t d ƒ t _ t i ƒ t _ t i d d ƒ | i t i i ƒ t ƒ d S( Ni¶ R R"