summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-05 22:24:45 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-05 22:24:45 (GMT)
commitcefebf3cbe72b468bacc57c37f183712529058f9 (patch)
treeaa39920f30b6bacdd74f3b3cefb45ccfba9c7d41
parent10108a7b9affa61719a1dc1863edb2bdb3402fd1 (diff)
parent9ed756bc21448bf1f2e1b45e11a523d1ac8c869a (diff)
downloadcpython-cefebf3cbe72b468bacc57c37f183712529058f9.zip
cpython-cefebf3cbe72b468bacc57c37f183712529058f9.tar.gz
cpython-cefebf3cbe72b468bacc57c37f183712529058f9.tar.bz2
Issue #27748: Merge with 3.5
-rw-r--r--Lib/test/test_winsound.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py
index 1cfef77..381edcb 100644
--- a/Lib/test/test_winsound.py
+++ b/Lib/test/test_winsound.py
@@ -120,7 +120,10 @@ class PlaySoundTest(unittest.TestCase):
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(