summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-16 15:41:15 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-16 15:41:15 -0400
commit73d5eab6fe1178edecc3eee7645a897db5b8c81f (patch)
tree9e86e4ebc1b004d7951b8ed70e609d9e23fff67d /tests/test_api.py
parent5a609b662e97b1a3728467d2056ca63e3984af75 (diff)
downloadpython-coveragepy-git-73d5eab6fe1178edecc3eee7645a897db5b8c81f.tar.gz
Change CoverageData.summary() to CoverageData.line_counts()
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index b4ae7482..ef34e843 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -379,7 +379,7 @@ class SourceOmitIncludeTest(OmitIncludeTestsMixin, CoverageTest):
import usepkgs # pragma: nested # pylint: disable=import-error,unused-variable
cov.stop() # pragma: nested
data = cov.get_data()
- summary = data.summary()
+ summary = data.line_counts()
for k, v in list(summary.items()):
assert k.endswith(".py")
summary[k[:-3]] = v