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

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

Parent Directory | Revision Log

version 161, Wed Nov 10 04:19:56 2004 UTC version 168, Sat Nov 20 22:56:25 2004 UTC
Line 231 
Line 231 
             assert d is globals()              assert d is globals()
   
   
       def checkClassExec(self):
           d = {'sys':sys, 'getFrameInfo':getFrameInfo}
           exec "class Foo: info=getFrameInfo(sys._getframe())" in d
           kind,module,f_locals,f_globals = d['Foo'].info
           assert kind=="class-exec", kind
   
   
   


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help