We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e476ab commit 3518b47Copy full SHA for 3518b47
pyxrf/core/tests/test_map_processing.py
@@ -47,9 +47,10 @@ def test_dask_client_create(tmpdir):
47
48
# Set the number of workers to some strange number (11 is unusual)
49
# (pass another kwarg in addition to default)
50
- client = dask_client_create(n_workers=11)
+ n_workers_requested = 3
51
+ client = dask_client_create(n_workers=n_workers_requested)
52
n_workers = len(client.scheduler_info()["workers"])
- assert n_workers == 11, "The number of workers was set incorrectly"
53
+ assert n_workers == n_workers_requested, "The number of workers was set incorrectly"
54
client.close()
55
56
assert not os.path.exists(dask_worker_space_path), "Temporary directory was created in the current directory"
0 commit comments