diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-05-18 20:03:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 20:03:24 (GMT) |
commit | fcdd9b6b7e73427ce5aa63cf095312f603c4edce (patch) | |
tree | cec8ade74dcf0eb9c5320ce1b79e3a228c8d208f | |
parent | 3972628de3d569c88451a2a176a1c94d8822b8a6 (diff) | |
download | cpython-fcdd9b6b7e73427ce5aa63cf095312f603c4edce.zip cpython-fcdd9b6b7e73427ce5aa63cf095312f603c4edce.tar.gz cpython-fcdd9b6b7e73427ce5aa63cf095312f603c4edce.tar.bz2 |
bpo-27103: regrtest disables -W if -R is used (#1651)
Workaround for a regrtest bug.
-rw-r--r-- | Lib/test/libregrtest/cmdline.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/cmdline.py b/Lib/test/libregrtest/cmdline.py index 8260b09..8b658a4 100644 --- a/Lib/test/libregrtest/cmdline.py +++ b/Lib/test/libregrtest/cmdline.py @@ -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 |