Roundup Robot added the comment:
New changeset 993e8f795194 by Antoine Pitrou in branch '3.4':
Issue #22894: TestCase.subTest() would cause the test suite to be stopped when
in failfast mode, even in the absence of failures.
https://hg.python.org/cpython/rev/993e8f795194
New changeset
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22894
___
Michael Foord added the comment:
Looks good, thanks for the quick response.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22894
___
___
Changes by Michael Foord mich...@voidspace.org.uk:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22894
___
___
Python-bugs-list
Antoine Pitrou added the comment:
Here is a patch.
--
keywords: +patch
stage: - patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file37238/subtests_failfast.patch
___
Python tracker rep...@bugs.python.org
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22894
___
___
Python-bugs-list
New submission from Trey Cucco:
When running a test suite with the -f flag (--failfast), unittest seems to stop
running tests once it exits a with self.subTest block.
In the attached script, run it without -f and test_b will run and fail. Run it
with the -f flag and only the test_a test will
Changes by Ned Deily n...@acm.org:
--
components: -Macintosh
nosy: +ezio.melotti, michael.foord, rbcollins -ned.deily, ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22894
___