summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_winsound.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py
index 1295f3a..4a8ab7d 100644
--- a/Lib/test/test_winsound.py
+++ b/Lib/test/test_winsound.py
@@ -104,10 +104,7 @@ class PlaySoundTest(unittest.TestCase):
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
def test_alias_nofallback(self):
- self.assertRaises(RuntimeError,
- winsound.PlaySound,
- '!"$%&/(#+*',
- winsound.SND_ALIAS | winsound.SND_NODEFAULT)
+ safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS | winsound.SND_NODEFAULT)
def test_stopasync(self):
safe_PlaySound(