diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-04-13 11:43:10 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-04-13 11:43:10 (GMT) |
commit | a09543c65c08363b8d7238cef8c08feb3cd2895b (patch) | |
tree | 06dd502d84648062777c2714337cd95e1c67cb18 | |
parent | 485fb56eb86a1fcd35fd3d0d37efb5ec514dba2b (diff) | |
download | cpython-a09543c65c08363b8d7238cef8c08feb3cd2895b.zip cpython-a09543c65c08363b8d7238cef8c08feb3cd2895b.tar.gz cpython-a09543c65c08363b8d7238cef8c08feb3cd2895b.tar.bz2 |
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.
........
-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 a33400e..422fd87 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 winreg winsound = support.import_module('winsound') +import winreg def has_sound(sound): """Find out if a particular event is configured with a default sound""" |