SIGN IN SIGN UP

bpo-30776: reduce regrtest -R false positives (#2422)

* Change the regrtest --huntrleaks checker to decide if a test file
  leaks or not. Require that each run leaks at least 1 reference.
* Warmup runs are now completely ignored: ignored in the checker test
  and not used anymore to compute the sum.
* Add an unit test for a reference leak.

Example of reference differences previously considered a failure
(leak) and now considered as success (success, no leak):

    [3, 0, 0]
    [0, 1, 0]
    [8, -8, 1]
V
Victor Stinner committed
48b5c422ffb03affb00c184b9a99e5537be92732
Parent: bac7d33
Committed by GitHub <noreply@github.com> on 6/27/2017, 12:02:04 AM