summaryrefslogtreecommitdiff
path: root/tests/test_arcs.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
commit3eed96c1321c23b7fb578827fe1fb75d16bbde9a (patch)
treeedcc321446e6426789f6b8f7a71c47958b75147b /tests/test_arcs.py
parent7e766b953c2422cccb212f346687dea39d676746 (diff)
downloadpython-coveragepy-3eed96c1321c23b7fb578827fe1fb75d16bbde9a.tar.gz
Coverage._harvest_data is now Coverage.get_data
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index c0cbac7..6312061 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -760,6 +760,6 @@ class LineDataTest(CoverageTest):
self.start_import_stop(cov, "fun1")
- cov._harvest_data()
- fun1_lines = cov.data.line_data()[abs_file("fun1.py")]
+ data = cov.get_data()
+ fun1_lines = data.line_data()[abs_file("fun1.py")]
self.assertEqual(fun1_lines, [1, 2, 5])