bpo-30523: regrtest --list-cases now supports --match by vstinner · Pull Request #2401 · python/cpython (original) (raw)

vstinner added a commit that referenced this pull request

Jun 27, 2017

@vstinner

If the option is set, mark a test as failed if it alters the environment, for example if it creates a file without removing it.

(cherry picked from commit 63f54c6)

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]

(cherry picked from commit 48b5c42)