]> granicus.if.org Git - python/commitdiff
Merged revisions 83927 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 10 Aug 2010 00:47:48 +0000 (00:47 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 10 Aug 2010 00:47:48 +0000 (00:47 +0000)
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
........

Lib/test/test_winsound.py

index 366c74b6cdaea6aca8d66bb678d2f958c2c2641e..821d68418dd7cbca65b96f69bb82dba6f921429e 100644 (file)
@@ -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):