summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-05 23:08:27 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-05 23:08:27 (GMT)
commitf4a7381719d8a0ad7bf00b7c071581ee2c0fd2e8 (patch)
treeac0a1429419b5141e48f2f442062f5f8e5ec8148 /Lib
parent768f3b4492c3ab5037cf575bd5dcf2155aeb33b5 (diff)
downloadcpython-f4a7381719d8a0ad7bf00b7c071581ee2c0fd2e8.zip
cpython-f4a7381719d8a0ad7bf00b7c071581ee2c0fd2e8.tar.gz
cpython-f4a7381719d8a0ad7bf00b7c071581ee2c0fd2e8.tar.bz2
Issue #27748: Backed out changeset f845e24d794e
Apparently the test succeeds on XP.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_winsound.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py
index 1295f3a..4a8ab7d 100644
--- a/Lib/test/test_winsound.py
+++ b/Lib/test/test_winsound.py
@@ -104,10 +104,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(