Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
observingClouds committed Oct 31, 2024
1 parent 047a656 commit 20ff275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def distributed():
def test_run_distributed(args):
if distributed():
call_wrapper(args)
elif not distributed() and "--dask-distributed-local-core-fraction" in args:
elif not distributed() and args["dask-distributed-local-core-fraction"] > 0:
pytest.raises(
ZeroDivisionError,
call_wrapper(args),
Expand Down

0 comments on commit 20ff275

Please sign in to comment.