diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-09-05 22:24:45 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-09-05 22:24:45 (GMT) |
commit | cefebf3cbe72b468bacc57c37f183712529058f9 (patch) | |
tree | aa39920f30b6bacdd74f3b3cefb45ccfba9c7d41 | |
parent | 10108a7b9affa61719a1dc1863edb2bdb3402fd1 (diff) | |
parent | 9ed756bc21448bf1f2e1b45e11a523d1ac8c869a (diff) | |
download | cpython-cefebf3cbe72b468bacc57c37f183712529058f9.zip cpython-cefebf3cbe72b468bacc57c37f183712529058f9.tar.gz cpython-cefebf3cbe72b468bacc57c37f183712529058f9.tar.bz2 |
Issue #27748: Merge with 3.5
-rw-r--r-- | 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 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( |