From: Terry Jan Reedy Date: Sat, 13 Jul 2013 08:05:42 +0000 (-0400) Subject: Issue #18365: convert buildbot errors to skips. X-Git-Tag: v3.4.0a1~220^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6a17862e7f5739a669a98c2699a595a03fbe364;p=thirdparty%2FPython%2Fcpython.git Issue #18365: convert buildbot errors to skips. --- diff --git a/Lib/idlelib/idle_test/test_text.py b/Lib/idlelib/idle_test/test_text.py index 367bf3849863..46af59917127 100644 --- a/Lib/idlelib/idle_test/test_text.py +++ b/Lib/idlelib/idle_test/test_text.py @@ -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):