summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>2018-11-17 06:38:01 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2018-11-17 06:38:01 (GMT)
commit5a087d5401e6956cf4c6d95f15fedabf39a4f5af (patch)
tree6d69875901e64074b107dcc8ea40c365335864f4
parent338d54f0a59dc5e5b6c9e7397340169f3a3f8ea4 (diff)
downloadcpython-5a087d5401e6956cf4c6d95f15fedabf39a4f5af.zip
cpython-5a087d5401e6956cf4c6d95f15fedabf39a4f5af.tar.gz
cpython-5a087d5401e6956cf4c6d95f15fedabf39a4f5af.tar.bz2
bpo-35202: Remove more unused imports in idlelib (GH-10573)
-rw-r--r--Lib/idlelib/idle_test/test_browser.py1
-rw-r--r--Lib/idlelib/idle_test/test_config_key.py2
-rw-r--r--Lib/idlelib/idle_test/test_configdialog.py2
-rw-r--r--Lib/idlelib/idle_test/test_zoomheight.py2
4 files changed, 3 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_browser.py b/Lib/idlelib/idle_test/test_browser.py
index 905dc1f..dfbab6d 100644
--- a/Lib/idlelib/idle_test/test_browser.py
+++ b/Lib/idlelib/idle_test/test_browser.py
@@ -11,7 +11,6 @@ import os.path
import pyclbr
from tkinter import Tk
-from idlelib import filelist
from idlelib.tree import TreeNode
diff --git a/Lib/idlelib/idle_test/test_config_key.py b/Lib/idlelib/idle_test/test_config_key.py
index 5031daa..abe5749 100644
--- a/Lib/idlelib/idle_test/test_config_key.py
+++ b/Lib/idlelib/idle_test/test_config_key.py
@@ -5,7 +5,7 @@ from test.support import requires
import unittest
from tkinter import Tk
from idlelib.idle_test.mock_idle import Func
-from idlelib.idle_test.mock_tk import Var, Mbox_func
+from idlelib.idle_test.mock_tk import Mbox_func
class ValidationTest(unittest.TestCase):
diff --git a/Lib/idlelib/idle_test/test_configdialog.py b/Lib/idlelib/idle_test/test_configdialog.py
index dbfcd01..5472a04 100644
--- a/Lib/idlelib/idle_test/test_configdialog.py
+++ b/Lib/idlelib/idle_test/test_configdialog.py
@@ -8,7 +8,7 @@ requires('gui')
import unittest
from unittest import mock
from idlelib.idle_test.mock_idle import Func
-from tkinter import Tk, Frame, StringVar, IntVar, BooleanVar, DISABLED, NORMAL
+from tkinter import Tk, StringVar, IntVar, BooleanVar, DISABLED, NORMAL
from idlelib import config
from idlelib.configdialog import idleConf, changes, tracers
diff --git a/Lib/idlelib/idle_test/test_zoomheight.py b/Lib/idlelib/idle_test/test_zoomheight.py
index bac86ac..aa5bdfb 100644
--- a/Lib/idlelib/idle_test/test_zoomheight.py
+++ b/Lib/idlelib/idle_test/test_zoomheight.py
@@ -4,7 +4,7 @@
from idlelib import zoomheight
import unittest
from test.support import requires
-from tkinter import Tk, Text
+from tkinter import Tk
from idlelib.editor import EditorWindow