Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Pytest 8 compatibility

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
testing

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.

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
Dominant language
Python
Stars
125
Forks
20
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from miracle2k/python-glob2

All issues in miracle2k/python-glob2

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.