Skip to content

Commit 4880e4b

Browse files
authored
Test fix for mac path (#9)
1 parent aeebea7 commit 4880e4b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/wt-worktree/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
def temp_dir():
1515
"""Create a temporary directory."""
1616
tmpdir = tempfile.mkdtemp()
17-
yield Path(tmpdir)
17+
# Resolve symlinks for consistent path comparison (macOS /var -> /private/var)
18+
yield Path(tmpdir).resolve()
1819
shutil.rmtree(tmpdir, ignore_errors=True)
1920

2021

0 commit comments

Comments
 (0)