pyhf
pyhf copied to clipboard
Ensure doctests are not providing sole coverage for any code
trafficstars
Summary
PR #1467 showed that the doctests are currently providing coverage to some areas of the codebase that the tests themselves never reach (e.g., when moving the doctests to their own report, the coverage from running the tests dipped)
This isn't really good and the only thing that the doctests should be providing is testing of the docstring examples. We should add coverage of the codebase that is now provided by the doctests into the main tests.
Additional Information
No response
Code of Conduct
- [X] I agree to follow the Code of Conduct
