Skip to content

Commit 57aed8f

Browse files
committed
Try explicit chmod to fix Windows failure
1 parent 8e715e3 commit 57aed8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python_packages/jupyter_lsp/jupyter_lsp/tests/test_virtual_documents_shadow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ def run_shadow(message):
213213
@pytest.fixture
214214
def forbidden_shadow_path(tmpdir):
215215
path = Path(tmpdir) / "no_permission_dir"
216-
path.mkdir(mode=0)
216+
path.mkdir()
217+
path.chmod(0o000)
217218

218219
yield path
219220

0 commit comments

Comments
 (0)