[Subversion] / PyProtocols / src / protocols / tests / test_advice.py |
version 168, Sat Nov 20 22:56:25 2004 UTC | version 184, Wed Jan 5 22:43:30 2005 UTC | ||
---|---|---|---|
|
|
||
d = {'sys':sys, 'getFrameInfo':getFrameInfo} | d = {'sys':sys, 'getFrameInfo':getFrameInfo} | ||
exec "class Foo: info=getFrameInfo(sys._getframe())" in d | exec "class Foo: info=getFrameInfo(sys._getframe())" in d | ||
kind,module,f_locals,f_globals = d['Foo'].info | kind,module,f_locals,f_globals = d['Foo'].info | ||
assert kind=="class-exec", kind | assert kind=="class", kind | ||
|
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |