cpython: 5048f44c6654 (original) (raw)
Mercurial > cpython
changeset 68873:5048f44c6654
Fix transmitting warning options to the children when running tests in parallel (thanks Michael for pointing this).
Antoine Pitrou solipsis@pitrou.net | |
---|---|
date | Wed, 23 Mar 2011 20:10:18 +0100 |
parents | 2f4865834695 |
children | d8dd7ab6039d |
files | Lib/test/support.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-)[+] [-] Lib/test/support.py 5 |
line wrap: on
line diff
--- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1389,9 +1389,8 @@ def args_from_interpreter_flags(): v = getattr(sys.flags, flag) if v > 0: args.append('-' + opt * v)
if sys.warnoptions:[](#l1.7)
args.append('-W')[](#l1.8)
args.extend(sys.warnoptions)[](#l1.9)
#============================================================