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

zach.ware python-checkins at python.org
Mon Sep 5 18:24:53 EDT 2016


https://hg.python.org/cpython/rev/5e8b865ffedd
changeset:   103078:5e8b865ffedd
parent:      103075:7a2eccee823b
parent:      103077:f845e24d794e
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Mon Sep 05 17:24:45 2016 -0500
summary:
  Issue #27748: Merge with 3.5

files:
  Lib/test/test_winsound.py |  5 ++++-
  1 files changed, 4 insertions(+), 1 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,7 +120,10 @@
         safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
 
     def test_alias_nofallback(self):
-        safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS | winsound.SND_NODEFAULT)
+        self.assertRaises(RuntimeError,
+                          winsound.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