requires_ds9

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

Decorator for test functions requiring ds9

This also ensures that the test is run in the same xdist ‘group’ as the other DS9 tests, which means they will all be run sequentially, avoiding issue #1704 when using pytest-xdist to run multiple tests in parallel.