[New-bugs-announce] [issue8367] test_winsound: failure on systems without soundcard
Stefan Krah
report at bugs.python.org
Sun Apr 11 12:07:50 CEST 2010
New submission from Stefan Krah <stefan-usenet at bytereef.org>:
Got this test failure on Windows/qemu:
======================================================================
FAIL: test_stopasync (__main__.PlaySoundTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib\test\test_winsound.py", line 199, in test_stopasync
None, winsound.SND_PURGE
AssertionError: RuntimeError not raised
The problem is that PlaySound(None, winsound.SND_PURGE) does not
raise on systems without a soundcard. The wrapped C function returns
success in this case, so I think it's ok to go along with it and
disable this assertion.
----------
messages: 102821
nosy: skrah
severity: normal
status: open
title: test_winsound: failure on systems without soundcard
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8367>
_______________________________________
More information about the New-bugs-announce
mailing list