]> granicus.if.org Git - python/commit
[3.6] bpo-29512, bpo-30776: Backport regrtest enhancements from master to 3.6 (#2513)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 30 Jun 2017 15:31:16 +0000 (17:31 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2017 15:31:16 +0000 (17:31 +0200)
commita3ca94d0504157a112a1f89bfe8be1307116fc73
treee9d48c00fcb20b5feb679ce8fa92622136c19f47
parent23caf8cfc6c52bdedd8e8db688d807530355fd6d
[3.6] bpo-29512, bpo-30776: Backport regrtest enhancements from master to 3.6 (#2513)

* bpo-29512: Add test.bisect, bisect failing tests (#2452)

Add a new "python3 -m test.bisect" tool to bisect failing tests.

It can be used to find which test method(s) leak references, leak
files, etc.
(cherry picked from commit 84d9d14a1fa395fbd21262ba195490be25a7b3bc)

* bpo-30776: regrtest: reduce memleak false positive (#2484)

Only report a leak if each run leaks at least one memory block.
(cherry picked from commit beeca6e1e5fd01531b1db7059498b13d07dca525)
Lib/test/bisect.py [new file with mode: 0755]
Lib/test/libregrtest/refleak.py