mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merged revisions 80035 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80035 | mark.dickinson | 2010-04-13 12:37:23 +0100 (Tue, 13 Apr 2010) | 1 line In test_winsound, don't try to import _winreg until after checking that winsound is supported. ........
This commit is contained in:
parent
485fb56eb8
commit
a09543c65c
1 changed files with 1 additions and 1 deletions
|
@ -6,9 +6,9 @@ support.requires('audio')
|
|||
import time
|
||||
import os
|
||||
import subprocess
|
||||
import winreg
|
||||
|
||||
winsound = support.import_module('winsound')
|
||||
import winreg
|
||||
|
||||
def has_sound(sound):
|
||||
"""Find out if a particular event is configured with a default sound"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue