mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-27103: regrtest disables -W if -R is used (#1651)
Workaround for a regrtest bug.
This commit is contained in:
parent
3972628de3
commit
fcdd9b6b7e
1 changed files with 5 additions and 0 deletions
|
@ -345,5 +345,10 @@ def _parse_args(args, **kwargs):
|
|||
ns.randomize = True
|
||||
if ns.verbose:
|
||||
ns.header = True
|
||||
if ns.huntrleaks and ns.verbose3:
|
||||
ns.verbose3 = False
|
||||
print("WARNING: Disable --verbose3 because it's incompatible with "
|
||||
"--huntrleaks: see http://bugs.python.org/issue27103",
|
||||
file=sys.stderr)
|
||||
|
||||
return ns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue