From: Zachary Ware Date: Mon, 5 Sep 2016 23:06:06 +0000 (-0500) Subject: Issue #27748: Backed out changeset 6137d0ed0a15 X-Git-Tag: v2.7.13rc1~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2b734f48cb814645154bae524db6a51fc87124d;p=python Issue #27748: Backed out changeset 6137d0ed0a15 Apparently the test succeeds on XP. --- diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index 8c27769181..c3725ef3eb 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py @@ -103,10 +103,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(