summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/libregrtest/cmdline.py5
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