diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index a33400ed975..422fd879a91 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"""