diff options
author | terryjreedy <tjreedy@udel.edu> | 2017-06-11 08:45:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-11 08:45:35 (GMT) |
commit | d755d19ac4f50be2b11a6efb0f0396290c8d8263 (patch) | |
tree | bc3da9f1ea49ce647b252e2fdb443f724907ae91 | |
parent | ccccf3156f8f5cfb820c7deac05beba9f51ec51c (diff) | |
download | cpython-d755d19ac4f50be2b11a6efb0f0396290c8d8263.zip cpython-d755d19ac4f50be2b11a6efb0f0396290c8d8263.tar.gz cpython-d755d19ac4f50be2b11a6efb0f0396290c8d8263.tar.bz2 |
[3.6] Remove unused imports (#2104)
Part of patch by Serhiy Strochaka, 2016-12-16 (no bpo issue)
(cherry-pick of 70d28a184c42d107cc8c69a95aa52a4469e7929c)
-rw-r--r-- | Lib/idlelib/idle_test/test_macosx.py | 1 | ||||
-rw-r--r-- | Lib/idlelib/idle_test/test_tree.py | 1 | ||||
-rw-r--r-- | Lib/idlelib/macosx.py | 1 | ||||
-rw-r--r-- | Lib/idlelib/stackviewer.py | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/Lib/idlelib/idle_test/test_macosx.py b/Lib/idlelib/idle_test/test_macosx.py index fae75d8..775697b 100644 --- a/Lib/idlelib/idle_test/test_macosx.py +++ b/Lib/idlelib/idle_test/test_macosx.py @@ -4,7 +4,6 @@ Coverage: 71% on Windows. ''' from idlelib import macosx from test.support import requires -import sys import tkinter as tk import unittest import unittest.mock as mock diff --git a/Lib/idlelib/idle_test/test_tree.py b/Lib/idlelib/idle_test/test_tree.py index 09ba964..bb597d8 100644 --- a/Lib/idlelib/idle_test/test_tree.py +++ b/Lib/idlelib/idle_test/test_tree.py @@ -5,7 +5,6 @@ Coverage: 56% from idlelib import tree from test.support import requires requires('gui') -import os import unittest from tkinter import Tk diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py index c225dd9..d4566cd 100644 --- a/Lib/idlelib/macosx.py +++ b/Lib/idlelib/macosx.py @@ -2,7 +2,6 @@ A number of functions that enhance IDLE on Mac OSX. """ from sys import platform # Used in _init_tk_type, changed by test. -import warnings import tkinter diff --git a/Lib/idlelib/stackviewer.py b/Lib/idlelib/stackviewer.py index 0698def..400fa63 100644 --- a/Lib/idlelib/stackviewer.py +++ b/Lib/idlelib/stackviewer.py @@ -1,6 +1,5 @@ import linecache import os -import re import sys import tkinter as tk |