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.

Attachment: test_winsound.py.patch
Description: test_winsound.py.patch

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to