Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 768f3b4 commit f4a7381Copy full SHA for f4a7381
1 file changed
Lib/test/test_winsound.py
@@ -104,10 +104,7 @@ def test_alias_fallback(self):
104
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
105
106
def test_alias_nofallback(self):
107
- self.assertRaises(RuntimeError,
108
- winsound.PlaySound,
109
- '!"$%&/(#+*',
110
- winsound.SND_ALIAS | winsound.SND_NODEFAULT)
+ safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS | winsound.SND_NODEFAULT)
111
112
def test_stopasync(self):
113
safe_PlaySound(
0 commit comments