Commit a09543c6 authored by Mark Dickinson's avatar Mark Dickinson

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.
........
parent 485fb56e
...@@ -6,9 +6,9 @@ support.requires('audio') ...@@ -6,9 +6,9 @@ support.requires('audio')
import time import time
import os import os
import subprocess import subprocess
import winreg
winsound = support.import_module('winsound') winsound = support.import_module('winsound')
import winreg
def has_sound(sound): def has_sound(sound):
"""Find out if a particular event is configured with a default sound""" """Find out if a particular event is configured with a default sound"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment