diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_arcs.py | 2 | ||||
-rw-r--r-- | tests/test_concurrency.py | 2 | ||||
-rw-r--r-- | tests/test_oddball.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index c84c5441..7e8541a4 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -761,5 +761,5 @@ class LineDataTest(CoverageTest): self.start_import_stop(cov, "fun1") data = cov.get_data() - fun1_lines = data.line_data(abs_file("fun1.py")) + fun1_lines = data.lines(abs_file("fun1.py")) self.assertEqual(fun1_lines, [1, 2, 5]) diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 21048941..e0eacd18 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -149,7 +149,7 @@ class ConcurrencyTest(CoverageTest): # If the test fails, it's helpful to see this info: fname = os.path.abspath("try_it.py") - linenos = data.line_data(fname) + linenos = data.lines(fname) print("{0}: {1}".format(len(linenos), linenos)) print_simple_annotation(code, linenos) diff --git a/tests/test_oddball.py b/tests/test_oddball.py index 5288f022..1c92273b 100644 --- a/tests/test_oddball.py +++ b/tests/test_oddball.py @@ -323,7 +323,7 @@ class ExceptionTest(CoverageTest): data = cov.get_data() for callname in callnames: filename = callname + ".py" - lines = data.line_data(abs_file(filename)) + lines = data.lines(abs_file(filename)) clean_lines[filename] = sorted(lines) self.assertEqual(clean_lines, lines_expected) |