summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-11 20:21:21 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-11 20:21:21 -0400
commitf5c5a8f5ca51e8aa17749692d46d6933a1fee663 (patch)
treed83e7c0b55c7c7659a4d4acc4b97df93a83f4495 /tests/test_api.py
parentfa73bbdd2056588571d6c83df22f29d15693cd90 (diff)
downloadpython-coveragepy-git-f5c5a8f5ca51e8aa17749692d46d6933a1fee663.tar.gz
Coverage._harvest_data is now Coverage.get_data
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index 30690362..b4ae7482 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -378,8 +378,8 @@ class SourceOmitIncludeTest(OmitIncludeTestsMixin, CoverageTest):
cov.start()
import usepkgs # pragma: nested # pylint: disable=import-error,unused-variable
cov.stop() # pragma: nested
- cov._harvest_data() # private! sshhh...
- summary = cov.data.summary()
+ data = cov.get_data()
+ summary = data.summary()
for k, v in list(summary.items()):
assert k.endswith(".py")
summary[k[:-3]] = v