diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-22 18:53:51 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-22 18:58:04 -0400 |
commit | e6df5b39be55c44205ea67811bb812e085599d5e (patch) | |
tree | b99a8b37aee50d5a60d4c5fdd37964de8ddb066d /tests/test_summary.py | |
parent | d849b2581b1b1dd52a6261568b0954a41210dd5b (diff) | |
download | python-coveragepy-git-6.4.tar.gz |
fix: don't create a data file when just trying to read one. #13286.4
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r-- | tests/test_summary.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_summary.py b/tests/test_summary.py index 4bce80f6..d603062b 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -450,6 +450,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest): cov.load() with pytest.raises(NoDataError, match="No data to report."): self.get_report(cov, skip_covered=True) + self.assert_doesnt_exist(".coverage") def test_report_skip_empty(self): self.make_file("main.py", """ |