[New-bugs-announce] [issue30856] unittest.TestResult.addSubTest should be called immediately after subtest finishes

Sergey Fedoseev report at bugs.python.org
Wed Jul 5 09:56:36 EDT 2017


New submission from Sergey Fedoseev:

Currently TestResult.addSubTest() is called just before TestResult.stopTest(), but docs says that addSubTest is "Called when a subtest finishes". IMO that means that it will be called immediately after subtest finishes, but not after indefinite time.

Test is attached.

----------
files: test_subtest.py
messages: 297756
nosy: sir-sigurd
priority: normal
severity: normal
status: open
title: unittest.TestResult.addSubTest should be called immediately after subtest finishes
type: behavior
Added file: http://bugs.python.org/file46990/test_subtest.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30856>
_______________________________________


More information about the New-bugs-announce mailing list