We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbdd2ee commit 15e518aCopy full SHA for 15e518a
distributed/tests/test_nanny.py
@@ -428,8 +428,10 @@ async def test_local_directory(s):
428
assert n.process.worker_dir.count("dask-scratch-space") == 1
429
430
431
-@pytest.mark.skipif(WINDOWS, reason="Need POSIX filesystem permissions and UIDs")
432
-@pytest.mark.skipif(os.getuid() == 0, reason="Must not be root")
+@pytest.mark.skipif(
+ WINDOWS or os.getuid() == 0,
433
+ reason="Need POSIX filesystem permissions and UIDs and Must not be root",
434
+)
435
@gen_cluster(nthreads=[])
436
async def test_unwriteable_dask_worker_space(s, tmp_path):
437
os.mkdir(f"{tmp_path}/dask-scratch-space", mode=0o500)
0 commit comments