from sys import maxsize as INFINITY
import tkinter
-from tkinter.constants import TOP, LEFT, X, W, SUNKEN
+from tkinter.constants import TOP, X, SUNKEN
from idlelib.config import idleConf
from tkinter import Tk
from idlelib.editor import fixwordbreaks
from idlelib.run import fix_scaling
- import sys
root = Tk()
fix_scaling(root)
fixwordbreaks(root)
Much of IdleConf is also exercised by ConfigDialog and test_configdialog.
"""
from idlelib import config
-import copy
import sys
import os
import tempfile
from idlelib import config_key
from test.support import requires
-import sys
import unittest
from tkinter import Tk
from idlelib.idle_test.mock_idle import Func
from idlelib import rpc
import unittest
-import marshal
class CodePicklerTest(unittest.TestCase):
_chew_ordinaryre - non-special characters.
"""
import re
-import sys
# Reason last statement is continued (or C_NONE if it's not).
(C_NONE, C_BACKSLASH, C_STRING_FIRST_LINE,
--- /dev/null
+Remove unused imports from lib/idlelib