[svn r57772] tweak

--HG--
branch : trunk
This commit is contained in:
hpk 2008-09-02 21:38:46 +02:00
parent 314d103884
commit d83db97806
1 changed files with 3 additions and 3 deletions

View File

@ -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()