summaryrefslogtreecommitdiff
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-06-19 15:11:01 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-06-19 15:11:01 -0500
commit1f98cb2880de5d716933ada52604044cbe5b3cbc (patch)
tree468d8b819af1ef8c90304ef65fba985b85487c1e /setuptools/command/test.py
parent48b0d2bfbd4aee6cc34ae6656d7c7033298f5ac0 (diff)
parent1c5400fd8216c101b7d120e1b079e46add869ade (diff)
downloadpython-setuptools-git-1f98cb2880de5d716933ada52604044cbe5b3cbc.tar.gz
Merged in vinay.sajip/setuptools/single-codebase (pull request #5)
Additional changes relating to single codebase support
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index a02ac142..db2fc7b1 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -154,7 +154,7 @@ class test(Command):
for name in sys.modules:
if name.startswith(module):
del_modules.append(name)
- map(sys.modules.__delitem__, del_modules)
+ list(map(sys.modules.__delitem__, del_modules))
loader_ep = EntryPoint.parse("x="+self.test_loader)
loader_class = loader_ep.load(require=False)