diff options
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 |