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 | 8759ca96ec6c6c318d65e0c93ca8b3c93f45e7f9 (patch) | |
| tree | 259603ae3ad673759b65368aece857c427945eeb /setuptools/tests/test_msvc9compiler.py | |
| parent | 813855aa5c9cb09c1e0faffcb80bfa2cb0cb2852 (diff) | |
| download | python-setuptools-git-8759ca96ec6c6c318d65e0c93ca8b3c93f45e7f9.tar.gz | |
Add docstring
Diffstat (limited to 'setuptools/tests/test_msvc9compiler.py')
| -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 |
