aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_msvc9compiler.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-09-26 19:20:32 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-09-26 19:20:32 -0400
commit8759ca96ec6c6c318d65e0c93ca8b3c93f45e7f9 (patch)
tree259603ae3ad673759b65368aece857c427945eeb /setuptools/tests/test_msvc9compiler.py
parent813855aa5c9cb09c1e0faffcb80bfa2cb0cb2852 (diff)
downloadexternal_python_setuptools-8759ca96ec6c6c318d65e0c93ca8b3c93f45e7f9.tar.gz
external_python_setuptools-8759ca96ec6c6c318d65e0c93ca8b3c93f45e7f9.tar.bz2
external_python_setuptools-8759ca96ec6c6c318d65e0c93ca8b3c93f45e7f9.zip
Add docstring
Diffstat (limited to 'setuptools/tests/test_msvc9compiler.py')
-rw-r--r--setuptools/tests/test_msvc9compiler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/test_msvc9compiler.py b/setuptools/tests/test_msvc9compiler.py
index b2769759..ac5e3914 100644
--- a/setuptools/tests/test_msvc9compiler.py
+++ b/setuptools/tests/test_msvc9compiler.py
@@ -61,6 +61,10 @@ class MockReg:
@contextlib.contextmanager
def patch_env(**replacements):
+ """
+ In a context, patch the environment with replacements. Pass None values
+ to clear the values.
+ """
saved = dict(
(key, os.environ['key'])
for key in replacements