mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #19733: Temporary disable test_image on MacOSX.
This commit is contained in:
parent
f92ef9be46
commit
c17565e4a9
2 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue