[Python-checkins] cpython: Fix transmitting warning options to the children when running tests in (original) (raw)
antoine.pitrou python-checkins at python.org
Wed Mar 23 20:11:27 CET 2011
- Previous message: [Python-checkins] hooks: Indent diffstat with 2 spaces and another line break before the diff.
- Next message: [Python-checkins] cpython: Allow "-j0" as an argument to regrtest, to automatically select an
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/cpython/rev/5048f44c6654 changeset: 68873:5048f44c6654 user: Antoine Pitrou <solipsis at pitrou.net> date: Wed Mar 23 20:10:18 2011 +0100 summary: Fix transmitting warning options to the children when running tests in parallel (thanks Michael for pointing this).
files: Lib/test/support.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Lib/test/support.py b/Lib/test/support.py --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1389,9 +1389,8 @@ v = getattr(sys.flags, flag) if v > 0: args.append('-' + opt * v)
if sys.warnoptions:
args.append('-W')
args.extend(sys.warnoptions)
- for opt in sys.warnoptions:
return argsargs.append('-W' + opt)
#============================================================
-- Repository URL: http://hg.python.org/cpython
- Previous message: [Python-checkins] hooks: Indent diffstat with 2 spaces and another line break before the diff.
- Next message: [Python-checkins] cpython: Allow "-j0" as an argument to regrtest, to automatically select an
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]