Closed abbiemery closed 6 months ago
Actually this is a common pitfall when converting from skeleton to copier, the --cov
should be applied in the tox.ini
section, not in the pytest.addopts
section. When converting from skeleton to copier this makes a merge conflicts and is often left in both sections. The fix is to delete the line with --cov
in from the pytest.addopts
section.
Due to the following issue, this line is needed to debug tests when you have coverage on.
https://github.com/microsoft/vscode-python/issues/693