Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4a7381

Browse files
committed
Issue #27748: Backed out changeset f845e24d794e
Apparently the test succeeds on XP.
1 parent 768f3b4 commit f4a7381

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Lib/test/test_winsound.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,7 @@ def test_alias_fallback(self):
104104
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
105105

106106
def test_alias_nofallback(self):
107-
self.assertRaises(RuntimeError,
108-
winsound.PlaySound,
109-
'!"$%&/(#+*',
110-
winsound.SND_ALIAS | winsound.SND_NODEFAULT)
107+
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS | winsound.SND_NODEFAULT)
111108

112109
def test_stopasync(self):
113110
safe_PlaySound(

0 commit comments

Comments
 (0)