Merged revisions 72474 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72474 | benjamin.peterson | 2009-05-08 12:59:29 -0500 (Fri, 08 May 2009) | 1 line

  fix this test
........
This commit is contained in:
Benjamin Peterson 2009-05-08 18:18:45 +00:00
parent 0a866947c9
commit 8a282d175b
1 changed files with 2 additions and 4 deletions

View File

@ -1572,15 +1572,13 @@ order (MRO) for bases """
self.impl = impl
def __get__(self, obj, owner):
record.append(1)
return self
def __call__(self, *args):
return self.impl(*args)
return self.impl.__get__(obj, owner)
for name, runner, meth_impl in specials:
class X(Checker):
pass
setattr(X, name, staticmethod(meth_impl))
setattr(X, name, meth_impl)
runner(X())
record = []