pytest-dev / pytest-dev/pytest
Support `-r w` and remove `--disable-warnings` argument
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14.5k
- Forks
- 3.4k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 35
Description
It was added in https://github.com/pytest-dev/pytest/commit/e04d9ff80be855164799bb315d23ca611c4b10f4 by @aostr, and its only purpose is to remove the "w" in reportopts.
In https://github.com/pytest-dev/pytest/issues/1668#issuecomment-228550742 it is mentioned that this was discussed with @hpk42.
The main intention here appears to be to enable them by default.
I suggest adding support for -w in reportchars instead.
This would also allow for something like a-s to have everything, without "skipped" easily.
(came here because I want to add A also to also include pP passed ones)
Contributor guide
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
No file or test is named. Start by tracing pytest's command-line handling for reportopts, reportchars, and --disable-warnings, then review the linked discussion for the intended default behavior. Done means -r w is supported, the obsolete argument is removed, and report-character combinations such as a-s work as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100