fix tests by using less likely existing import names

This commit is contained in:
holger krekel
2010-11-01 00:38:44 +01:00
parent 209140fea0
commit c3ec2718a2
2 changed files with 4 additions and 6 deletions

View File

@@ -295,8 +295,6 @@ class HookProxy:
def __init__(self, node):
self.node = node
def __getattr__(self, name):
if name[0] == "_":
raise AttributeError(name)
hookmethod = getattr(self.node.config.hook, name)
def call_matching_hooks(**kwargs):
plugins = self.node.config._getmatchingplugins(self.node.fspath)