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
65bf417f
Commit
65bf417f
authored
May 29, 2011
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #10736: Revert changeset de4d34a95603 as it causes failures with
old Apple-supplied Carbon Tk 8.4.
parent
d8e08067
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
Lib/tkinter/test/test_ttk/test_widgets.py
Lib/tkinter/test/test_ttk/test_widgets.py
+4
-16
Misc/NEWS
Misc/NEWS
+0
-3
No files found.
Lib/tkinter/test/test_ttk/test_widgets.py
View file @
65bf417f
...
...
@@ -3,7 +3,6 @@ import tkinter
import
os
from
tkinter
import
ttk
from
test.support
import
requires
,
run_unittest
import
sys
import
tkinter.test.support
as
support
from
tkinter.test.test_ttk.test_functions
import
MockTclObj
,
MockStateSpec
...
...
@@ -562,19 +561,11 @@ class NotebookTest(unittest.TestCase):
self
.
nb
.
pack
()
self
.
nb
.
wait_visibility
()
if
sys
.
platform
==
'darwin'
:
tb_idx
=
"@20,5"
else
:
tb_idx
=
"@5,5"
self
.
assertEqual
(
self
.
nb
.
tab
(
tb_idx
),
self
.
nb
.
tab
(
'current'
))
self
.
assertEqual
(
self
.
nb
.
tab
(
'@5,5'
),
self
.
nb
.
tab
(
'current'
))
for
i
in
range
(
5
,
100
,
5
):
try
:
if
self
.
nb
.
tab
(
'@%d, 5'
%
i
,
text
=
None
)
==
'a'
:
break
except
tkinter
.
TclError
:
pass
else
:
self
.
fail
(
"Tab with text 'a' not found"
)
...
...
@@ -731,9 +722,6 @@ class NotebookTest(unittest.TestCase):
self
.
nb
.
enable_traversal
()
self
.
nb
.
focus_force
()
support
.
simulate_mouse_click
(
self
.
nb
,
5
,
5
)
if
sys
.
platform
==
'darwin'
:
self
.
nb
.
event_generate
(
'<Option-a>'
)
else
:
self
.
nb
.
event_generate
(
'<Alt-a>'
)
self
.
assertEqual
(
self
.
nb
.
select
(),
str
(
self
.
child1
))
...
...
Misc/NEWS
View file @
65bf417f
...
...
@@ -770,9 +770,6 @@ Extension Modules
Tests
-----
-
Issue
#
10736
:
Fix
test_ttk
test_widgets
failures
with
Cocoa
Tk
8.5.9
on
Mac
OS
X
.
(
Patch
by
Ronald
Oussoren
)
-
Issue
#
12180
:
Fixed
a
few
remaining
errors
in
test_packaging
when
no
threading
.
...
...
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