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.
2 parents 04960a2 + f4a7381 commit 7eacdccCopy full SHA for 7eacdcc
1 file changed
Lib/test/test_winsound.py
@@ -120,10 +120,7 @@ def test_alias_fallback(self):
120
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
121
122
def test_alias_nofallback(self):
123
- self.assertRaises(RuntimeError,
124
- winsound.PlaySound,
125
- '!"$%&/(#+*',
126
- winsound.SND_ALIAS | winsound.SND_NODEFAULT)
+ safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS | winsound.SND_NODEFAULT)
127
128
def test_stopasync(self):
129
safe_PlaySound(
0 commit comments