adapt to pluggy naming, rename pytest.hookspec_opts to pytest.hookspec,s ame with hookimpl_opts

--HG--
branch : pluggy1
This commit is contained in:
holger krekel
2015-05-06 10:08:08 +02:00
parent 5ea7f0342b
commit bddc88f09e
20 changed files with 81 additions and 75 deletions

View File

@@ -559,7 +559,7 @@ class TestConftestCustomization:
b = testdir.mkdir("a").mkdir("b")
b.join("conftest.py").write(py.code.Source("""
import pytest
@pytest.hookimpl_opts(hookwrapper=True)
@pytest.hookimpl(hookwrapper=True)
def pytest_pycollect_makeitem():
outcome = yield
if outcome.excinfo is None: