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 docs@python, eric.smith, serhiy.storchaka, tfish2
Date 2022-03-10.12:40:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646916035.76.0.221831650543.issue46972@roundup.psfhosted.org>
In-reply-to
Content
I concur with Eric. The existing documentation looks pretty clear to me. Any exception can be raised explicitly, no need to repeat this.

And unittest.TestCase methods do not raise AssertionError. They raise TestCase.failureException, which by default is set to AssertionError. It is specified in the corresponding module documentation.
History
Date User Action Args
2022-03-10 12:40:35serhiy.storchakasetrecipients: + serhiy.storchaka, eric.smith, docs@python, tfish2
2022-03-10 12:40:35serhiy.storchakasetmessageid: <1646916035.76.0.221831650543.issue46972@roundup.psfhosted.org>
2022-03-10 12:40:35serhiy.storchakalinkissue46972 messages
2022-03-10 12:40:35serhiy.storchakacreate