-
-
Notifications
You must be signed in to change notification settings - Fork 450
Open
Labels
enhancementNew feature or requestNew feature or request
Description
From pytest-dev/pytest-cov#704.
TL;DR: It would be nice to be able to exclude the inside of an if
statement from coverage, but not the if
statement itself:
if statement: # pragma: no <requested feature>
inside_block
This would still report the if
line, only the inside would be excluded.
Thanks in advance.
All the best.
Élie
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request