Commit 817c9df7 authored by Antoine Pitrou's avatar Antoine Pitrou

test_winsound shouldn't crash when ctypes isn't available

parent b73caab4
...@@ -6,9 +6,9 @@ support.requires('audio') ...@@ -6,9 +6,9 @@ support.requires('audio')
import time import time
import os import os
import subprocess import subprocess
import ctypes
winsound = support.import_module('winsound') winsound = support.import_module('winsound')
ctypes = support.import_module('ctypes')
import winreg import winreg
def has_sound(sound): def has_sound(sound):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment