summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_collections.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
commita4f46e129294c686ef1effdd89c459bd9a624e6d (patch)
treed8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_collections.py
parentdc3694bee021480980d5b66a93f69ce137ee5be4 (diff)
downloadcpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.zip
cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.gz
cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.bz2
Remove unused imports in test modules.
Diffstat (limited to 'Lib/test/test_collections.py')
-rw-r--r--Lib/test/test_collections.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 809fd86..77ce7ed 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -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)