From: Antoine Pitrou Date: Tue, 10 Aug 2010 00:47:48 +0000 (+0000) Subject: Merged revisions 83927 via svnmerge from X-Git-Tag: v2.7.1rc1~422 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=920e7e9ffcf0c3b118fa18c4438569392c8160c6;p=thirdparty%2FPython%2Fcpython.git 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 366c74b6cdae..821d68418dd7 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py @@ -5,9 +5,9 @@ from test import test_support import time import os import subprocess -import ctypes winsound = test_support.import_module('winsound') +ctypes = test_support.import_module('ctypes') import _winreg def has_sound(sound):