mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed.
This commit is contained in:
parent
47791df97c
commit
fb51e65289
4 changed files with 84 additions and 10 deletions
|
|
@ -8,14 +8,12 @@ from test.support import requires
|
|||
requires('gui')
|
||||
from tkinter import Tk
|
||||
import unittest
|
||||
from idlelib import macosx
|
||||
|
||||
class ConfigDialogTest(unittest.TestCase):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.root = Tk()
|
||||
macosx._initializeTkVariantTests(cls.root)
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue