From a25a31a901fb0b1b845d93d0308a27d55553d1a6 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 13 Jul 2013 04:05:42 -0400 Subject: Issue #18365: convert buildbot errors to skips. --- Lib/idlelib/idle_test/test_text.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/idlelib/idle_test/test_text.py b/Lib/idlelib/idle_test/test_text.py index 3a0705b..904ace7 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): -- cgit v0.12