Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af9c3cf

Browse files
committed
Merged revisions 80000 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r80000 | stefan.krah | 2010-04-12 17:21:25 +0200 (Mon, 12 Apr 2010) | 3 lines Issue #8367: Fix spurious test failure on systems without a sound card. ........
1 parent 9ab54ca commit af9c3cf

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Lib/test/test_winsound.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,9 @@ def test_stopasync(self):
194194
pass
195195
winsound.PlaySound(None, winsound.SND_PURGE)
196196
else:
197-
self.assertRaises(
198-
RuntimeError,
199-
winsound.PlaySound,
200-
None, winsound.SND_PURGE
201-
)
197+
# Issue 8367: PlaySound(None, winsound.SND_PURGE)
198+
# does not raise on systems without a sound card.
199+
pass
202200

203201

204202
def _get_cscript_path():

0 commit comments

Comments
 (0)