]> granicus.if.org Git - python/commitdiff
bpo-35202: Remove more unused imports in idlelib (GH-10573)
authorSrinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
Sat, 17 Nov 2018 06:38:01 +0000 (12:08 +0530)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 17 Nov 2018 06:38:01 +0000 (01:38 -0500)
Lib/idlelib/idle_test/test_browser.py
Lib/idlelib/idle_test/test_config_key.py
Lib/idlelib/idle_test/test_configdialog.py
Lib/idlelib/idle_test/test_zoomheight.py

index 905dc1f47e343833a041a8f2c078da7f801a3973..dfbab6dd6b5e5b49a7fb8b568741e420c4fde52d 100644 (file)
@@ -11,7 +11,6 @@ import os.path
 import pyclbr
 from tkinter import Tk
 
-from idlelib import filelist
 from idlelib.tree import TreeNode
 
 
index 5031daadee0a0adf67a47f8b0f841ba5fa9a888f..abe574912c55d949ed93e549609ea49c1a7558e6 100644 (file)
@@ -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):
index dbfcd01c63eac4badeabeb8dc30024f61d9e3691..5472a04c187c956b3ef403319b16a2e4ebc8bdfe 100644 (file)
@@ -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
 
index bac86ac249f6a558df3ffc0c64188de780a57903..aa5bdfb4fbd4c62f97d04669e9e8de667cbce0aa 100644 (file)
@@ -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