-í
éś<c       s   d  k  Z  d  k Z d  k Z y
 e Z Wn e j
 o d   Z n Xd e i f d     YZ d   Z e	 d j o e   n d  S(   Nc    s   |  Sd  S(   N(   s   x(   s   x(    (    s&   /usr/lib/python2.2/test/test_pprint.pys   uni	 s    s   QueryTestCasec      s>   t  Z d   Z d   Z d   Z d   Z d   Z d   Z RS(   Nc    s2   t  d  |  _ t  d  |  _ |  i |  i d <d  S(   Nid   iČ   iô˙˙˙(   s   ranges   selfs   as   b(   s   self(    (    s&   /usr/lib/python2.2/test/test_pprint.pys   setUp s    c  
  s   |  i } x d d d d d g d d f h  d d <t d  |  i |  i f
 D]= } | t i |  d |  | t i	 |  d |  qL Wd	 S(
   s6   Verify .isrecursive() and .isreadable() w/o recursion.i   f2.0x0.02.0s   abci   s
   yaddayaddas   expected not isrecursive for s   expected isreadable for N(
   s   selfs   assert_s   verifys   unis   as   bs   safes   pprints   isrecursives
   isreadable(   s   selfs   verifys   safe(    (    s&   /usr/lib/python2.2/test/test_pprint.pys
   test_basic s     	C c    s/  |  i |  i d <h  |  _ |  i |  i d <|  i d <|  i d <|  i } x\ |  i |  i |  i |  i |  i f f D]3 } | t i |  d  | t i	 |  d  qp W|  i i
   |  i 2|  i 2xf |  i |  i |  i |  i |  i f f D]= } | t i |  d |  | t i	 |  d |  qę Wd	 S(
   s5   Verify .isrecursive() and .isreadable() w/ recursion.iC   i    i   i   s   expected isrecursives   expected not isreadables   expected not isrecursive for s   expected isreadable for N(   s   selfs   as   bs   ds   assert_s   verifys   ickys   pprints   isrecursives
   isreadables   clears   safe(   s   selfs   verifys   ickys   safe(    (    s&   /usr/lib/python2.2/test/test_pprint.pys   test_knotted s$     	&	( ( c    sh   |  i } xX t d  t t i f D]> } | t i |  d |  | t i |  d |  q" Wd S(   s&   Not recursive but not readable anyway.i   s   expected not isrecursive for s   expected not isreadable for N(   s   selfs   assert_s   verifys   types   pprints   isrecursives
   unreadables
   isreadable(   s   selfs   verifys
   unreadable(    (    s&   /usr/lib/python2.2/test/test_pprint.pys   test_unreadable6 s     	 c    s5  |  i } x%d d d d d d t d  f  g  h  | t d d d d d	 d
 t d
  d f d g h  d d <d d f d d g h  d d <d d <h  d f d <g  g d <h  f  <t d d d  f D]d } t |  } xO d d f D]A } t
 t |  } | |  } | | | j d | | | f  qč WqÉ Wd S(   sB   Simple objects and small containers that should be same as repr().i    l    x0.00.0f0.0s    iú˙˙˙l˙˙˙˙ x0.06.0f-1.5s   xi   i   i   i   i   i   i   i   s   xy	ab
i
   iő˙˙˙i˙˙˙˙s   pformats   safereprs!   expected %s got %s from pprint.%sN(   s   selfs   assert_s   verifys   unis   pprints   ranges   simples   reprs   natives   functions   getattrs   fs   got(   s   selfs   functions   fs   simples   verifys   gots   native(    (    s&   /usr/lib/python2.2/test/test_pprint.pys   test_same_as_repr? s     	Ŕ  c    sh   h  d d <d d <d d <d d <d d <d d <d	 d
 <} d } |  i t i |  |  d S(   s$   verify basic line-wrapping operationi    s   RPM_caliťť  s   RPM_cal2s	   Speed_cals   controldesk_runtime_uss   main_code_runtime_uss   read_io_runtime_usiŞŞ  s   write_io_runtime_ussŚ   {'RPM_cal': 0,
 'RPM_cal2': 48059,
 'Speed_cal': 0,
 'controldesk_runtime_us': 0,
 'main_code_runtime_us': 0,
 'read_io_runtime_us': 0,
 'write_io_runtime_us': 43690}N(   s   os   exps   selfs   assertEquals   pprints   pformat(   s   selfs   exps   o(    (    s&   /usr/lib/python2.2/test/test_pprint.pys   test_basic_line_wrapP s     E(   s   __name__s
   __module__s   setUps
   test_basics   test_knotteds   test_unreadables   test_same_as_reprs   test_basic_line_wrap(    (    (    s&   /usr/lib/python2.2/test/test_pprint.pys   QueryTestCase s   		
				c      s   t  i t  d  S(   N(   s   test_supports   run_unittests   QueryTestCase(    (    (    s&   /usr/lib/python2.2/test/test_pprint.pys	   test_mainc s    s   __main__(
   s   pprints   unittests   test_supports   unicodes   unis	   NameErrors   TestCases   QueryTestCases	   test_mains   __name__(   s   test_supports	   test_mains   QueryTestCases   unis   unittests   pprint(    (    s&   /usr/lib/python2.2/test/test_pprint.pys   ? s   			
W	