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
........
This commit is contained in:
Antoine Pitrou 2010-08-10 00:48:49 +00:00
parent e647b4766d
commit 38854bbbac

View File

@ -6,9 +6,9 @@ support.requires('audio')
import time
import os
import subprocess
import ctypes
winsound = support.import_module('winsound')
ctypes = support.import_module('ctypes')
import winreg
def has_sound(sound):