diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2015-04-30 15:27:33 -0700 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2015-04-30 15:27:33 -0700 |
commit | 2434b4e6314663dbba066cfb184d78ad735f2e76 (patch) | |
tree | 34ff9955c4f02ad07a7e12d4e4feab8da5150316 | |
parent | 6235aae45bd96b33932edc5ad64431d041f3abb4 (diff) | |
download | paste-2434b4e6314663dbba066cfb184d78ad735f2e76.tar.gz |
Fix Python 3 issue in paste/fixture.py
by wrapping `map` with `list`.
-rw-r--r-- | paste/fixture.py | 2 |
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: |