diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-10 00:45:32 (GMT) |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-10 00:45:32 (GMT) |
| commit | 817c9df7e518e563de90e9659206f31072f96157 (patch) | |
| tree | 2c383ddf3d15c9be5de265f87ce8830c074af828 /Lib/test/test_winsound.py | |
| parent | b73caab4362e38e4a55af6a04fe0740b3c67cf69 (diff) | |
| download | cpython-817c9df7e518e563de90e9659206f31072f96157.zip cpython-817c9df7e518e563de90e9659206f31072f96157.tar.gz cpython-817c9df7e518e563de90e9659206f31072f96157.tar.bz2 | |
test_winsound shouldn't crash when ctypes isn't available
Diffstat (limited to 'Lib/test/test_winsound.py')
| -rw-r--r-- | Lib/test/test_winsound.py | 2 |
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): |
