Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gjoseph92 committed Mar 9, 2022
1 parent f204e07 commit 879f847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/tests/test_cluster_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async def get_state():
@gen_test()
async def test_write_state_msgpack(tmp_path):
path = str(tmp_path / "bar")
await write_state(get_state(), path, "msgpack")
await write_state(get_state, path, "msgpack")

with fsspec.open(f"{path}.msgpack.gz", "rb", compression="gzip") as f:
readback = msgpack.load(f)
Expand All @@ -37,7 +37,7 @@ async def test_write_state_msgpack(tmp_path):
@gen_test()
async def test_write_state_yaml(tmp_path):
path = str(tmp_path / "bar")
await write_state(get_state(), path, "yaml")
await write_state(get_state, path, "yaml")

with open(f"{path}.yaml") as f:
readback = yaml.safe_load(f)
Expand Down

0 comments on commit 879f847

Please sign in to comment.