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

Docs: refer to non-deprecated unittest alias #9017

Merged

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Aug 18, 2021

Deprecated since version 3.2: assertRegexpMatches and assertRaisesRegexp have been renamed to assertRegex() and assertRaisesRegex().

https://docs.python.org/3/library/unittest.html#deprecated-aliases

@hugovk hugovk added the type: docs documentation improvement, missing or needing clarification label Aug 18, 2021
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

👍 thanks

@nicoddemus nicoddemus merged commit 16077f2 into pytest-dev:main Aug 18, 2021
@hugovk hugovk deleted the update-deprecated-unittest-aliases branch August 18, 2021 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs documentation improvement, missing or needing clarification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants