diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-07-15 16:26:48 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-07-23 19:31:13 -0400 |
commit | 7d71b1e052b2adead8c43bbc320582eab4938221 (patch) | |
tree | 75a9869f4ba591bc10bc7f3223865de58b7741be /tests/test_summary.py | |
parent | c24e594796b860531521be0190fc2f922c092c0e (diff) | |
download | python-coveragepy-git-7d71b1e052b2adead8c43bbc320582eab4938221.tar.gz |
Make file operations implicit on constructed filename
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r-- | tests/test_summary.py | 2 |
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) |