mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
test_winsound shouldn't crash when ctypes isn't available
This commit is contained in:
parent
b73caab436
commit
817c9df7e5
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue