[Python-checkins] cpython (2.7): Issue #18365: convert buildbot errors to skips.
terry.reedy
python-checkins at python.org
Sat Jul 13 10:07:07 CEST 2013
http://hg.python.org/cpython/rev/ba4c826848d5
changeset: 84617:ba4c826848d5
branch: 2.7
parent: 84612:ec71fcdcfeac
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sat Jul 13 04:05:42 2013 -0400
summary:
Issue #18365: convert buildbot errors to skips.
files:
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
--- a/Lib/idlelib/idle_test/test_text.py
+++ b/Lib/idlelib/idle_test/test_text.py
@@ -216,7 +216,10 @@
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):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list