summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-12-16 18:00:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-12-16 18:00:15 (GMT)
commit70d28a184c42d107cc8c69a95aa52a4469e7929c (patch)
treea22429e07bb587d183a6c62d5b7813f11b7cf4ff /Lib/lib2to3
parent5bb8b9134b0bb35a73c76657f41cafa3e4361fcd (diff)
downloadcpython-70d28a184c42d107cc8c69a95aa52a4469e7929c.zip
cpython-70d28a184c42d107cc8c69a95aa52a4469e7929c.tar.gz
cpython-70d28a184c42d107cc8c69a95aa52a4469e7929c.tar.bz2
Remove unused imports.
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/pytree.py1
-rw-r--r--Lib/lib2to3/tests/__init__.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/Lib/lib2to3/pytree.py b/Lib/lib2to3/pytree.py
index ad3592c..c425fe6 100644
--- a/Lib/lib2to3/pytree.py
+++ b/Lib/lib2to3/pytree.py
@@ -13,7 +13,6 @@ There's also a pattern matching implementation here.
__author__ = "Guido van Rossum <guido@python.org>"
import sys
-import warnings
from io import StringIO
HUGE = 0x7FFFFFFF # maximum repeat count, default max
diff --git a/Lib/lib2to3/tests/__init__.py b/Lib/lib2to3/tests/__init__.py
index c5166fc..54221c7 100644
--- a/Lib/lib2to3/tests/__init__.py
+++ b/Lib/lib2to3/tests/__init__.py
@@ -1,7 +1,6 @@
# Author: Collin Winter
import os
-import unittest
from test.support import load_package_tests