]> granicus.if.org Git - python/commit
test_distutils: use EnvironGuard (#1433)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 3 May 2017 15:28:10 +0000 (17:28 +0200)
committerGitHub <noreply@github.com>
Wed, 3 May 2017 15:28:10 +0000 (17:28 +0200)
commit15f8d0d360757eb14d4eb2c0fb6a5b3472cec8b3
tree41ce5e6016f190492961df6b78984afee277069b
parent2b183b87d29e8c91a313fbfbf8c901287e7b180e
test_distutils: use EnvironGuard (#1433)

Use EnvironGuard on InstallTestCase and UtilTestCase.

Backport fixes from master to prevent the following warning:

Warning -- os.environ was modified by test_distutils
Lib/distutils/tests/test_install.py
Lib/distutils/tests/test_util.py