-ํ
ษ<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   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/local/twc/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/local/twc/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/local/twc/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/local/twc/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/local/twc/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/local/twc/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   RS(   N(    (    (    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   A. s    s   class(   s   As   as   gcs   collects   expect_nonzero(   s   A(    (    s,   /usr/local/twc/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   RS(   N(    (    (    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   A6 s    s   staticclass(   s   objects   As   gcs   collects   expect_nonzero(   s   A(    (    s,   /usr/local/twc/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   RS(   N(    (    (    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   A= s    s   instance(   s   As   as   gcs   collects   expect_nonzero(   s   As   a(    (    s,   /usr/local/twc/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   RS(   N(    (    (    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   AF s    s   newinstances   Bc      s   RS(   N(    (    (    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   BM s    s   Cc      s   RS(   N(    (    (    (    s,   /usr/local/twc/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/local/twc/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   d   Z  RS(   Nc    s   |  i |  _ d  S(   N(   s   selfs   __init__s   init(   s   self(    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   __init__Z s    (   s   __init__(    (    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   AY s    s   method(   s   As   as   gcs   collects   expect_nonzero(   s   As   a(    (    s,   /usr/local/twc/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   d   Z  RS(   Nc    s   d  S(   N(    (   s   self(    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   __del__e s    (   s   __del__(    (    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   Ad s    s   Bc      s   RS(   N(    (    (    (    s,   /usr/local/twc/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/local/twc/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/local/twc/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/local/twc/lib/python2.2/test/test_gc.pys   f s    i   s   frame(   s   fs   gcs   collects   expect(   s   f(    (    s,   /usr/local/twc/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/local/twc/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   d   Z  RS(   Nc    s   t  |   d  S(   N(   s   dirs   self(   s   self(    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   __del__ฆ s    (   s   __del__(    (    (    s,   /usr/local/twc/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/local/twc/lib/python2.2/test/test_gc.pys   test_del 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  d  S(   Ns   listss   dictss   tupless   classess   new style classess	   instancess   new instancess   methodss	   functionss   framess
   finalizerss   __del__s   saveall(   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_saveall(    (    (    s,   /usr/local/twc/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/local/twc/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   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	   test_dicts   test_newstyleclasss
   TestFaileds   test_dels
   test_frames
   test_tuples   test_saveall(    (    s,   /usr/local/twc/lib/python2.2/test/test_gc.pys   ? s*   								
						
								