Kaydet (Commit) cefebf3c authored tarafından Zachary Ware's avatar Zachary Ware

Issue #27748: Merge with 3.5

...@@ -120,7 +120,10 @@ class PlaySoundTest(unittest.TestCase): ...@@ -120,7 +120,10 @@ class PlaySoundTest(unittest.TestCase):
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS) safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
def test_alias_nofallback(self): def test_alias_nofallback(self):
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS | winsound.SND_NODEFAULT) self.assertRaises(RuntimeError,
winsound.PlaySound,
'!"$%&/(#+*',
winsound.SND_ALIAS | winsound.SND_NODEFAULT)
def test_stopasync(self): def test_stopasync(self):
safe_PlaySound( safe_PlaySound(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment