Issue #18365: convert buildbot errors to skips.

This commit is contained in:
Terry Jan Reedy 2013-07-13 04:05:42 -04:00
parent 4f133e2e98
commit e6a17862e7
1 changed files with 4 additions and 1 deletions

View File

@ -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):