Commit ace29b9
authored
fix: Enable subprocess coverage (#289)
The default CLI test in new projects runs `__main__.py` in a subprocess,
until pytest-cov 7.0.0 subprocesses were automatically included in
coverage but that has now changed and we must explicitly enable it in
order to avoid sudden unexpected drops in code coverage.
See docs:
https://pytest-cov.readthedocs.io/en/latest/subprocess-support.html1 parent 9d544a5 commit ace29b9
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments