diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-26 20:20:12 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-26 20:34:00 -0500 |
commit | 5cd86987530892bfb01f68ad5f1a2b997a3d01e7 (patch) | |
tree | d4070a1eb25cc8d046122dc585b77cf9f1ab0037 /setuptools/tests/test_msvc.py | |
parent | 050c0cbdd776ebed369de6c6d51bdc88fa16eadf (diff) | |
download | external_python_setuptools-5cd86987530892bfb01f68ad5f1a2b997a3d01e7.tar.gz external_python_setuptools-5cd86987530892bfb01f68ad5f1a2b997a3d01e7.tar.bz2 external_python_setuptools-5cd86987530892bfb01f68ad5f1a2b997a3d01e7.zip |
Feed the hobgoblins (delint).
Diffstat (limited to 'setuptools/tests/test_msvc.py')
-rw-r--r-- | setuptools/tests/test_msvc.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/tests/test_msvc.py b/setuptools/tests/test_msvc.py index 32d7a907..24e38ea8 100644 --- a/setuptools/tests/test_msvc.py +++ b/setuptools/tests/test_msvc.py @@ -49,7 +49,8 @@ def mock_reg(hkcu=None, hklm=None): for k in hive if k.startswith(key.lower()) ) - return mock.patch.multiple(distutils.msvc9compiler.Reg, + return mock.patch.multiple( + distutils.msvc9compiler.Reg, read_keys=read_keys, read_values=read_values) @@ -61,7 +62,7 @@ class TestModulePatch: """ key_32 = r'software\microsoft\devdiv\vcforpython\9.0\installdir' - key_64 = r'software\wow6432node\microsoft\devdiv\vcforpython\9.0\installdir' + key_64 = key_32.replace(r'\microsoft', r'\wow6432node\microsoft') def test_patched(self): "Test the module is actually patched" |