diff --git a/py/test/testing/suptest.py b/py/test/testing/suptest.py index dcaf18659..f6af96575 100644 --- a/py/test/testing/suptest.py +++ b/py/test/testing/suptest.py @@ -179,6 +179,9 @@ class FileCreation(object): if ret is None: ret = p return ret + + def parseconfig(self, *args): + return py.test.config._reparse(list(args)) class InlineCollection(FileCreation): """ helps to collect and run test functions inlining other test functions. """ @@ -192,9 +195,6 @@ class InlineCollection(FileCreation): self.session = self.config.initsession() return self.config.getfsnode(path) - def parseconfig(self, *args): - return py.test.config._reparse(list(args)) - def getitems(self, source): modulecol = self.getmodulecol(source) return modulecol.collect()