summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_winsound.py
diff options
context:
space:
mode:
authorStefan Krah <stefan@bytereef.org>2010-04-12 15:33:12 (GMT)
committerStefan Krah <stefan@bytereef.org>2010-04-12 15:33:12 (GMT)
commitaf9c3cfd443692cfbb89d5a8eedf175356611b53 (patch)
tree053e75c631f7df83b756e6d286065c81bd340e24 /Lib/test/test_winsound.py
parent9ab54ca852fe428733da35c87c9d18e6c64281e1 (diff)
downloadcpython-af9c3cfd443692cfbb89d5a8eedf175356611b53.zip
cpython-af9c3cfd443692cfbb89d5a8eedf175356611b53.tar.gz
cpython-af9c3cfd443692cfbb89d5a8eedf175356611b53.tar.bz2
Merged revisions 80000 via svnmerge from
svn+ssh://pythondev@svn.python.org/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. ........
Diffstat (limited to 'Lib/test/test_winsound.py')
-rw-r--r--Lib/test/test_winsound.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py
index 2950bb7..3a093fd 100644
--- a/Lib/test/test_winsound.py
+++ b/Lib/test/test_winsound.py
@@ -194,11 +194,9 @@ class PlaySoundTest(unittest.TestCase):
pass
winsound.PlaySound(None, winsound.SND_PURGE)
else:
- self.assertRaises(
- RuntimeError,
- winsound.PlaySound,
- None, winsound.SND_PURGE
- )
+ # Issue 8367: PlaySound(None, winsound.SND_PURGE)
+ # does not raise on systems without a sound card.
+ pass
def _get_cscript_path():