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
commit64754bc5b434543b6d7ff7d6d2d4ede6def03990 (patch)
treea944e9f2260b0dae18c5f42f2352c0f07378a090 /tests/test_concurrency.py
parentf0f5f4d942574c50604658c851c80782908df7eb (diff)
downloadpython-coveragepy-64754bc5b434543b6d7ff7d6d2d4ede6def03990.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 93809df..2104894 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)