10000 bpo-30335: Add deprecation alias entry for assertNotRegexpMatches by DimitrisJim · Pull Request #1536 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-30335: Add deprecation alias entry for assertNotRegexpMatches #1536

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

Merged
merged 4 commits into from
Jun 9, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert previously removed versionadded for assertNotRegex().
  • Loading branch information
DimitrisJim committed May 12, 2017
commit b53f1929e6fed49c44559f067f8c8eac92e9e3c6
2 changes: 2 additions & 0 deletions Doc/library/unittest.rst
9524
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,8 @@ Test cases
.. versionchanged:: 3.2
The method ``assertRegexpMatches()`` has been renamed to
:meth:`.assertRegex`.
.. versionadded:: 3.2
:meth:`.assertNotRegex`.
.. versionadded:: 3.5
The name ``assertNotRegexpMatches`` as a deprecated alias
Copy link
Member

Choose a reason for hiding this comment

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

"as a" -> "is a"

for :meth:`.assertNotRegex`.
Expand Down
0