Your IP : 216.73.216.213
�
��fo c @ sg d d l Z d d l Z d d l m Z Gd d � d e j � Z d d � Z e d k rc e � n d S( i N( u supportc B s� | Ee Z d Z d d � Z d d � Z d d � Z d d � Z d d
� Z d d � Z d
d � Z d d � Z
d d � Z d d � Z d d � Z
d d � Z d S( u
ModuleTestc C sC t j t j t j t j t j t j t j t j t j d S( N(
u stringu
whitespaceu ascii_lowercaseu ascii_uppercaseu
ascii_lettersu digitsu hexdigitsu octdigitsu punctuationu printable( u self( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu
test_attrs s u ModuleTest.test_attrsc C s� | j t j d � d � | j t j d � d � | j t j d � d � | j t j d � d � | j t j d d � d � | j t j d � d
� | j t j d � d � | j t j d
� d � | j t j d
d � d � d S( Nu abc def ghiu Abc Def Ghiu abc def
ghiu abc def
ghiu ABC DEF GHIu ABC-DEF-GHIu -u Abc-Def-Ghiu ABC-def DEF-ghi GHIu Abc-def Def-ghi Ghiu aBc DeF u Abc Defu aBc DeF u u Abc Def ( u assertEqualu stringu capwords( u self( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu
test_capwords s u ModuleTest.test_capwordsc C sd t j � } | j | j d � d � | j | j d d � d � | j | j d d d � d � d S( Nu foou foo{0}u baru foobaru
foo{1}{0}-{1}i u foo6bar-6( u stringu Formatteru assertEqualu format( u selfu fmt( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu test_basic_formatter s u ModuleTest.test_basic_formatterc C s� t j � } | j | j d d d �d � | j | j d d � d � | j t | j d d � | j | j d d � d � | j | j d t j � d
� | j | j d t d � � d � | j | j d t d
� � d � d S( Nu -{arg!r}-u argu testu -'test'-u {0!s}u {0!h}u {0!a}i* u 42u6 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'i� u '\xff'i u '\u0100'( u stringu Formatteru assertEqualu formatu assertRaisesu
ValueErroru
ascii_lettersu chr( u selfu fmt( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu test_conversion_specifiers# s "u% ModuleTest.test_conversion_specifiersc
C sn t j � } Gd d � d � } | � } | j | j d | � d � | j t � � | j d d � Wd QXd S( Nc B s | Ee Z d Z d d � Z d S( u, ModuleTest.test_name_lookup.<locals>.AnyAttrc S s | S( N( ( u selfu attr( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu __getattr__2 s u8 ModuleTest.test_name_lookup.<locals>.AnyAttr.__getattr__N( u __name__u
__module__u __qualname__u __getattr__( u
__locals__( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu AnyAttr1 s u AnyAttru {0.lumber}{0.jack}u
lumberjacku ( u stringu Formatteru assertEqualu formatu assertRaisesu AttributeError( u selfu fmtu AnyAttru x( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu test_name_lookup/ s u ModuleTest.test_name_lookupc C s� t j � } d d d g } | j | j d | � d � | j t � � | j d g � Wd QX| j t � � | j d i � Wd QXd S( Nu eggsu andu spamu {0[2]}{0[0]}u spameggs( u stringu Formatteru assertEqualu formatu assertRaisesu
IndexErroru KeyError( u selfu fmtu lookup( ( u5 /opt/alt/python33/lib64/python3.3/test/test_string.pyu test_index_lookup9 s u ModuleTest.test_index_lookupc C sI Gd d � d t j � } | i d d 6� } | j | j d � d � d S( Nc B s/ | Ee Z d Z i d d � Z d d � Z d S( u>