Decorator to declare required dependencies for tests.
Examples
from gammapy.utils.testing import requires_dependency @requires_dependency('scipy') def test_using_scipy(): import scipy ...