[Python-checkins] r76358 - in python/trunk: Lib/distutils/tests/test_msvc9compiler.py Misc/NEWS
tarek.ziade
python-checkins at python.org
Wed Nov 18 09:46:57 CET 2009
Author: tarek.ziade
Date: Wed Nov 18 09:46:56 2009
New Revision: 76358
Log:
#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
Modified:
python/trunk/Lib/distutils/tests/test_msvc9compiler.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/distutils/tests/test_msvc9compiler.py
==============================================================================
--- python/trunk/Lib/distutils/tests/test_msvc9compiler.py (original)
+++ python/trunk/Lib/distutils/tests/test_msvc9compiler.py Wed Nov 18 09:46:56 2009
@@ -44,17 +44,17 @@
# looking for values that should exist on all
# windows registeries versions.
- path = r'Software\Microsoft\Notepad'
- v = Reg.get_value(path, u"lfitalic")
- self.assertTrue(v in (0, 1))
+ path = r'Control Panel\Desktop'
+ v = Reg.get_value(path, u'dragfullwindows')
+ self.assertTrue(v in (u'0', u'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)
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Wed Nov 18 09:46:56 2009
@@ -431,6 +431,9 @@
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 #2054: ftplib now provides an FTP_TLS class to do secure FTP using
More information about the Python-checkins
mailing list