test_winsound shouldn't crash when ctypes isn't available

This commit is contained in:
Antoine Pitrou 2010-08-10 00:45:32 +00:00
parent b73caab436
commit 817c9df7e5
1 changed files with 1 additions and 1 deletions

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):