From: Victor Stinner Date: Fri, 19 May 2017 05:12:57 +0000 (-0700) Subject: bpo-27103: regrtest disables -W if -R is used (#1660) X-Git-Tag: v3.5.4rc1~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9503dd1e1865bb873a1f72f63ae384bba8462c5e;p=python bpo-27103: regrtest disables -W if -R is used (#1660) Workaround for a regrtest bug. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index d7ca07b664..6cb9d5ae0e 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -425,6 +425,11 @@ def _parse_args(args, **kwargs): ns.use_resources.append(r) if ns.random_seed is not None: ns.randomize = 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