Commit [94a608] legacy-trunk  Maximize  Restore  History

_have_soundcard() is a bad check for winsound.Beep, since you can have a soundcard but have the beep driver disabled. This revision basically disables the beep tests by wrapping them in a try/except. The Right Way To Do It is to come up with a _have_enabled_beep_driver() and use that.

Steven Bethard Steven Bethard 2008-03-18

changed Lib/test/test_winsound.py
Lib/test/test_winsound.py Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks