summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r--Lib/idlelib/idle_test/test_config.py2
-rw-r--r--Lib/idlelib/idle_test/test_config_key.py2
-rw-r--r--Lib/idlelib/idle_test/test_editor.py2
-rw-r--r--Lib/idlelib/idle_test/test_searchbase.py2
4 files changed, 2 insertions, 6 deletions
diff --git a/Lib/idlelib/idle_test/test_config.py b/Lib/idlelib/idle_test/test_config.py
index a3fa1a3..e678cc6 100644
--- a/Lib/idlelib/idle_test/test_config.py
+++ b/Lib/idlelib/idle_test/test_config.py
@@ -3,9 +3,7 @@
Much is tested by opening config dialog live or in test_configdialog.
Coverage: 27%
'''
-from sys import modules
from test.support import captured_stderr
-from tkinter import Tk
import unittest
from idlelib import config
diff --git a/Lib/idlelib/idle_test/test_config_key.py b/Lib/idlelib/idle_test/test_config_key.py
index ee3f2c8..8a24c96 100644
--- a/Lib/idlelib/idle_test/test_config_key.py
+++ b/Lib/idlelib/idle_test/test_config_key.py
@@ -6,7 +6,7 @@ from idlelib import config_key
from test.support import requires
requires('gui')
import unittest
-from tkinter import Tk, Text
+from tkinter import Tk
class GetKeysTest(unittest.TestCase):
diff --git a/Lib/idlelib/idle_test/test_editor.py b/Lib/idlelib/idle_test/test_editor.py
index e9d29d4..64a2a88 100644
--- a/Lib/idlelib/idle_test/test_editor.py
+++ b/Lib/idlelib/idle_test/test_editor.py
@@ -1,7 +1,5 @@
import unittest
-from tkinter import Tk, Text
from idlelib.editor import EditorWindow
-from test.support import requires
class Editor_func_test(unittest.TestCase):
def test_filename_to_unicode(self):
diff --git a/Lib/idlelib/idle_test/test_searchbase.py b/Lib/idlelib/idle_test/test_searchbase.py
index d769fa2..27b02fb 100644
--- a/Lib/idlelib/idle_test/test_searchbase.py
+++ b/Lib/idlelib/idle_test/test_searchbase.py
@@ -5,7 +5,7 @@ testing skipping of suite when self.needwrapbutton is false.
'''
import unittest
from test.support import requires
-from tkinter import Tk, Toplevel, Frame ##, BooleanVar, StringVar
+from tkinter import Tk, Frame ##, BooleanVar, StringVar
from idlelib import searchengine as se
from idlelib import searchbase as sdb
from idlelib.idle_test.mock_idle import Func