Issue #18365: convert buildbot errors to skips.
This commit is contained in:
parent
4f133e2e98
commit
e6a17862e7
|
@ -216,7 +216,10 @@ class TkTextTest(TextTest, unittest.TestCase):
|
|||
requires('gui')
|
||||
from tkinter import Tk, Text
|
||||
cls.Text = Text
|
||||
cls.root = Tk()
|
||||
try:
|
||||
cls.root = Tk()
|
||||
except TclError as msg:
|
||||
raise unittest.SkipTest('TclError: %s' % msg)
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
|
Loading…
Reference in New Issue