[Subversion] / PyProtocols / src / protocols / tests / test_advice.py  

Diff of /PyProtocols/src/protocols/tests/test_advice.py

Parent Directory | Revision Log

version 158, Sun Nov 7 07:29:54 2004 UTC version 161, Wed Nov 10 04:19:56 2004 UTC
Line 39 
Line 39 
   
   
   
   
 class SuperTest(TestCase):  class SuperTest(TestCase):
   
     def checkMetaSuper(self):      def checkMetaSuper(self):
Line 132 
Line 131 
             if k in f.f_locals:              if k in f.f_locals:
                 del f.f_locals[k]   # simulate old-style advisor                  del f.f_locals[k]   # simulate old-style advisor
   
         add_assignment_advisor(track,1)          add_assignment_advisor(track,frame=sys._getframe())
         test_var = 1          test_var = 1
         self.assertEqual(log, [(sys._getframe(),'test_var',1)])          self.assertEqual(log, [(sys._getframe(),'test_var',1)])
         log = []          log = []


Generate output suitable for use with a patch program
Legend:
Removed from v.158  
changed lines
  Added in v.161

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help