Skip to content

Commit 8728994

Browse files
committed
test(clink): use os.pathsep for PATH assertions
1 parent 17a7298 commit 8728994

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_clink_codex_path_resolution.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from __future__ import annotations
44

55
import asyncio
6+
import os
67
import stat
78
from pathlib import Path
89

@@ -68,4 +69,4 @@ async def fake_create_subprocess_exec(*args, **_kwargs):
6869
assert captured["args"][0] == str(codex_path)
6970
env = captured["env"]
7071
assert env is not None
71-
assert str(nvm_bin) in env["PATH"].split(":")
72+
assert str(nvm_bin) in env["PATH"].split(os.pathsep)

0 commit comments

Comments
 (0)