-í
é¶<c       sô   d  k  l Z l Z l Z d k Z d k Z d „  Z d „  Z d „  Z d „  Z	 d „  Z
 d „  Z d „  Z d	 „  Z d
 „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d f  d „  ƒ  YZ d „  Z d „  Z d „  Z e ƒ  d S(   (   s   verifys   verboses
   TestFailedNc    s+   |  | j o t d | |  | f ‚ n d  S(   Ns   test_%s: actual %d, expected %d(   s   actuals   expecteds
   TestFaileds   name(   s   actuals   expecteds   name(    (    s"   /usr/lib/python2.2/test/test_gc.pys   expect s    c    s"   |  d j o t d | ‚ n d  S(   Ni    s   test_%s: unexpected zero(   s   actuals
   TestFaileds   name(   s   actuals   name(    (    s"   /usr/lib/python2.2/test/test_gc.pys   expect_nonzero
 s    c    s.   t  o d |  Gn | ƒ  t  o	 d GHn d  S(   Ns   testing %s...s   ok(   s   verboses   names   thunk(   s   names   thunk(    (    s"   /usr/lib/python2.2/test/test_gc.pys   run_test s
    c     s:   g  }  |  i |  ƒ t i ƒ  ~  t t i ƒ  d d ƒ d  S(   Ni   s   list(   s   ls   appends   gcs   collects   expect(   s   l(    (    s"   /usr/lib/python2.2/test/test_gc.pys	   test_list s
    
c     s7   h  }  |  |  d <t i ƒ  ~  t t i ƒ  d d ƒ d  S(   Ni   s   dict(   s   ds   gcs   collects   expect(   s   d(    (    s"   /usr/lib/python2.2/test/test_gc.pys	   test_dict s
    

c     sF   g  }  |  f } |  i | ƒ t i ƒ  ~ ~  t t i ƒ  d d ƒ d  S(   Ni   s   tuple(   s   ls   ts   appends   gcs   collects   expect(   s   ls   t(    (    s"   /usr/lib/python2.2/test/test_gc.pys
   test_tuple# s    	
c     s@   d f  d „  ƒ  Y}  |  |  _ t i ƒ  ~  t t i ƒ  d ƒ d  S(   Ns   Ac      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   A. s   s   class(   s   As   as   gcs   collects   expect_nonzero(   s   A(    (    s"   /usr/lib/python2.2/test/test_gc.pys
   test_class- s
    	
c     s:   d t  f d „  ƒ  Y}  t i ƒ  ~  t t i ƒ  d ƒ d  S(   Ns   Ac      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   A6 s   s   staticclass(   s   objects   As   gcs   collects   expect_nonzero(   s   A(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_newstyleclass5 s    
c     sI   d f  d „  ƒ  Y}  |  ƒ  } | | _ t i ƒ  ~ t t i ƒ  d ƒ d  S(   Ns   Ac      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   A= s   s   instance(   s   As   as   gcs   collects   expect_nonzero(   s   As   a(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_instance< s    		
c     s­   d t  f d „  ƒ  Y}  |  ƒ  } | | _ t i ƒ  ~ t t i ƒ  d ƒ d t f d „  ƒ  Y} d | |  f d „  ƒ  Y} | ƒ  } | | _ t i ƒ  ~ t t i ƒ  d ƒ d  S(	   Ns   Ac      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   AF s   s   newinstances   Bc      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   BM s   s   Cc      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   CO s   s   newinstance(2)(	   s   objects   As   as   gcs   collects   expect_nonzeros   lists   Bs   C(   s   As   as   Cs   B(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_newinstanceE s    		
		
c     s@   d f  d „  ƒ  Y}  |  ƒ  } t i ƒ  ~ t t i ƒ  d ƒ d  S(   Ns   Ac      s   t  Z d „  Z RS(   Nc    s   |  i |  _ d  S(   N(   s   selfs   __init__s   init(   s   self(    (    s"   /usr/lib/python2.2/test/test_gc.pys   __init__Z s    (   s   __name__s
   __module__s   __init__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   AY s   s   method(   s   As   as   gcs   collects   expect_nonzero(   s   As   a(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_methodW s
    	
c     sÈ   d f  d „  ƒ  Y}  d f  d „  ƒ  Y} |  ƒ  } | | _ t | ƒ } | ƒ  } | | _ t i ƒ  ~ ~ t t i ƒ  d ƒ x8 t i	 D]$ } t | ƒ | j o | ` Pn qƒ Wt d ‚ t i	 i | ƒ d  S(   Ns   Ac      s   t  Z d „  Z RS(   Nc    s   d  S(   N(    (   s   self(    (    s"   /usr/lib/python2.2/test/test_gc.pys   __del__e s    (   s   __name__s
   __module__s   __del__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   Ad s   s   Bc      s   t  Z RS(   N(   s   __name__s
   __module__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   Bf s   s	   finalizers&   didn't find obj in garbage (finalizer)(   s   As   Bs   as   ids   id_as   bs   gcs   collects   expect_nonzeros   garbages   objs
   TestFaileds   remove(   s   As   as   Bs   id_as   objs   b(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_finalizera s$    				

 		c     s5   h  }  d |  Ue i ƒ  ~  e e i ƒ  d d ƒ d  S(   Ns   def f(): pass
i   s   function(   s   ds   gcs   collects   expect(   s   d(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_functiony s
    
c     s4   d „  }  t i ƒ  |  ƒ  t t i ƒ  d d ƒ d  S(   Nc     s   t  i ƒ  }  d  S(   N(   s   syss	   _getframes   frame(   s   frame(    (    s"   /usr/lib/python2.2/test/test_gc.pys   fƒ s    i   s   frame(   s   fs   gcs   collects   expect(   s   f(    (    s"   /usr/lib/python2.2/test/test_gc.pys
   test_frame‚ s    	
c     s®   t  i ƒ  } t  i | t  i Bƒ g  } | i | ƒ t | ƒ } ~ t  i	 ƒ  zM x6 t  i
 D]" }  t |  ƒ | j o	 |  2Pn qY Wt d ‚ t  i
 i |  ƒ Wd  t  i | ƒ Xd  S(   Ns$   didn't find obj in garbage (saveall)(   s   gcs	   get_debugs   debugs	   set_debugs   DEBUG_SAVEALLs   ls   appends   ids   id_ls   collects   garbages   objs
   TestFaileds   remove(   s   objs   debugs   ls   id_l(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_saveallŠ s"    

 		 c     s`   t  i ƒ  } t  i ƒ  t  i d ƒ d f  d „  ƒ  Y}  |  ƒ  } ~ t  i ƒ  t t  i | ƒ d  S(   Ni   s   Ac      s   t  Z d „  Z RS(   Nc    s   t  |  ƒ d  S(   N(   s   dirs   self(   s   self(    (    s"   /usr/lib/python2.2/test/test_gc.pys   __del__¦ s    (   s   __name__s
   __module__s   __del__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   A¥ s   (	   s   gcs   get_thresholds
   thresholdss   enables   set_thresholds   As   as   disables   apply(   s   As   as
   thresholds(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_delŸ s    
	
s   Ouchc      s   t  Z d Z d „  Z RS(   Ni    c    s6   t  i d t  _ t  i d d j o t i ƒ  n d  S(   Ni   i   i    (   s   Ouchs   ns   gcs   collect(   s   self(    (    s"   /usr/lib/python2.2/test/test_gc.pys   __del__° s    (   s   __name__s
   __module__s   ns   __del__(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   Ouch® s   c     sÅ   t  i ƒ  d } x¤ t d ƒ D]– }  g  } x# t | ƒ D] } | t ƒ  g } q6 Wg  } x# t | ƒ D] } | t ƒ  g } qb Wh  } x/ t | ƒ D]! } h  | d <t ƒ  d <} qŽ Wq Wt  i
 ƒ  d  S(   NiÈ   i   i   i   (   s   gcs   enables   Ns   ranges   counts   ts   is   Ouchs   us   vs   disable(   s   counts   ts   vs   is   us   N(    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_trashcanµ s"    
    #c      sÄ   t  i ƒ  t d t ƒ t d t ƒ t d t ƒ t d t ƒ t d t ƒ t d t ƒ t d t	 ƒ t d t
 ƒ t d	 t ƒ t d
 t ƒ t d t ƒ t d t ƒ t d t ƒ t d t ƒ d  S(   Ns   listss   dictss   tupless   classess   new style classess	   instancess   new instancess   methodss	   functionss   framess
   finalizerss   __del__s   savealls   trashcan(   s   gcs   collects   run_tests	   test_lists	   test_dicts
   test_tuples
   test_classs   test_newstyleclasss   test_instances   test_newinstances   test_methods   test_functions
   test_frames   test_finalizers   test_dels   test_savealls   test_trashcan(    (    (    s"   /usr/lib/python2.2/test/test_gc.pys   test_allË s    
c     s¸   t  o	 d GHn t i ƒ  } t i ƒ  t t i ƒ  ƒ t i ƒ  }  t i |  t i	 @ƒ z t
 ƒ  Wd  t i |  ƒ t  o	 d GHn t i ƒ  t t i ƒ  ƒ | o t i ƒ  n Xd  S(   Ns   disabling automatic collections   restoring automatic collection(   s   verboses   gcs	   isenableds   enableds   disables   verifys	   get_debugs   debugs	   set_debugs
   DEBUG_LEAKs   test_alls   enable(   s   debugs   enabled(    (    s"   /usr/lib/python2.2/test/test_gc.pys   testÜ s"    	
 	
(   s   test_supports   verifys   verboses
   TestFaileds   syss   gcs   expects   expect_nonzeros   run_tests	   test_lists	   test_dicts
   test_tuples
   test_classs   test_newstyleclasss   test_instances   test_newinstances   test_methods   test_finalizers   test_functions
   test_frames   test_savealls   test_dels   Ouchs   test_trashcans   test_alls   test(   s   test_alls   verboses   test_finalizers   test_functions   test_instances   test_newinstances   syss   tests
   test_classs   gcs   expects	   test_lists   test_methods   run_tests   expect_nonzeros   verifys   Ouchs	   test_dicts   test_trashcans   test_newstyleclasss
   TestFaileds   test_dels
   test_frames
   test_tuples   test_saveall(    (    s"   /usr/lib/python2.2/test/test_gc.pys   ? s.   								
						
									