Skip to content

Commit cd7412e

Browse files
bpo-19733: Re-enable tests for -image option in Tkinter (GH-23785)
(cherry picked from commit 5f0fe8e) Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent db63da7 commit cd7412e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Lib/tkinter/test/test_tkinter/test_widgets.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import tkinter
33
from tkinter import TclError
44
import os
5-
import sys
65
from test.support import requires
76

87
from tkinter.test.support import (tcl_version, requires_tcl,
@@ -265,8 +264,6 @@ def test_height(self):
265264

266265
test_highlightthickness = StandardOptionsTests.test_highlightthickness
267266

268-
@unittest.skipIf(sys.platform == 'darwin',
269-
'crashes with Cocoa Tk (issue19733)')
270267
def test_image(self):
271268
widget = self.create()
272269
image = tkinter.PhotoImage(master=self.root, name='image1')

Lib/tkinter/test/widget_tests.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Common tests for test_tkinter/test_widgets.py and test_ttk/test_widgets.py
22

33
import unittest
4-
import sys
54
import tkinter
65
from tkinter.test.support import (AbstractTkTest, tcl_version, requires_tcl,
76
get_tk_patchlevel, pixels_conv, tcl_obj_eq)
@@ -332,8 +331,6 @@ def test_highlightthickness(self):
332331
self.checkParam(widget, 'highlightthickness', -2, expected=0,
333332
conv=self._conv_pixels)
334333

335-
@unittest.skipIf(sys.platform == 'darwin',
336-
'crashes with Cocoa Tk (issue19733)')
337334
def test_image(self):
338335
widget = self.create()
339336
self.checkImageParam(widget, 'image')

0 commit comments

Comments
 (0)