Skip to content

Commit

Permalink
Update pytest hook decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Feb 4, 2024
1 parent 156a8be commit 175084f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hypothesis-python/src/_hypothesis_pytestplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def pytest_configure(config):
pass
core.global_force_seed = seed

@pytest.hookimpl(hookwrapper=True)
@pytest.hookimpl(wrapper=True)
def pytest_runtest_call(item):
__tracebackhide__ = True
if not (hasattr(item, "obj") and "hypothesis" in sys.modules):
Expand Down Expand Up @@ -321,7 +321,7 @@ def _stash_get(config, key, default):
else:
return getattr(config, key, default)

@pytest.hookimpl(hookwrapper=True)
@pytest.hookimpl(wrapper=True)
def pytest_runtest_makereport(item, call):
report = (yield).get_result()
if hasattr(item, "hypothesis_report_information"):
Expand Down

0 comments on commit 175084f

Please sign in to comment.