diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-07-13 08:05:42 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-07-13 08:05:42 (GMT) |
commit | e6a17862e7f5739a669a98c2699a595a03fbe364 (patch) | |
tree | 10e5b738fab7e1961bedc27eb68fe21313fc106d /Lib | |
parent | 4f133e2e98930463219f363a60824f989e256fbb (diff) | |
download | cpython-e6a17862e7f5739a669a98c2699a595a03fbe364.zip cpython-e6a17862e7f5739a669a98c2699a595a03fbe364.tar.gz cpython-e6a17862e7f5739a669a98c2699a595a03fbe364.tar.bz2 |
Issue #18365: convert buildbot errors to skips.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/idle_test/test_text.py | 5 |
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): |