diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-17 10:33:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 10:33:27 (GMT) |
commit | b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b (patch) | |
tree | f370600a4be7de179a40cfb81ade054a1f520b2a /Misc | |
parent | 0361335b80b435ca3694981b41f8269e390eb892 (diff) | |
download | cpython-b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b.zip cpython-b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b.tar.gz cpython-b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-09-10-13-20-53.bpo-45162.2Jh-lq.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-09-10-13-20-53.bpo-45162.2Jh-lq.rst b/Misc/NEWS.d/next/Library/2021-09-10-13-20-53.bpo-45162.2Jh-lq.rst new file mode 100644 index 0000000..b22269d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-09-10-13-20-53.bpo-45162.2Jh-lq.rst @@ -0,0 +1,6 @@ +Remove many old deprecated :mod:`unittest` features: + +* "``fail*``" and "``assert*``" aliases of :class:`~unittest.TestCase` methods. +* Broken from start :class:`~unittest.TestCase` method ``assertDictContainsSubset()``. +* Ignored :meth:`<unittest.TestLoader.loadTestsFromModule> TestLoader.loadTestsFromModule` parameter *use_load_tests*. +* Old alias ``_TextTestResult`` of :class:`~unittest.TextTestResult`. |