diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-10 22:19:21 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-10 22:19:21 (GMT) |
commit | 01e35754fb8a7bcaf88a473db1eb30a14378a49e (patch) | |
tree | 66a35e9f29de268b16e00faa5a648cb12a45b743 /Lib/idlelib/idle_test/test_autocomplete.py | |
parent | 96881cd6218000380d4a6ce60ff47bb6d785e524 (diff) | |
download | cpython-01e35754fb8a7bcaf88a473db1eb30a14378a49e.zip cpython-01e35754fb8a7bcaf88a473db1eb30a14378a49e.tar.gz cpython-01e35754fb8a7bcaf88a473db1eb30a14378a49e.tar.bz2 |
Issue *24750: Switch all scrollbars in IDLE to ttk versions.
Where needed, add minimal tests to cover changes.
Diffstat (limited to 'Lib/idlelib/idle_test/test_autocomplete.py')
-rw-r--r-- | Lib/idlelib/idle_test/test_autocomplete.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_autocomplete.py b/Lib/idlelib/idle_test/test_autocomplete.py index 496a41d..a14c6db 100644 --- a/Lib/idlelib/idle_test/test_autocomplete.py +++ b/Lib/idlelib/idle_test/test_autocomplete.py @@ -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) |