This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2021-09-10.10:15:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The proposed PR removes the following unittest features:

* "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.

Most features were deprecated in 3.2, "fail*" methods in 3.1, assertNotRegexpMatches in 3.5. They were kept mostly for compatibility with 2.7 (although some of them were new in Python 3 and not compatible with 2.7).

Using deprecated assertEquals instead of assertEqual is a common error which we need to fix regularly, so removing deprecated features will not only make the current code clearer, but save as from future errors.
Date User Action Args
2021-09-10 10:15:06serhiy.storchakasetrecipients: + serhiy.storchaka
2021-09-10 10:15:06serhiy.storchakasetmessageid: <>
2021-09-10 10:15:06serhiy.storchakalinkissue45162 messages
2021-09-10 10:15:05serhiy.storchakacreate