summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2015-04-30 15:27:33 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2015-04-30 15:27:33 -0700
commit2434b4e6314663dbba066cfb184d78ad735f2e76 (patch)
tree34ff9955c4f02ad07a7e12d4e4feab8da5150316 /paste
parent6235aae45bd96b33932edc5ad64431d041f3abb4 (diff)
downloadpaste-2434b4e6314663dbba066cfb184d78ad735f2e76.tar.gz
Fix Python 3 issue in paste/fixture.py
by wrapping `map` with `list`.
Diffstat (limited to 'paste')
-rw-r--r--paste/fixture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fixture.py b/paste/fixture.py
index 5d6944c..f851eee 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -1413,7 +1413,7 @@ class TestFileEnvironment(object):
cwd = _popget(kw, 'cwd', self.cwd)
stdin = _popget(kw, 'stdin', None)
printresult = _popget(kw, 'printresult', True)
- args = map(str, args)
+ args = list(map(str, args))
assert not kw, (
"Arguments not expected: %s" % ', '.join(kw.keys()))
if ' ' in script: