From 9503dd1e1865bb873a1f72f63ae384bba8462c5e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 18 May 2017 22:12:57 -0700 Subject: [PATCH] bpo-27103: regrtest disables -W if -R is used (#1660) Workaround for a regrtest bug. --- Lib/test/regrtest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index d7ca07b66479..6cb9d5ae0e3f 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 -- 2.47.3