diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-11 20:21:21 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-11 20:21:21 -0400 |
| commit | 3eed96c1321c23b7fb578827fe1fb75d16bbde9a (patch) | |
| tree | edcc321446e6426789f6b8f7a71c47958b75147b /tests/test_oddball.py | |
| parent | 7e766b953c2422cccb212f346687dea39d676746 (diff) | |
| download | python-coveragepy-3eed96c1321c23b7fb578827fe1fb75d16bbde9a.tar.gz | |
Coverage._harvest_data is now Coverage.get_data
Diffstat (limited to 'tests/test_oddball.py')
| -rw-r--r-- | tests/test_oddball.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
