diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-05-16 03:55:21 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-05-16 03:55:21 (GMT) |
commit | 75fb816c78be5668d5274df9c9a0c26d841339ad (patch) | |
tree | 99f3f46df35f3a89108117369db66e18ae4f8840 /Lib/idlelib/idle_test/test_autocomplete.py | |
parent | 038c16b9a07b0905cef4760e5a5e92e322f56396 (diff) | |
download | cpython-75fb816c78be5668d5274df9c9a0c26d841339ad.zip cpython-75fb816c78be5668d5274df9c9a0c26d841339ad.tar.gz cpython-75fb816c78be5668d5274df9c9a0c26d841339ad.tar.bz2 |
Issue #23184: idle tests, remove unused names and imports.
Diffstat (limited to 'Lib/idlelib/idle_test/test_autocomplete.py')
-rw-r--r-- | Lib/idlelib/idle_test/test_autocomplete.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_autocomplete.py b/Lib/idlelib/idle_test/test_autocomplete.py index bcc853c..3a2192e 100644 --- a/Lib/idlelib/idle_test/test_autocomplete.py +++ b/Lib/idlelib/idle_test/test_autocomplete.py @@ -1,6 +1,6 @@ import unittest from test.support import requires -from tkinter import Tk, Text, TclError +from tkinter import Tk, Text import idlelib.AutoComplete as ac import idlelib.AutoCompleteWindow as acw @@ -95,8 +95,8 @@ class AutoCompleteTest(unittest.TestCase): del ev.mc_state # If autocomplete window is open, complete() method is called - testwin = self.autocomplete._make_autocomplete_window() self.text.insert('1.0', 're.') + # This must call autocomplete._make_autocomplete_window() Equal(self.autocomplete.autocomplete_event(ev), 'break') # If autocomplete window is not active or does not exist, |