ci: test on windows + python 3.13 (#40) #46
+5
-2
@@ -227,8 +227,11 @@ def test_diagnostics_redacts_token_args():
|
||||
# --------------------------------------------------------------------------- #
|
||||
# 6. Dependency / PATH checking
|
||||
# --------------------------------------------------------------------------- #
|
||||
def test_dep_check_finds_python3():
|
||||
assert c.check_dependency({"command": "python3"})["status"] == "ok"
|
||||
def test_dep_check_finds_python():
|
||||
# "python3" does not exist on a stock Windows install; "warn" (found only
|
||||
# on an augmented PATH) still proves resolution works on a real machine.
|
||||
cmd = "python" if os.name == "nt" else "python3"
|
||||
assert c.check_dependency({"command": cmd})["status"] in ("ok", "warn")
|
||||
|
||||
|
||||
def test_dep_check_flags_missing():
|
||||
|
||||
Reference in New Issue
Block a user