From: Zachary Ware Date: Mon, 5 Sep 2016 23:08:27 +0000 (-0500) Subject: Issue #27748: Backed out changeset f845e24d794e X-Git-Tag: v3.6.0b1~445^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4a7381719d8a0ad7bf00b7c071581ee2c0fd2e8;p=thirdparty%2FPython%2Fcpython.git Issue #27748: Backed out changeset f845e24d794e Apparently the test succeeds on XP. --- diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index 1295f3a93d56..4a8ab7de582c 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py @@ -104,10 +104,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(