[Python-checkins] r80000 - python/trunk/Lib/test/test_winsound.py

stefan.krah python-checkins at python.org
Mon Apr 12 17:21:25 CEST 2010


Author: stefan.krah
Date: Mon Apr 12 17:21:25 2010
New Revision: 80000

Log:
Issue #8367: Fix spurious test failure on systems without a sound card.



Modified:
   python/trunk/Lib/test/test_winsound.py

Modified: python/trunk/Lib/test/test_winsound.py
==============================================================================
--- python/trunk/Lib/test/test_winsound.py	(original)
+++ python/trunk/Lib/test/test_winsound.py	Mon Apr 12 17:21:25 2010
@@ -193,11 +193,9 @@
                 pass
             winsound.PlaySound(None, winsound.SND_PURGE)
         else:
-            self.assertRaises(
-                RuntimeError,
-                winsound.PlaySound,
-                None, winsound.SND_PURGE
-            )
+            # Issue 8367: PlaySound(None, winsound.SND_PURGE)
+            # does not raise on systems without a sound card.
+            pass
 
 
 def _get_cscript_path():


More information about the Python-checkins mailing list