Skip to content
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

Clarify docs on specifying multiple filters with pytest.mark.filterwarnings #12967

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

soxofaan
Copy link
Contributor

@soxofaan soxofaan commented Nov 15, 2024

  • [ ] Include documentation when adding new features.
  • [ ] Include new tests or update existing tests when applicable.
  • Allow maintainers to push and squash when merging my commits.
  • Add text like closes #XYZW to the PR description and/or commits
  • Create a new changelog file in the changelog folder, with a name like <ISSUE NUMBER>.<TYPE>.rst.
  • Add yourself to AUTHORS in alphabetical order.

Addresses #12966 by clarifying how to specify multiple filterwarnings marks and how order/precedence works. Also improves some filterwarnings related cross-references

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Nov 15, 2024
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @soxofaan!

@nicoddemus nicoddemus added the backport 8.3.x apply to PRs at any point; backports the changes to the 8.3.x branch label Nov 16, 2024
@nicoddemus nicoddemus merged commit 71a35d4 into pytest-dev:main Nov 16, 2024
29 checks passed
Copy link

patchback bot commented Nov 16, 2024

Backport to 8.3.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/8.3.x/71a35d4a3c8bf626cb73be0cb900ede18b1b123d/pr-12967

Backported as #12969

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Nov 16, 2024
nicoddemus pushed a commit that referenced this pull request Nov 16, 2024
…tiple marks (#12967) (#12969)

(cherry picked from commit 71a35d4)

Co-authored-by: Stefaan Lippens <[email protected]>
Glyphack pushed a commit to Glyphack/pytest that referenced this pull request Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 8.3.x apply to PRs at any point; backports the changes to the 8.3.x branch bot:chronographer:provided (automation) changelog entry is part of PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants