]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #18365: convert buildbot errors to skips.
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 13 Jul 2013 08:05:42 +0000 (04:05 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 13 Jul 2013 08:05:42 +0000 (04:05 -0400)
Lib/idlelib/idle_test/test_text.py

index 3a0705b943c34a4dc5bee416036438e13e456450..904ace76d111275ece338677cdf1515727cfff0c 100644 (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):