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

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

Parent Directory | Revision Log

version 148, Tue Jul 13 22:30:23 2004 UTC version 150, Fri Jul 16 18:02:58 2004 UTC
Line 146 
Line 146 
         self.assertEqual(log, [(sys._getframe(),'test2',42)]*2)          self.assertEqual(log, [(sys._getframe(),'test2',42)]*2)
   
   
       def checkAs(self):
   
           def f(): pass
   
           [as(lambda x: [x])]
           f1 = f
   
           self.assertEqual(f1, [f])
   
           [as(list, lambda x: (x,))]
           f1 = f
           self.assertEqual(f1, [f])
   
   
   
   
   
   
   
   


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help