[py-svn] r57772 - py/trunk/py/test/testing

hpk at codespeak.net hpk at codespeak.net
Tue Sep 2 21:38:48 CEST 2008


Author: hpk
Date: Tue Sep  2 21:38:46 2008
New Revision: 57772

Modified:
   py/trunk/py/test/testing/suptest.py
Log:
tweak


Modified: py/trunk/py/test/testing/suptest.py
==============================================================================
--- py/trunk/py/test/testing/suptest.py	(original)
+++ py/trunk/py/test/testing/suptest.py	Tue Sep  2 21:38:46 2008
@@ -179,6 +179,9 @@
             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 @@
             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()



More information about the pytest-commit mailing list