bpo-35202: Remove more unused imports in idlelib (GH-10573)
(cherry picked from commit 5a087d5401
)
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
This commit is contained in:
parent
0ee5409aea
commit
3a600d224c
|
@ -11,7 +11,6 @@ import os.path
|
|||
import pyclbr
|
||||
from tkinter import Tk
|
||||
|
||||
from idlelib import filelist
|
||||
from idlelib.tree import TreeNode
|
||||
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue