matplotlib / matplotlib/pytest-mpl
Upgrade to new-style hook wrappers
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 272
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Pytest 8 will use the new-style hook wrappers so we should add a version check to update the decorator for our pytest_runtest_call hooks.
See also: https://github.com/pytest-dev/pytest/issues/11714
Also re-enable the pytestdev test environment.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the pluggy new-style hook wrapper documentation and the linked pytest issue, then locate the pytest_runtest_call hooks and the pytestdev test environment configuration. Update the decorator handling for the relevant pytest version and confirm that the pytestdev environment is enabled and passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100