# HG changeset patch # User Matt Mackall # Date 1326400742 21600 # Node ID 62b7a0759ee37ea0b6f5d0ac3a8bebdfa89c7fe4 # Parent bef1d96492084280ac76b49c314e1fcb23bb4fda run-tests: use a list comprehension instead of map [ original upstream message ] diff -r bef1d9649208 -r 62b7a0759ee3 tests/run-tests.py --- 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')