Testing
feu.testing ¶
Define the pytest marks to skip tests depending on the
availability of optional dependencies.
For each dependency, <name>_available skips the test if the
dependency is not available, and <name>_not_available skips the
test if the dependency is available.
Example
>>> from feu.testing import numpy_available
>>> @numpy_available
... def test_numpy_feature() -> None: ...
...