[Python-checkins] cpython (merge 3.5 -> default): Issue #27748: Merge with 3.5

zach.ware python-checkins at python.org
Mon Sep 5 19:10:51 EDT 2016


https://hg.python.org/cpython/rev/29300ed6dffe
changeset:   103089:29300ed6dffe
parent:      103086:4ebe3ade6922
parent:      103088:e85ce70b73b3
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Mon Sep 05 18:10:32 2016 -0500
summary:
  Issue #27748: Merge with 3.5

files:
  Lib/test/test_winsound.py |  5 +----
  1 files changed, 1 insertions(+), 4 deletions(-)


diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py
--- a/Lib/test/test_winsound.py
+++ b/Lib/test/test_winsound.py
@@ -120,10 +120,7 @@
         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(

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list