[issue3379] Option to not-exit on test
Barry A. Warsaw
report at bugs.python.org
Fri Jul 18 23:45:50 CEST 2008
Barry A. Warsaw <barry at python.org> added the comment:
I'm not sure it's a good idea. When exit=False, don't you lose the
results? It would be better to return the results, but then that makes
for an ugly API (changing the return value based on an argument is a
general no-no in Python).
It would seem better to add a new method that returned the results
instead of exiting. You'd probably want to refactor runTests().
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list