From 817c9df7e518e563de90e9659206f31072f96157 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 10 Aug 2010 00:45:32 +0000 Subject: test_winsound shouldn't crash when ctypes isn't available --- Lib/test/test_winsound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index bd95048..be0e625 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py @@ -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): -- cgit v0.12