diff options
author | Stefan Krah <stefan@bytereef.org> | 2010-04-12 15:34:39 (GMT) |
---|---|---|
committer | Stefan Krah <stefan@bytereef.org> | 2010-04-12 15:34:39 (GMT) |
commit | 6680866d8c8ddaf9bf52c3ee2f99bb63f4d9814d (patch) | |
tree | c90cfb837d369d4880ed327f152cfb377c62f1e4 /Lib | |
parent | 14e0a43c85004283e99c0299e9148cbf937ccac7 (diff) | |
download | cpython-6680866d8c8ddaf9bf52c3ee2f99bb63f4d9814d.zip cpython-6680866d8c8ddaf9bf52c3ee2f99bb63f4d9814d.tar.gz cpython-6680866d8c8ddaf9bf52c3ee2f99bb63f4d9814d.tar.bz2 |
Merged revisions 80002 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80002 | stefan.krah | 2010-04-12 17:33:12 +0200 (Mon, 12 Apr 2010) | 9 lines
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')
-rw-r--r-- | Lib/test/test_winsound.py | 8 |
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(): |