]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935)
authorGregory P. Smith <greg@krypto.org>
Thu, 27 Jan 2022 04:39:15 +0000 (20:39 -0800)
committerGitHub <noreply@github.com>
Thu, 27 Jan 2022 04:39:15 +0000 (20:39 -0800)
commitb50322d20337ca468f2070eedb051a16ee1eba94
treeba478b8fe2b91b583cec640d518f9643fb5b6f7d
parent9f0881476e0113d3a35e0ffa96649b9276dd75c5
bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935)

Revert "bpo-45162: Remove many old deprecated unittest features (GH-28268)"

This reverts commit b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b.

We're deferring this change until 3.12 while upstream projects that use
the legacy assertion method names are fixed.  See the issue for links
to the discussion. Many upstream projects now have issues and PRs
filed.
14 files changed:
Doc/library/unittest.rst
Doc/whatsnew/3.11.rst
Doc/whatsnew/3.2.rst
Lib/unittest/__init__.py
Lib/unittest/case.py
Lib/unittest/loader.py
Lib/unittest/runner.py
Lib/unittest/test/_test_warnings.py
Lib/unittest/test/test_assertions.py
Lib/unittest/test/test_case.py
Lib/unittest/test/test_loader.py
Lib/unittest/test/test_program.py
Lib/unittest/test/test_runner.py
Misc/NEWS.d/next/Library/2022-01-26-23-58-48.bpo-45162.4Jmg_j.rst [new file with mode: 0644]