bpo-35202: Remove unused imports in Lib directory. (GH-10446)

parent 43a74abb
......@@ -16,7 +16,6 @@ __author__ = "Guido van Rossum <guido@python.org>"
__all__ = ["Driver", "load_grammar"]
# Python imports
import codecs
import io
import os
import logging
......
......@@ -13,7 +13,6 @@ fallback token code OP, but the parser needs the actual token code.
"""
# Python imports
import collections
import pickle
# Local imports
......
import os
import sys
import signal
from . import util
......
......@@ -3,11 +3,9 @@
import collections
import copy
import doctest
import keyword
import operator
import pickle
from random import choice, randrange
import re
import string
import sys
from test import support
......
# Some simple queue module tests, plus some failure conditions
# to ensure the Queue locks remain stable.
import collections
import itertools
import queue
import random
import sys
import threading
import time
import unittest
......
......@@ -10,7 +10,6 @@ import codecs
import gc
import sysconfig
import locale
import threading
# count the number of test runs, used to create unique
# strings to intern in test_intern()
......
......@@ -4,7 +4,6 @@ import random
from test import support
import _thread as thread
import time
import sys
import weakref
from test import lock_tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment