summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-07-13 08:05:42 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-07-13 08:05:42 (GMT)
commita25a31a901fb0b1b845d93d0308a27d55553d1a6 (patch)
tree5f22d0625e120e7dc77bedfe40bc8355f5a64061 /Lib/idlelib
parentc8a198ce0297139b6dabeddca15919f8680e35fa (diff)
downloadcpython-a25a31a901fb0b1b845d93d0308a27d55553d1a6.zip
cpython-a25a31a901fb0b1b845d93d0308a27d55553d1a6.tar.gz
cpython-a25a31a901fb0b1b845d93d0308a27d55553d1a6.tar.bz2
Issue #18365: convert buildbot errors to skips.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_text.py5
1 files changed, 4 insertions, 1 deletions
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):