requires_fits

sherpa.utils.testing.requires_fits(test_function)[source] [edit on github]

Returns True if there is an importable backend for FITS I/O. Used to skip tests requiring fits_io