diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-09-26 19:20:32 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-09-26 19:20:32 -0400 |
commit | 18830ceed0af48332e276bf87db1a5dd06640f8d (patch) | |
tree | 661d4e1627f929d1177a93498c6ca9f85af5fff8 | |
parent | a4e4b3d6b0ca22c6307d008aa287c0cde9c12064 (diff) | |
download | python-setuptools-bitbucket-18830ceed0af48332e276bf87db1a5dd06640f8d.tar.gz |
Add docstring
-rw-r--r-- | setuptools/tests/test_msvc9compiler.py | 4 |
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 |