From 94bf5f731aa8addcedb162525e96c4e1bd2ebfdd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 22 Aug 2010 23:18:14 -0400 Subject: Unify formatting of coverage percentages, and don't show zero or 100 as a result of rounding. Fixes #41 and #70. --- coverage/htmlfiles/pyfile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/htmlfiles/pyfile.html') diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 035691c8..05b2b464 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -5,7 +5,7 @@ {# IE8 rounds line-height incorrectly, and adding this emulateIE7 line makes it right! #} {# http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/7684445e-f080-4d8f-8529-132763348e21 #} - Coverage for {{cu.name|escape}}: {{nums.pc_covered|format_pct}}% + Coverage for {{cu.name|escape}}: {{nums.pc_covered_str}}% @@ -18,7 +18,7 @@