diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-09-05 23:10:32 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-09-05 23:10:32 (GMT) |
commit | 7eacdcc3b81bacb500e0dc8a1ecfbcab29bc56e6 (patch) | |
tree | 2d5fdc78ffdec5c803f910f49c7716dc857f691a | |
parent | 04960a21fbe0313a45d17f002c7f953bd6b85b9d (diff) | |
parent | f4a7381719d8a0ad7bf00b7c071581ee2c0fd2e8 (diff) | |
download | cpython-7eacdcc3b81bacb500e0dc8a1ecfbcab29bc56e6.zip cpython-7eacdcc3b81bacb500e0dc8a1ecfbcab29bc56e6.tar.gz cpython-7eacdcc3b81bacb500e0dc8a1ecfbcab29bc56e6.tar.bz2 |
Issue #27748: Merge with 3.5
-rw-r--r-- | 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 index 381edcb..1cfef77 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py @@ -120,10 +120,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( |