[Python-checkins] cpython (3.3): Issue #18365: convert buildbot errors to skips.
terry.reedy
python-checkins at python.org
Sat Jul 13 10:07:05 CEST 2013
http://hg.python.org/cpython/rev/bc3a34e47923
changeset: 84615:bc3a34e47923
branch: 3.3
parent: 84613:22ce68d98345
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