[py-svn] r62205 - py/branch/pytestplugin/py/test

hpk at codespeak.net hpk at codespeak.net
Fri Feb 27 10:25:15 CET 2009


Author: hpk
Date: Fri Feb 27 10:25:14 2009
New Revision: 62205

Modified:
   py/branch/pytestplugin/py/test/collect.py
Log:
add a deprecated KW to avoid breakage of pypy branches


Modified: py/branch/pytestplugin/py/test/collect.py
==============================================================================
--- py/branch/pytestplugin/py/test/collect.py	(original)
+++ py/branch/pytestplugin/py/test/collect.py	Fri Feb 27 10:25:14 2009
@@ -479,7 +479,9 @@
                 l.append(x)
         return l
 
-    def consider_dir(self, path):
+    def consider_dir(self, path, usefilters=None):
+        if usefilters is None:
+            APIWARN("0.99", "usefilters argument not needed")
         if not self.recfilter(path):
             # check if cmdline specified this dir or a subdir
             for arg in self._config.args:



More information about the pytest-commit mailing list