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
3b331dd3
Commit
3b331dd3
authored
Feb 01, 2009
by
Guilherme Polo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore Tkinter.Tk._loadtk so this test doesn't fail for problems
related to ttk.
parent
86cc5029
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Lib/test/test_tcl.py
Lib/test/test_tcl.py
+7
-1
No files found.
Lib/test/test_tcl.py
View file @
3b331dd3
...
...
@@ -4,9 +4,15 @@ import unittest
import
os
import
_tkinter
from
test
import
test_support
from
Tkinter
import
Tcl
from
Tkinter
import
T
k
,
T
cl
from
_tkinter
import
TclError
# Restore Tkinter.Tk._loadtk that may have been overridden by ttk.
# If this is not done then this test may fail for reasons related
# to ttk only (like failing to load the tile package).
from
ttk
import
__loadtk__
Tk
.
_loadtk
=
__loadtk__
class
TkinterTest
(
unittest
.
TestCase
):
...
...
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