Issue #27748: Merge with 3.5

This commit is contained in:
Zachary Ware 2016-09-05 17:24:45 -05:00
commit cefebf3cbe

View file

@ -120,7 +120,10 @@ class PlaySoundTest(unittest.TestCase):
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
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):
safe_PlaySound(