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

Lib/test/test_winsound.py

index 8c27769181db1939d23352339a4baa34485b2091..c3725ef3eb86fbaa15bd762eef44cac14579c650 100644 (file)
@@ -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(