From 2434b4e6314663dbba066cfb184d78ad735f2e76 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Thu, 30 Apr 2015 15:27:33 -0700 Subject: Fix Python 3 issue in paste/fixture.py by wrapping `map` with `list`. --- paste/fixture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/fixture.py') 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: -- cgit v1.2.1