[Python-Dev] Patch for trunk test_winsound.py (fixes my buildbot)
Trent Nelson
tnelson at onresolve.com
Wed Mar 5 04:37:52 CET 2008
winsound.Beep fails for me on the 'x86 2k8 trunk' build slave, which is a virtual Windows Server 2008 instance running under Hyper-V. Not surprisingly, there's not a single audio-related device on this system. The attached patch to test_winsound.py incorporates the _have_soundcard() checks to the BeepTest class, which fixes the problem for me. (I've also tested the patch on a Vista system (that does have a soundcard) and everything works as expected.)
Trent.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_winsound.py.patch
Type: application/octet-stream
Size: 1677 bytes
Desc: test_winsound.py.patch
Url : http://mail.python.org/pipermail/python-dev/attachments/20080304/2566d8c5/attachment.obj
More information about the Python-Dev
mailing list