• Trent Nelson's avatar
    The behaviour of winsound.Beep() seems to differ between different versions of... · 549171e1
    Trent Nelson authored
    The behaviour of winsound.Beep() seems to differ between different versions of Windows when there's either:
        a) no sound card entirely
        b) legacy beep driver has been disabled
        c) the legacy beep driver has been uninstalled
    Sometimes RuntimeErrors are raised, sometimes they're not.  If _have_soundcard() returns False, don't expect winsound.Beep() to raise a RuntimeError, as this clearly isn't the case, as demonstrated by the various Win32 XP buildbots.
    549171e1
test_winsound.py 7.83 KB