Merged revisions 83927 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83927 | antoine.pitrou | 2010-08-10 02:45:32 +0200 (mar., 10 août 2010) | 3 lines
test_winsound shouldn't crash when ctypes isn't available
........
diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py
index bd95048..be0e625 100644
--- a/Lib/test/test_winsound.py
+++ b/Lib/test/test_winsound.py
@@ -6,9 +6,9 @@
import time
import os
import subprocess
-import ctypes
winsound = support.import_module('winsound')
+ctypes = support.import_module('ctypes')
import winreg
def has_sound(sound):