homepage

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 ezio.melotti, iritkatriel, michael.foord, rbcollins, serhiy.storchaka
Date 2021年12月16日.10:15:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639649744.27.0.433751793989.issue22815@roundup.psfhosted.org>
In-reply-to
Content
I think the OP means that test details (test description, traceback, captured output) are printed for ERROR and FAIL in TextTestResult.printErrors(). Other possible results besides error and failure are success, skipped, expected failure and unexpected success. Success, skipped and expected failure are expected, they do not cause total failure, but unexpected success is different. Result.wasSuccessful() returns False if there are any errors, failures or unexpected successes. But unlike errors and failures we do not have any details about unexpected successes. It looks like oversight to me.
Yes, there are no traceback for unexpected success, but at least we can output the test description and captured output.
History
Date User Action Args
2021年12月16日 10:15:44serhiy.storchakasetrecipients: + serhiy.storchaka, rbcollins, ezio.melotti, michael.foord, iritkatriel
2021年12月16日 10:15:44serhiy.storchakasetmessageid: <1639649744.27.0.433751793989.issue22815@roundup.psfhosted.org>
2021年12月16日 10:15:44serhiy.storchakalinkissue22815 messages
2021年12月16日 10:15:44serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /