summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-08-10 00:45:32 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-08-10 00:45:32 (GMT)
commit817c9df7e518e563de90e9659206f31072f96157 (patch)
tree2c383ddf3d15c9be5de265f87ce8830c074af828 /Lib
parentb73caab4362e38e4a55af6a04fe0740b3c67cf69 (diff)
downloadcpython-817c9df7e518e563de90e9659206f31072f96157.zip
cpython-817c9df7e518e563de90e9659206f31072f96157.tar.gz
cpython-817c9df7e518e563de90e9659206f31072f96157.tar.bz2
test_winsound shouldn't crash when ctypes isn't available
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_winsound.py2
1 files changed, 1 insertions, 1 deletions
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):