MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / _start_dask_client

Function _start_dask_client

pyxrf/core/tests/test_map_processing.py:468–477  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

466
467@pytest.fixture(scope="class")
468def _start_dask_client(request):
469 # Setup
470 client = dask_client_create()
471
472 # Set class variables
473 request.cls.client = client
474 yield
475
476 # Tear down (after all tests in the class are completed)
477 client.close()
478
479
480@pytest.mark.usefixtures("_start_dask_client")

Callers

nothing calls this directly

Calls 1

dask_client_createFunction · 0.90

Tested by

no test coverage detected