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 ........ ................
This commit is contained in:
parent
0ffcd9859f
commit
2cc7048208
|
@ -44,17 +44,17 @@ class msvc9compilerTestCase(unittest.TestCase):
|
||||||
|
|
||||||
# looking for values that should exist on all
|
# looking for values that should exist on all
|
||||||
# windows registeries versions.
|
# windows registeries versions.
|
||||||
path = r'Software\Microsoft\Notepad'
|
path = r'Control Panel\Desktop'
|
||||||
v = Reg.get_value(path, "lfitalic")
|
v = Reg.get_value(path, 'dragfullwindows')
|
||||||
self.assertTrue(v in (0, 1))
|
self.assertTrue(v in ('0', '1'))
|
||||||
|
|
||||||
import winreg
|
import winreg
|
||||||
HKCU = winreg.HKEY_CURRENT_USER
|
HKCU = winreg.HKEY_CURRENT_USER
|
||||||
keys = Reg.read_keys(HKCU, 'xxxx')
|
keys = Reg.read_keys(HKCU, 'xxxx')
|
||||||
self.assertEquals(keys, None)
|
self.assertEquals(keys, None)
|
||||||
|
|
||||||
keys = Reg.read_keys(HKCU, r'Software\Microsoft')
|
keys = Reg.read_keys(HKCU, r'Control Panel')
|
||||||
self.assertTrue('Notepad' in keys)
|
self.assertTrue('Desktop' in keys)
|
||||||
|
|
||||||
def test_suite():
|
def test_suite():
|
||||||
return unittest.makeSuite(msvc9compilerTestCase)
|
return unittest.makeSuite(msvc9compilerTestCase)
|
||||||
|
|
|
@ -46,6 +46,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #7293: distutils.test_msvc9compiler is fixed to work on any fresh
|
||||||
|
Windows box. Help provided by David Bolen.
|
||||||
|
|
||||||
- Issue #7328: pydoc no longer corrupts sys.path when run with the '-m' switch
|
- Issue #7328: pydoc no longer corrupts sys.path when run with the '-m' switch
|
||||||
|
|
||||||
- Issue #7318: multiprocessing now uses a timeout when it fails to establish
|
- Issue #7318: multiprocessing now uses a timeout when it fails to establish
|
||||||
|
|
Loading…
Reference in New Issue