diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-27 16:09:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 16:09:23 +0200 |
commit | 62881a79a81816f075c8809b94438a3d519af0a4 (patch) | |
tree | 378dd226fc2a2b321537a9010cf96398fccbd927 /Lib/test/libregrtest/cmdline.py | |
parent | d9809e84fbf22ed8d90b212a9322260f7074bc9c (diff) | |
download | cpython-62881a79a81816f075c8809b94438a3d519af0a4.tar.gz cpython-62881a79a81816f075c8809b94438a3d519af0a4.zip |
gh-109566: regrtest doesn't enable --rerun if --python is used (#109969)
regrtest: --fast-ci and --slow-ci options no longer enable --rerun if
the --python option is used.
Diffstat (limited to 'Lib/test/libregrtest/cmdline.py')
-rw-r--r-- | Lib/test/libregrtest/cmdline.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/libregrtest/cmdline.py b/Lib/test/libregrtest/cmdline.py index c180bb76222..0a863561d52 100644 --- a/Lib/test/libregrtest/cmdline.py +++ b/Lib/test/libregrtest/cmdline.py @@ -420,7 +420,8 @@ def _parse_args(args, **kwargs): ns.randomize = True ns.fail_env_changed = True ns.fail_rerun = True - ns.rerun = True + if ns.python is None: + ns.rerun = True ns.print_slow = True ns.verbose3 = True if MS_WINDOWS: |