mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
Remove unused imports in test modules.
This commit is contained in:
parent
dc3694bee0
commit
a4f46e1292
74 changed files with 40 additions and 135 deletions
|
@ -6,7 +6,6 @@ from collections import namedtuple, Counter, OrderedDict
|
|||
from test import mapping_tests
|
||||
import pickle, cPickle, copy
|
||||
from random import randrange, shuffle
|
||||
import operator
|
||||
import keyword
|
||||
import re
|
||||
from collections import Hashable, Iterable, Iterator
|
||||
|
@ -848,7 +847,7 @@ class SubclassMappingTests(mapping_tests.BasicTestMappingProtocol):
|
|||
d = self._empty_mapping()
|
||||
self.assertRaises(KeyError, d.popitem)
|
||||
|
||||
import doctest, collections
|
||||
import collections
|
||||
|
||||
def test_main(verbose=None):
|
||||
NamedTupleDocs = doctest.DocTestSuite(module=collections)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue