

def wantMethod(self, fn):
    if py3k:
        if (not hasattr(fn.__self__, 'cls')):
            return False
        cls = fn.__self__.cls
    else:
        cls = fn.im_class
    return plugin_base.want_method(cls, cls)

dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/testing/plugin/noseplugin.py NoseSQLAlchemy.wantMethod/VarMisuse@63/79 `fn`->`cls`