(request)
| 466 | |
| 467 | @pytest.fixture(scope="class") |
| 468 | def _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") |
nothing calls this directly
no test coverage detected