mirror of
https://github.com/python/cpython.git
synced 2025-12-10 19:10:59 +00:00
Issue #18365: convert buildbot errors to skips.
This commit is contained in:
parent
4f133e2e98
commit
e6a17862e7
1 changed files with 4 additions and 1 deletions
|
|
@ -216,7 +216,10 @@ class TkTextTest(TextTest, unittest.TestCase):
|
||||||
requires('gui')
|
requires('gui')
|
||||||
from tkinter import Tk, Text
|
from tkinter import Tk, Text
|
||||||
cls.Text = Text
|
cls.Text = Text
|
||||||
cls.root = Tk()
|
try:
|
||||||
|
cls.root = Tk()
|
||||||
|
except TclError as msg:
|
||||||
|
raise unittest.SkipTest('TclError: %s' % msg)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue