diff --git a/setup.py b/setup.py index 29e69d3..e05ad8e 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="pytest-insper", - version="0.1.1", + version="0.1.2", author="Andrew Kurauchi", author_email="andrewTNK@insper.edu.br", description="Pytest plugin for courses at Insper", diff --git a/src/pytest_insper/__init__.py b/src/pytest_insper/__init__.py index 2aa0b95..eed41e0 100644 --- a/src/pytest_insper/__init__.py +++ b/src/pytest_insper/__init__.py @@ -62,7 +62,7 @@ def pytest_collection_modifyitems(session, config, items): items[:] = [item for sublist in sorted_items for item in sublist] -@pytest.hookimpl(wrapper=True) +@pytest.hookimpl(hookwrapper=True) def pytest_pyfunc_call(pyfuncitem): # Execute test res = yield