summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-12 20:40:38 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-12 20:40:38 -0400
commit264683a4afccdb07122086c5bdd4e43078000193 (patch)
tree175fb0d9c81a6b17852a60885628ea63d78c42a1 /tests/test_concurrency.py
parentc2f0d6406cf6d18f35f1a0de6025a017d3382974 (diff)
downloadpython-coveragepy-git-264683a4afccdb07122086c5bdd4e43078000193.tar.gz
More simplification of the data api
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 93809dff..21048941 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.executed_lines(fname).keys()
+ linenos = data.line_data(fname)
print("{0}: {1}".format(len(linenos), linenos))
print_simple_annotation(code, linenos)