changeset 15858:14132a55d66b

run-tests: use a list comprehension instead of map
author Matt Mackall <mpm@selenic.com>
date Thu, 12 Jan 2012 14:39:02 -0600
parents 58dcb837f193
children 44a371823f83
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Wed Jan 11 15:37:25 2012 +0100
+++ b/tests/run-tests.py	Thu Jan 12 14:39:02 2012 -0600
@@ -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')