# HG changeset patch
# User Matt Mackall <mpm@selenic.com>
# Date 1326400742 21600
#      Thu Jan 12 14:39:02 2012 -0600
# Node ID 14132a55d66b9d8c4e5eb44d518f26ee6538c724
# Parent  58dcb837f193f978692d15cf296449a2be0dc41d
run-tests: use a list comprehension instead of map

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -493,7 +493,7 @@
         return
 
     covrun('-c')
-    omit = ','.join(map(os.path.join, [BINDIR, TESTDIR], ['*'] * 2))
+    omit = ','.join(os.path.join(x, '*') for x in [BINDIR, TESTDIR])
     covrun('-i', '-r', '"--omit=%s"' % omit) # report
     if options.annotate:
         adir = os.path.join(TESTDIR, 'annotated')