rename pytest_ignore_collect_path to pytest_ignore_collect before release

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-05-02 15:24:02 +02:00
parent 3efb8028fb
commit 45e10f4c48
6 changed files with 9 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ def pytest_funcarg__pytestconfig(request):
""" the pytest config object with access to command line opts."""
return request.config
def pytest_ignore_collect_path(path, config):
def pytest_ignore_collect(path, config):
ignore_paths = config.getconftest_pathlist("collect_ignore", path=path)
ignore_paths = ignore_paths or []
excludeopt = config.getvalue("ignore")