The sherpa.utils.testing moduleΒΆ

Functions

requires_data(test_function) Decorator for functions requiring external data (i.e.
requires_ds9(test_function) Decorator for test functions requiring ds9
requires_fits(test_function) Returns True if there is an importable backend for FITS I/O.
requires_group(test_function) Decorator for test functions requiring group library
requires_package([msg]) Decorator for test functions requiring specific packages.
requires_plotting(test_function) Decorator for test functions requiring a plotting library.
requires_pylab(test_function) Returns True if the pylab module is available (pylab).
requires_stk(test_function) Decorator for test functions requiring stk library
requires_xspec(test_function)

Classes

SherpaTestCase([methodName]) Base class for Sherpa unit tests.