]> granicus.if.org Git - python/commitdiff
Issue #27748: Backed out changeset f845e24d794e
authorZachary Ware <zachary.ware@gmail.com>
Mon, 5 Sep 2016 23:08:27 +0000 (18:08 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Mon, 5 Sep 2016 23:08:27 +0000 (18:08 -0500)
Apparently the test succeeds on XP.

Lib/test/test_winsound.py

index 1295f3a93d569611dc3db4ec77a8ed596dfdb80f..4a8ab7de582c10ed00e95da03773279f058418e2 100644 (file)
@@ -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(