File: //proc/3/root/proc/2/task/2/root/proc/2/root/usr/lib/python2.4/test/test_binascii.pyc
mò
‚=5Dc @ sc d Z d k l Z d k Z d k Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( s Test the binascii C module.( s test_supportNt BinASCIITestc B s‹ t Z d Z e d i e e e d ƒ ƒ ƒ 7Z e d 7Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z d „ Z
d „ Z d
„ Z RS( Ns. The quick brown fox jumps over the lazy dog.
t i s
Hello world.
c C s6 | i t t i t ƒ ƒ | i t t i t ƒ ƒ d S( N( t selft assert_t
issubclasst binasciit Errort Exceptiont
Incomplete( R ( ( t( /usr/lib/python2.4/test/test_binascii.pyt test_exceptions s c C sä g } x‘ d D]‰ } d d g } | d j o | i d d d g ƒ n xM | D]E } | | } | i t t t
| ƒ ƒ ƒ | i t t t
| ƒ ƒ qM Wq
WxC d
D]; } | i t t t
| ƒ ƒ ƒ | i t t t
| ƒ ƒ q¡ Wd S( Nt base64t hqxt uut hext a2b_t b2a_t crc_t rlecode_t
rledecode_t hexlifyt unhexlify( s base64R s uus hex( R R (
t funcst suffixt prefixest extendt prefixt nameR R t callablet getattrR t assertRaisest TypeError( R R R R R R ( ( R t test_functions s
! c C s© d } g } xS t d t | i ƒ | ƒ D]6 } | i | | | !} t i | ƒ } | i | ƒ q( Wd } x' | D] } t i | ƒ } | | } qo W| i | | i ƒ d S( Ni9 i R ( t
MAX_BASE64t linest ranget lenR t datat it bR t
b2a_base64t at appendt rest linet
a2b_base64t assertEqual( R R) R' R&