miracle2k / miracle2k/python-glob2
Pytest 8 compatibility
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 125
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
If you want this project to be compatible with pytest 8, you have to rename setup to setup_method and teardown to teardown_method in test.py.
Or run:
sed -i "s/setup(/setup_method(/" test.py
sed -i "s/teardown(/teardown_method(/" test.py
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
Open test.py and inspect the setup and teardown methods used by the tests. Check the project under pytest 8, apply the compatibility changes described in the issue, and rerun the tests to confirm they pass without setup or teardown warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100