[issue29551] unittest: TestSuite.debug() does not like subTest()

2018-10-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, Wolfgang. The main cause of the issue will be resolved when we merge PR 9707. I'm closing this as a duplicate of issue 34900 since the latter has already an open PR. -- nosy: +berker.peksag resolution: -> duplicate stage: ->

[issue29551] unittest: TestSuite.debug() does not like subTest()

2017-02-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +ezio.melotti, michael.foord, pitrou, rbcollins type: crash -> behavior versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue29551] unittest: TestSuite.debug() does not like subTest()

2017-02-13 Thread Wolfgang Rohdewald
New submission from Wolfgang Rohdewald: 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