From 9d0a699e4f9dd80e59db1b0763058ed46c43df85 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Wed, 9 Jul 2008 20:34:17 +0000 Subject: [PATCH] Replace map with list comprehension svn: r10850 --- src/test/test/test_util_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test/test_util_test.py b/src/test/test/test_util_test.py index bb941539d..e4b3b6985 100644 --- a/src/test/test/test_util_test.py +++ b/src/test/test/test_util_test.py @@ -109,7 +109,7 @@ class Test2(U.TestCase): class Test3(U.TestCase): here = tu.absdir() bases = (here, tempfile.gettempdir()) - asubs = map(lambda b: os.path.join(b,"test_sub"), bases) + asubs = [os.path.join(b,"test_sub") for b in bases] home= os.environ["HOME"] if home: home_junk = os.path.join(home,"test_junk")