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

Skip to content

Commit 7eacdcc

Browse files
committed
Issue #27748: Merge with 3.5
2 parents 04960a2 + f4a7381 commit 7eacdcc

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
@@ -120,10 +120,7 @@ def test_alias_fallback(self):
120120
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS)
121121

122122
def test_alias_nofallback(self):
123-
self.assertRaises(RuntimeError,
124-
winsound.PlaySound,
125-
'!"$%&/(#+*',
126-
winsound.SND_ALIAS | winsound.SND_NODEFAULT)
123+
safe_PlaySound('!"$%&/(#+*', winsound.SND_ALIAS | winsound.SND_NODEFAULT)
127124

128125
def test_stopasync(self):
129126
safe_PlaySound(

0 commit comments

Comments
 (0)