pmda can be used with different dask schedulers and in a single core variant. It would be nice if we have a pytest.fixture that is easy to use and runs a single test with all supported schedulers.
from pmda.testing import scheduler
def test_custom(scheduler):
a = AnalysisFromFunction(...).run(scheduler=scheduler)
I think it should be possible to parametrize over a fixture.