]> granicus.if.org Git - python/commitdiff
(I hope) last try to fix test_winsound (skip tests)
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Apr 2010 16:03:48 +0000 (16:03 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Apr 2010 16:03:48 +0000 (16:03 +0000)
Remove print, it produces "unexpected output" and the test fails :-/

Lib/test/test_winsound.py

index f76db58a50fa2c314b4ed01d384c28da68de31fd..eff7229bd99c12c16e537d17484c0ae27817a0c7 100644 (file)
@@ -97,7 +97,6 @@ class PlaySoundTest(unittest.TestCase):
 
     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 @@ class PlaySoundTest(unittest.TestCase):
 
     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 @@ class PlaySoundTest(unittest.TestCase):
 
     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 @@ class PlaySoundTest(unittest.TestCase):
 
     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 @@ class PlaySoundTest(unittest.TestCase):
 
     def test_alias_question(self):
         if not has_sound("SystemQuestion"):
-            print "No default SystemQuestion"
             return
         if _have_soundcard():
             winsound.PlaySound('SystemQuestion', winsound.SND_ALIAS)