[New-bugs-announce] [issue7293] test_msvc9compiler test_reg_class failure on new Windows box

David Bolen report at bugs.python.org
Mon Nov 9 08:00:00 CET 2009

New submission from David Bolen <db3l.net at gmail.com>:

This is a pretty tiny bug..

The test_reg_class test in test_msvc9compiler.py assumes that there is a
Notepad registry key on Windows systems.  That appears to be false until
Notepad is run the very first time.  I ran into this setting up a build
slave VM, where I never had the need to run Notepad.

I guess it's pretty rare for Notepad not to be run eventually, but
clearly the comments in the test saying the key is always present is
inaccurate, and perhaps a different key should be chosen or at least
have the test not fail if the key is missing.

It also appears that Windows 7 doesn't have that key even after Notepad
is run.

assignee: tarek
components: Distutils
messages: 95061
nosy: db3l, tarek
severity: normal
status: open
title: test_msvc9compiler test_reg_class failure on new Windows box

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list