Skip to content

Add pytest fixture for cluster tests#2262

Merged
mrocklin merged 2 commits intodask:masterfrom
mrocklin:cluster-context-manager
Sep 21, 2018
Merged

Add pytest fixture for cluster tests#2262
mrocklin merged 2 commits intodask:masterfrom
mrocklin:cluster-context-manager

Conversation

@mrocklin
Copy link
Member

This replaces the with cluster(...) style tests for syncrhonous API
with a pytest fixture. This reduces the nesting and boiler plate for
many of our tests.

The old system is still available for backwards compatibility.

Fixes #1966

This replaces the ``with cluster(...)`` style tests for syncrhonous API
with a pytest fixture.  This reduces the nesting and boiler plate for
many of our tests.

The old system is still available for backwards compatibility.

Fixes dask#1966
@mrocklin mrocklin merged commit e74ba24 into dask:master Sep 21, 2018
@mrocklin mrocklin deleted the cluster-context-manager branch September 21, 2018 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace with cluster context manager with pytest fixture

1 participant