-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Deprecate the 'message' parameter of pytest.raises #4539
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
Deprecate the 'message' parameter of pytest.raises #4539
Conversation
ah doctests, I always forget those too ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that one should have been match, but its a good extra example that this is the right path forward
we mess up ourselves as is
9741a8c
to
18fd43e
Compare
Hmmm better to remove the |
18fd43e
to
5b83417
Compare
OK, ready. Also revamped the docs for |
Codecov Report
@@ Coverage Diff @@
## features #4539 +/- ##
============================================
- Coverage 95.77% 95.76% -0.02%
============================================
Files 111 111
Lines 24954 24961 +7
Branches 2462 2462
============================================
+ Hits 23900 23904 +4
Misses 747 747
- Partials 307 310 +3
Continue to review full report at Codecov.
|
Thanks for making this happen! |
Remove reference to the `message` argument in the docs as it was deprecated in pytest-dev#4539
Fix #3974