[Python-checkins] r80036 - in python/branches/py3k: Lib/test/test_winsound.py

mark.dickinson python-checkins at python.org
Tue Apr 13 13:43:10 CEST 2010


Author: mark.dickinson
Date: Tue Apr 13 13:43:10 2010
New Revision: 80036

Log:
Merged revisions 80035 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80035 | mark.dickinson | 2010-04-13 12:37:23 +0100 (Tue, 13 Apr 2010) | 1 line
  
  In test_winsound, don't try to import _winreg until after checking that winsound is supported.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/test_winsound.py

Modified: python/branches/py3k/Lib/test/test_winsound.py
==============================================================================
--- python/branches/py3k/Lib/test/test_winsound.py	(original)
+++ python/branches/py3k/Lib/test/test_winsound.py	Tue Apr 13 13:43:10 2010
@@ -6,9 +6,9 @@
 import time
 import os
 import subprocess
-import winreg
 
 winsound = support.import_module('winsound')
+import winreg
 
 def has_sound(sound):
     """Find out if a particular event is configured with a default sound"""


More information about the Python-checkins mailing list