From 610cd38d61ad8097d328978680afb4461067aa65 Mon Sep 17 00:00:00 2001 From: Stark Date: Fri, 3 Jul 2026 19:19:35 +0500 Subject: [PATCH] fix: skip Unix permission test on Windows (#648) --- tests/test_config_loader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_config_loader.py b/tests/test_config_loader.py index 247c41ffe..5608cde90 100644 --- a/tests/test_config_loader.py +++ b/tests/test_config_loader.py @@ -3,6 +3,7 @@ from __future__ import annotations import json +import os from typing import TYPE_CHECKING import pytest @@ -168,6 +169,7 @@ def test_persist_current_writes_env_block(tmp_path: Path, monkeypatch: pytest.Mo } +@pytest.mark.skipif(os.name == "nt", reason="Unix file permissions not supported on Windows") def test_persist_current_sets_0600_mode(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("STRIX_LLM", "persisted-model") target = tmp_path / "cli-config.json"