From 3eed96c1321c23b7fb578827fe1fb75d16bbde9a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 11 Jul 2015 20:21:21 -0400 Subject: Coverage._harvest_data is now Coverage.get_data --- tests/test_oddball.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_oddball.py') diff --git a/tests/test_oddball.py b/tests/test_oddball.py index 6fa512d..268624f 100644 --- a/tests/test_oddball.py +++ b/tests/test_oddball.py @@ -318,8 +318,8 @@ class ExceptionTest(CoverageTest): # Clean the line data and compare to expected results. # The filenames are absolute, so keep just the base. - cov._harvest_data() # private! sshhh... - lines = cov.data.line_data() + data = cov.get_data() + lines = data.line_data() clean_lines = {} for f, llist in lines.items(): # f is a path to a Python module, so we drop the '.py' to get -- cgit v1.2.1