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 wrohdewald
Recipients wrohdewald
Date 2017-02-14.07:10:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487056249.29.0.788036995635.issue29551@psf.upfronthosting.co.za>
In-reply-to
Content
the main code is appended in main.py

if a test uses with self.subTest(), subTest() fails right in its first statement "if not self._outcome ..." because _outcome is None.

In main.py, the commented runner.run(suite) would work correctly.

If this is not meant to work, please mention it in the documentation and  improve unittest's reaction.

what I would find more logical from the users's point of view is something like

runner.debug(suite)
History
Date User Action Args
2017-02-14 07:10:49wrohdewaldsetrecipients: + wrohdewald
2017-02-14 07:10:49wrohdewaldsetmessageid: <1487056249.29.0.788036995635.issue29551@psf.upfronthosting.co.za>
2017-02-14 07:10:49wrohdewaldlinkissue29551 messages
2017-02-14 07:10:48wrohdewaldcreate