diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-23 13:22:20 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-23 13:22:20 (GMT) |
commit | 9ec0722723b6dfb51d33737d10598c2ee2db5e49 (patch) | |
tree | 71f003e231b1de00e3abc4b4b916f9aef8dd2f72 /Lib/lib-tk/test/widget_tests.py | |
parent | 62cd124ada16513f3cdc3a4f1ff23fb63f2eab36 (diff) | |
download | cpython-9ec0722723b6dfb51d33737d10598c2ee2db5e49.zip cpython-9ec0722723b6dfb51d33737d10598c2ee2db5e49.tar.gz cpython-9ec0722723b6dfb51d33737d10598c2ee2db5e49.tar.bz2 |
Issue #19733: Temporary disable test_image on MacOSX.
Diffstat (limited to 'Lib/lib-tk/test/widget_tests.py')
-rw-r--r-- | Lib/lib-tk/test/widget_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/lib-tk/test/widget_tests.py b/Lib/lib-tk/test/widget_tests.py index c2c0a84..4c37aa4 100644 --- a/Lib/lib-tk/test/widget_tests.py +++ b/Lib/lib-tk/test/widget_tests.py @@ -1,5 +1,7 @@ # Common tests for test_tkinter/test_widgets.py and test_ttk/test_widgets.py +import unittest +import sys import Tkinter from ttk import setup_master, Scale from test_ttk.support import (tcl_version, requires_tcl, get_tk_patchlevel, @@ -308,6 +310,8 @@ class StandardOptionsTests(object): 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') |