Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

r76360 - in python/branches/py3k: Lib/distutils/tests/test_msvc9compiler.py Misc/NEWS

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Nov 18, 2009, 2:20 AM

Post #1 of 1 (122 views)
Permalink
r76360 - in python/branches/py3k: Lib/distutils/tests/test_msvc9compiler.py Misc/NEWS

Author: tarek.ziade
Date: Wed Nov 18 10:32:34 2009
New Revision: 76360

Log:
Merged revisions 76358 via svnmerge from
svn+ssh://pythondev [at] svn/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
........


Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/distutils/tests/test_msvc9compiler.py
python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/distutils/tests/test_msvc9compiler.py
==============================================================================
--- python/branches/py3k/Lib/distutils/tests/test_msvc9compiler.py (original)
+++ python/branches/py3k/Lib/distutils/tests/test_msvc9compiler.py Wed Nov 18 10:32:34 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, "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)

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Wed Nov 18 10:32:34 2009
@@ -137,6 +137,9 @@
Library
-------

+- Issue #7293: distutils.test_msvc9compiler is fixed to work on any fresh
+ Windows box. Help provided by David Bolen.
+
- Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
TLS or SSL. Patch by Giampaolo Rodola'.

_______________________________________________
Python-checkins mailing list
Python-checkins [at] python
http://mail.python.org/mailman/listinfo/python-checkins

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.