The sherpa.utils.testing module

Functions

requires_data(test_function)

Decorator for functions requiring external data (i.e. data not distributed with Sherpa itself) is missing.

requires_ds9(test_function)

Decorator for test functions requiring ds9

requires_fits(test_function)

Returns True if a working backend for FITS I/O is importable.

requires_group(test_function)

Decorator for test functions requiring group library

requires_package([msg])

Decorator for test functions requiring specific packages.

requires_stk(test_function)

Decorator for test functions requiring stk library

requires_xspec(test_function)