Skip to content

Add coverage reporting for Numba JIT-compiled functions #32

@vc1492a

Description

@vc1492a

Any functions with the @jit decorator are not read by pytest-cov as having been executed despite them running successfully within the unit tests, as they are compiled by numba as C and thus are not Python functions which are able to be evaluated by pytest-cov.

This occurs even when setting the environment variable to disable numba execution, e.g. NUMBA_DISABLE_JIT = "1".

Metadata

Metadata

Labels

enhancementNew feature of requestpackagingThis issue relates in some way to packaging and testing

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions