[3.6] bpo-33873: Backport regrtest from master to 3.6 (GH-7935) by vstinner · Pull Request #7937 · python/cpython (original) (raw)

(cherry picked from commit 4ffe9c2)

regrtest: Add warning when using less than 3 warmup runs like -R 1:3.
(cherry picked from commit cac4fef)

Fix bug in Lib/test/libregrtest/runtest.py that makes running tests an extra time than the specified number of runs.

Add check for invalid --huntrleaks/-R parameters.

(cherry picked from commit 58ed730)
(cherry picked from commit d1f9481)

https://bugs.python.org/issue33873