From b2b734f48cb814645154bae524db6a51fc87124d Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Mon, 5 Sep 2016 18:06:06 -0500 Subject: Issue #27748: Backed out changeset 6137d0ed0a15 Apparently the test succeeds on XP. --- Lib/test/test_winsound.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index 8c27769..c3725ef 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( -- cgit v0.12