Mercurial > public > mercurial-scm > hg
diff tests/coverage.py @ 10413:e433002acb05
fix up a bunch of check-code warnings
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 09 Feb 2010 14:12:22 -0600 |
parents | 86a6bc519592 |
children |
line wrap: on
line diff
--- a/tests/coverage.py Tue Feb 09 13:53:24 2010 -0600 +++ b/tests/coverage.py Tue Feb 09 14:12:22 2010 -0600 @@ -847,7 +847,7 @@ morfs = self.filter_by_prefix(morfs, omit_prefixes) morfs.sort(self.morf_name_compare) - max_name = max([5,] + map(len, map(self.morf_name, morfs))) + max_name = max([5] + map(len, map(self.morf_name, morfs))) fmt_name = "%%- %ds " % max_name fmt_err = fmt_name + "%s: %s" header = fmt_name % "Name" + " Stmts Exec Cover"