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
d3113664
Commit
d3113664
authored
Nov 23, 2013
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Issue #19733: Temporary disable test_image on MacOSX.
parents
72d28500
c17565e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Lib/tkinter/test/test_tkinter/test_widgets.py
Lib/tkinter/test/test_tkinter/test_widgets.py
+3
-0
Lib/tkinter/test/widget_tests.py
Lib/tkinter/test/widget_tests.py
+4
-0
No files found.
Lib/tkinter/test/test_tkinter/test_widgets.py
View file @
d3113664
import
unittest
import
tkinter
import
os
import
sys
from
test.support
import
requires
from
tkinter.test.support
import
(
tcl_version
,
requires_tcl
,
...
...
@@ -262,6 +263,8 @@ class MenubuttonTest(AbstractLabelTest, unittest.TestCase):
test_highlightthickness
=
StandardOptionsTests
.
test_highlightthickness
@
unittest
.
skipIf
(
sys
.
platform
==
'darwin'
,
'crashes with Cocoa Tk (issue19733)'
)
def
test_image
(
self
):
widget
=
self
.
create
()
image
=
tkinter
.
PhotoImage
(
'image1'
)
...
...
Lib/tkinter/test/widget_tests.py
View file @
d3113664
# Common tests for test_tkinter/test_widgets.py and test_ttk/test_widgets.py
import
unittest
import
sys
import
tkinter
from
tkinter.ttk
import
setup_master
,
Scale
from
tkinter.test.support
import
(
tcl_version
,
requires_tcl
,
get_tk_patchlevel
,
...
...
@@ -289,6 +291,8 @@ class StandardOptionsTests:
self
.
checkParam
(
widget
,
'highlightthickness'
,
-
2
,
expected
=
0
,
conv
=
self
.
_conv_pixels
)
@
unittest
.
skipIf
(
sys
.
platform
==
'darwin'
,
'crashes with Cocoa Tk (issue19733)'
)
def
test_image
(
self
):
widget
=
self
.
create
()
self
.
checkImageParam
(
widget
,
'image'
)
...
...
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