[Subversion] / PyProtocols / src / protocols / tests / test_advice.py |
version 23, Sun May 25 17:21:48 2003 UTC | version 24, Sun May 25 17:27:35 2003 UTC | ||
---|---|---|---|
|
|
||
assert ob.foo == 2 | assert ob.foo == 2 | ||
def checkSuperNotFound(self): | |||
class Base(object): | |||
pass | |||
b = Base() | |||
try: | |||
supermeta(Base,b).foo | |||
except AttributeError: | |||
pass | |||
else: | |||
raise AssertionError("Shouldn't have returned a value") | |||
|
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |