bpo-19733: Re-enable tests for -image option in Tkinter (GH-23785) · python/cpython@5f0fe8e (original) (raw)

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
1 1 # Common tests for test_tkinter/test_widgets.py and test_ttk/test_widgets.py
2 2
3 3 import unittest
4 -import sys
5 4 import tkinter
6 5 from tkinter.test.support import (AbstractTkTest, tcl_version, requires_tcl,
7 6 get_tk_patchlevel, pixels_conv, tcl_obj_eq)
@@ -332,8 +331,6 @@ def test_highlightthickness(self):
332 331 self.checkParam(widget, 'highlightthickness', -2, expected=0,
333 332 conv=self._conv_pixels)
334 333
335 -@unittest.skipIf(sys.platform == 'darwin',
336 - 'crashes with Cocoa Tk (issue19733)')
337 334 def test_image(self):
338 335 widget = self.create()
339 336 self.checkImageParam(widget, 'image')