adding _id parameter to addcall, refinements

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-05-12 02:05:59 +02:00
parent c3f3dc653e
commit ebb0de4ff7
4 changed files with 45 additions and 17 deletions

View File

@@ -178,7 +178,7 @@ class PyCollectorMixin(PyobjMixin, py.test.collect.Collector):
if not funcspec._calls:
return self.Function(name, parent=self)
return funcargs.FunctionCollector(name=name,
parent=self, combinations=funcspec._calls)
parent=self, calls=funcspec._calls)
class Module(py.test.collect.File, PyCollectorMixin):
def _getobj(self):