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 | f5c5a8f5ca51e8aa17749692d46d6933a1fee663 (patch) | |
tree | d83e7c0b55c7c7659a4d4acc4b97df93a83f4495 /tests/test_oddball.py | |
parent | fa73bbdd2056588571d6c83df22f29d15693cd90 (diff) | |
download | python-coveragepy-git-f5c5a8f5ca51e8aa17749692d46d6933a1fee663.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 6fa512d8..268624f7 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 |