]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
regrtest: always show before/after of modified env (#1192) (#1406)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 3 May 2017 00:12:22 +0000 (02:12 +0200)
committerGitHub <noreply@github.com>
Wed, 3 May 2017 00:12:22 +0000 (02:12 +0200)
commit564e89f43b8d64c165755e3c7a94e4daecfde5a3
tree6a47e071f90b6bec5c819bac79560579945f60d6
parent0c2ff0898db2db9cd9c643dfadbff11761bacf5f
regrtest: always show before/after of modified env (#1192) (#1406)

Buildbots don't run tests with -vv and so only log "xxx was modified
by test_xxx" which is not enough to debug such random issue. In many
cases, I'm unable to reproduce the warning and so unable to fix it.

Always logging the value before and value after should help to debug
such warning on buildbots.
(cherry picked from commit ec4b17239d899550be4ee6104b61751bb3c70382)
Lib/test/libregrtest/save_env.py