]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45162: Remove many old deprecated unittest features (GH-28268)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 17 Sep 2021 10:33:27 +0000 (13:33 +0300)
committerGitHub <noreply@github.com>
Fri, 17 Sep 2021 10:33:27 +0000 (13:33 +0300)
commitb0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b
treef370600a4be7de179a40cfb81ade054a1f520b2a
parent0361335b80b435ca3694981b41f8269e390eb892
bpo-45162: Remove many old deprecated unittest features (GH-28268)

* "fail*" and "assert*" aliases of TestCase methods.
* Broken from start TestCase method assertDictContainsSubset().
* Ignored TestLoader.loadTestsFromModule() parameter use_load_tests.
* Old alias _TextTestResult of TextTestResult.
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/2021-09-10-13-20-53.bpo-45162.2Jh-lq.rst [new file with mode: 0644]