Skip to content

Update docstrings to use preferred hookimpl decorator #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

alisaifee
Copy link
Contributor

Description

The hooks documentation recommends using pytest.mark.hookwrapper to mark hook wrappers for pytest_benchmark_generate_json and pytest_benchmark_group_stats - which was deprecated in pytest-dev/pytest#9118.

The recommended approach is to use @pytest.hookimpl(wrapper=True)

@ionelmc ionelmc merged commit b7bba0e into ionelmc:master Apr 8, 2025
70 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants