Skip to content

Commit 8901798

Browse files
pdgendtcarlescufi
authored andcommitted
repo: Patch coverage with subprocess
Coverage subprocess has been removed in pytest-cov 7.0. To migrate the `patch` option has to be added. See https://pytest-cov.readthedocs.io/en/latest/subprocess-support.html Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 1ffe41c commit 8901798

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ where = ["src"]
4949
namespaces = false
5050

5151
[tool.coverage.run]
52+
patch = ["subprocess"]
5253
relative_files = true
5354
omit = [
5455
"*/tmp/*",

0 commit comments

Comments
 (0)