[Python-checkins] [python/cpython] 0f7f67: test_distutils: test_build_ext uses EnvironGuard (...
GitHub
noreply at github.com
Thu May 4 12:10:12 EDT 2017
Branch: refs/heads/2.7
Home: https://github.com/python/cpython
Commit: 0f7f67660653517a5b3ed93e4b658583ff4cd355
https://github.com/python/cpython/commit/0f7f67660653517a5b3ed93e4b658583ff4cd355
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M Lib/distutils/tests/test_build_ext.py
Log Message:
-----------
test_distutils: test_build_ext uses EnvironGuard (#1458)
Use EnvironGuard on BuildExtTestCase to save/restore os.environ, to fix the
following warning:
Warning -- os.environ was modified by test_distutils
MSVCCompiler.initialize() of distutils.msvc9compiler modifies
os.environ.
More information about the Python-checkins
mailing list