mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Issue *24750: Switch all scrollbars in IDLE to ttk versions.
Where needed, add minimal tests to cover changes.
This commit is contained in:
parent
96881cd621
commit
01e35754fb
17 changed files with 211 additions and 39 deletions
|
@ -1,10 +1,14 @@
|
|||
''' Test autocomplete and autocomple_w
|
||||
|
||||
Coverage of autocomple: 56%
|
||||
'''
|
||||
import unittest
|
||||
from test.support import requires
|
||||
from tkinter import Tk, Text
|
||||
|
||||
import idlelib.autocomplete as ac
|
||||
import idlelib.autocomplete_w as acw
|
||||
import idlelib.macosx as mac
|
||||
from idlelib import macosx
|
||||
from idlelib.idle_test.mock_idle import Func
|
||||
from idlelib.idle_test.mock_tk import Event
|
||||
|
||||
|
@ -27,7 +31,7 @@ class AutoCompleteTest(unittest.TestCase):
|
|||
def setUpClass(cls):
|
||||
requires('gui')
|
||||
cls.root = Tk()
|
||||
mac.setupApp(cls.root, None)
|
||||
macosx.setupApp(cls.root, None)
|
||||
cls.text = Text(cls.root)
|
||||
cls.editor = DummyEditwin(cls.root, cls.text)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue