You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since our tests are invoked after most Ramble modules are already
initialized, import statements (and other ones like `def`, `class` etc.)
are not counted by the coverage tool.
One option could be to invoke `coverage run` instead of using
`pytest-cov`, but that requires handling subprocess invocation and I
couldn't get that to work nicely.
It seems relatively harmless to exclude these import statements, as even
if a file is completely excluded from a test run, the actual content
would still show up as missing coverage.
0 commit comments