summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-14 05:39:50 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-14 05:39:50 -0400
commitd4652ca5603d9c1f5df9f8cac856ce06332502f3 (patch)
tree81e07fa8307c64db9b94de746468f8d1ed87aef0 /tests/test_concurrency.py
parent20e59fb2eb6a9dcc513e34b56c0e6cb523777ce7 (diff)
downloadpython-coveragepy-git-d4652ca5603d9c1f5df9f8cac856ce06332502f3.tar.gz
is better than
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r--tests/test_concurrency.py2
1 files changed, 1 insertions, 1 deletions
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)