aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_msvc9compiler.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-02 14:25:21 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-02 14:25:21 -0500
commit91754ae31f631bb8bf4e9717799730be07a6331b (patch)
tree457b6fbb8eba67e3bd7528bf00974c6eed99cf97 /setuptools/tests/test_msvc9compiler.py
parent2604aac7bb9e9b38546557fc2baaec98057d5740 (diff)
downloadexternal_python_setuptools-91754ae31f631bb8bf4e9717799730be07a6331b.tar.gz
external_python_setuptools-91754ae31f631bb8bf4e9717799730be07a6331b.tar.bz2
external_python_setuptools-91754ae31f631bb8bf4e9717799730be07a6331b.zip
Move docstring to test class.
Diffstat (limited to 'setuptools/tests/test_msvc9compiler.py')
-rw-r--r--setuptools/tests/test_msvc9compiler.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/setuptools/tests/test_msvc9compiler.py b/setuptools/tests/test_msvc9compiler.py
index 918f8898..a0820fff 100644
--- a/setuptools/tests/test_msvc9compiler.py
+++ b/setuptools/tests/test_msvc9compiler.py
@@ -1,8 +1,5 @@
-"""msvc9compiler monkey patch test
-
-This test ensures that importing setuptools is sufficient to replace
-the standard find_vcvarsall function with our patched version that
-finds the Visual C++ for Python package.
+"""
+Tests for msvc9compiler.
"""
import os
@@ -57,6 +54,11 @@ def mock_reg(hkcu=None, hklm=None):
class TestModulePatch:
+ """
+ Ensure that importing setuptools is sufficient to replace
+ the standard find_vcvarsall function with a version that
+ recognizes the "Visual C++ for Python" package.
+ """
key_32 = r'software\microsoft\devdiv\vcforpython\9.0\installdir'
key_64 = r'software\wow6432node\microsoft\devdiv\vcforpython\9.0\installdir'