diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-11-18 10:19:38 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-11-18 10:19:38 (GMT) |
commit | 2cc7048208fbc7a217810d11c8d24205b94bf8cb (patch) | |
tree | 2ff1b946d928c0d6a2b76b16526f93a3c19ca987 /Lib | |
parent | 0ffcd9859f055f007ce3781baf2fcd25c2210ca4 (diff) | |
download | cpython-2cc7048208fbc7a217810d11c8d24205b94bf8cb.zip cpython-2cc7048208fbc7a217810d11c8d24205b94bf8cb.tar.gz cpython-2cc7048208fbc7a217810d11c8d24205b94bf8cb.tar.bz2 |
Merged revisions 76360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76360 | tarek.ziade | 2009-11-18 10:32:34 +0100 (Wed, 18 Nov 2009) | 9 lines
Merged revisions 76358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76358 | tarek.ziade | 2009-11-18 09:46:56 +0100 (Wed, 18 Nov 2009) | 1 line
#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
........
................
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/tests/test_msvc9compiler.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/distutils/tests/test_msvc9compiler.py b/Lib/distutils/tests/test_msvc9compiler.py index 7382798..7cf1a12 100644 --- a/Lib/distutils/tests/test_msvc9compiler.py +++ b/Lib/distutils/tests/test_msvc9compiler.py @@ -44,17 +44,17 @@ class msvc9compilerTestCase(unittest.TestCase): # looking for values that should exist on all # windows registeries versions. - path = r'Software\Microsoft\Notepad' - v = Reg.get_value(path, "lfitalic") - self.assertTrue(v in (0, 1)) + path = r'Control Panel\Desktop' + v = Reg.get_value(path, 'dragfullwindows') + self.assertTrue(v in ('0', '1')) import winreg HKCU = winreg.HKEY_CURRENT_USER keys = Reg.read_keys(HKCU, 'xxxx') self.assertEquals(keys, None) - keys = Reg.read_keys(HKCU, r'Software\Microsoft') - self.assertTrue('Notepad' in keys) + keys = Reg.read_keys(HKCU, r'Control Panel') + self.assertTrue('Desktop' in keys) def test_suite(): return unittest.makeSuite(msvc9compilerTestCase) |