Closed cbetta closed 6 years ago
Is there any way to ignore some lines in the coverage report? I have some lines that only run depending on the Python version used, which can't be tested in one run.
And as I wrote this I found the solution:
code_to_ignore # pragma: no cover
Is there any way to ignore some lines in the coverage report? I have some lines that only run depending on the Python version used, which can't be tested in one run.