mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
This commit is contained in:
parent
604e74c6be
commit
d6debb24e0
40 changed files with 30 additions and 55 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue