summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r--tests/test_concurrency.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 58529ec5..a4f700ed 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -235,8 +235,8 @@ class ConcurrencyTest(CoverageTest):
# Read the coverage file and see that try_it.py has all its lines
# executed.
- data = coverage.CoverageData()
- data.read_file(".coverage")
+ data = coverage.CoverageData(".coverage")
+ data.read()
# If the test fails, it's helpful to see this info:
fname = abs_file("try_it.py")