summaryrefslogtreecommitdiff
path: root/tests/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-22 18:53:51 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-22 18:58:04 -0400
commite6df5b39be55c44205ea67811bb812e085599d5e (patch)
treeb99a8b37aee50d5a60d4c5fdd37964de8ddb066d /tests/test_summary.py
parentd849b2581b1b1dd52a6261568b0954a41210dd5b (diff)
downloadpython-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.py1
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", """