From 8759ca96ec6c6c318d65e0c93ca8b3c93f45e7f9 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 26 Sep 2014 19:20:32 -0400 Subject: Add docstring --- setuptools/tests/test_msvc9compiler.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setuptools/tests/test_msvc9compiler.py') 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 -- cgit v1.2.1