[Python-checkins] r80214 - python/branches/release26-maint/Lib/test/test_winsound.py
victor.stinner
python-checkins at python.org
Mon Apr 19 18:03:48 CEST 2010
Author: victor.stinner
Date: Mon Apr 19 18:03:48 2010
New Revision: 80214
Log:
(I hope) last try to fix test_winsound (skip tests)
Remove print, it produces "unexpected output" and the test fails :-/
Modified:
python/branches/release26-maint/Lib/test/test_winsound.py
Modified: python/branches/release26-maint/Lib/test/test_winsound.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_winsound.py (original)
+++ python/branches/release26-maint/Lib/test/test_winsound.py Mon Apr 19 18:03:48 2010
@@ -97,7 +97,6 @@
def test_alias_asterisk(self):
if not has_sound("SystemAsterisk"):
- print "No default SystemAsterisk"
return
if _have_soundcard():
winsound.PlaySound('SystemAsterisk', winsound.SND_ALIAS)
@@ -110,7 +109,6 @@
def test_alias_exclamation(self):
if not has_sound("SystemExclamation"):
- print "No default SystemExclamation"
return
if _have_soundcard():
winsound.PlaySound('SystemExclamation', winsound.SND_ALIAS)
@@ -123,7 +121,6 @@
def test_alias_exit(self):
if not has_sound("SystemExit"):
- print "No default SystemExit"
return
if _have_soundcard():
winsound.PlaySound('SystemExit', winsound.SND_ALIAS)
@@ -136,7 +133,6 @@
def test_alias_hand(self):
if not has_sound("SystemHand"):
- print "No default SystemHand"
return
if _have_soundcard():
winsound.PlaySound('SystemHand', winsound.SND_ALIAS)
@@ -149,7 +145,6 @@
def test_alias_question(self):
if not has_sound("SystemQuestion"):
- print "No default SystemQuestion"
return
if _have_soundcard():
winsound.PlaySound('SystemQuestion', winsound.SND_ALIAS)
More information about the Python-checkins
mailing list