Skip to content
Snippets Groups Projects
Commit 14132a55 authored by Matt Mackall's avatar Matt Mackall
Browse files

run-tests: use a list comprehension instead of map

parent 58dcb837
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment