[issue10612] StopTestRun exception to halt test run

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag stage: - patch review type: performance - enhancement versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10612

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread R. David Murray
R. David Murray added the comment: I've added some review comments. I did not download the patch and run the tests etc; it would be great if you could find another sprinter (or anyone :) to do that level of review. -- ___ Python tracker

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Pam McA'Nulty added the comment: This version fixes a few things after using review. I still have some open questions: o Where in unittest.rst should the StopTestRun documentation actually live? I've put it right after the SkipTest exception. That doesn't feel perfect, but I didn't see a

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Changes by Pam McA'Nulty pam...@webreply.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10612 ___ ___

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Changes by Pam McA'Nulty pam...@webreply.com: -- nosy: +kushal.das ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10612 ___ ___ Python-bugs-list

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Pam McA'Nulty added the comment: Added unittest.StopTestRun exception. It's caught and handled in testPartExecutor() - which is the same place SkipTest is caught. If report=False, then it sets the result.haltTestRun attribute, which is a signal to TestTextRunner to not generate any output.

[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Pam McA'Nulty
Changes by Pam McA'Nulty pam...@webreply.com: -- nosy: +Pam.McANulty ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10612 ___ ___ Python-bugs-list

[issue10612] StopTestRun exception to halt test run

2014-06-17 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10612 ___ ___

[issue10612] StopTestRun exception to halt test run

2010-12-02 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: It is hard for test infrastructure to halt a test run unless it has access to the result object. A StopTestRun exception could be provided. This could be caught in TestCase.run and call TestResult.stop(). It could be parameterized