From d83db97806698f6e16c28980808a7468d918d5db Mon Sep 17 00:00:00 2001 From: hpk Date: Tue, 2 Sep 2008 21:38:46 +0200 Subject: [PATCH] [svn r57772] tweak --HG-- branch : trunk --- py/test/testing/suptest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()