Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2c4798b1
Commit
2c4798b1
authored
Apr 13, 2010
by
Mark Dickinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In test_winsound, don't try to import _winreg until after checking that winsound is supported.
parent
d0731072
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/test/test_winsound.py
Lib/test/test_winsound.py
+1
-1
No files found.
Lib/test/test_winsound.py
View file @
2c4798b1
...
...
@@ -5,9 +5,9 @@ from test import test_support
import
time
import
os
import
subprocess
import
_winreg
winsound
=
test_support
.
import_module
(
'winsound'
)
import
_winreg
def
has_sound
(
sound
):
"""Find out if a particular event is configured with a default sound"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment