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)
commite6a17862e7f5739a669a98c2699a595a03fbe364 (patch)
tree10e5b738fab7e1961bedc27eb68fe21313fc106d /Lib/idlelib
parent4f133e2e98930463219f363a60824f989e256fbb (diff)
downloadcpython-e6a17862e7f5739a669a98c2699a595a03fbe364.zip
cpython-e6a17862e7f5739a669a98c2699a595a03fbe364.tar.gz
cpython-e6a17862e7f5739a669a98c2699a595a03fbe364.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 367bf38..46af599 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):