summaryrefslogtreecommitdiff
path: root/tests/test_summary.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r--tests/test_summary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_summary.py b/tests/test_summary.py
index b2895370..980fd3d4 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -161,7 +161,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest):
# Read the data written, to see that the right files have been omitted from running.
covdata = CoverageData()
- covdata.read_file(".coverage")
+ covdata.read()
files = [os.path.basename(p) for p in covdata.measured_files()]
self.assertIn("covmod1.py", files)
self.assertNotIn("covmodzip1.py", files)