diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-03-13 08:00:24 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-03-13 08:00:24 -0400 |
commit | 858721a9d5a3618b80d10ec71c6c2c32a89b6a7c (patch) | |
tree | 421805abbc8eca9412be61c295813f67bedb9f9c /coverage/summary.py | |
parent | 67a7f3e65aab32763a2b3df2295c5c698ce001f0 (diff) | |
download | python-coveragepy-git-858721a9d5a3618b80d10ec71c6c2c32a89b6a7c.tar.gz |
No need for coverage.analysis to return the filename, it's a property on the CodeUnit passed in.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r-- | coverage/summary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/summary.py b/coverage/summary.py index 779cdad0..275075d9 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -41,7 +41,7 @@ class SummaryReporter(Reporter): for cu in self.code_units: try: - _, statements, _, missing, readable = self.coverage.analyze(cu) + statements, _, missing, readable = self.coverage.analyze(cu) n = len(statements) m = n - len(missing) if n > 0: |