• Victor Stinner's avatar
    bpo-30776: reduce regrtest -R false positives (#2422) · 48b5c422
    Victor Stinner yazdı
    * 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]
    48b5c422
test_regrtest.py 34.5 KB