Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6a1786

Browse files
committed
Issue #18365: convert buildbot errors to skips.
1 parent 4f133e2 commit e6a1786

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Lib/idlelib/idle_test/test_text.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,10 @@ def setUpClass(cls):
216216
requires('gui')
217217
from tkinter import Tk, Text
218218
cls.Text = Text
219-
cls.root = Tk()
219+
try:
220+
cls.root = Tk()
221+
except TclError as msg:
222+
raise unittest.SkipTest('TclError: %s' % msg)
220223

221224
@classmethod
222225
def tearDownClass(cls):

0 commit comments

Comments
 (0)