We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.path.samefile
1 parent cba7d66 commit e16734dCopy full SHA for e16734d
tests/test_cli_utils.py
@@ -613,7 +613,7 @@ async def test_find_project_root_at_root():
613
with tempfile.TemporaryDirectory() as temp_dir:
614
os.makedirs(os.path.join(temp_dir, ".git"))
615
# in a git repo, find_project_root should not go beyond the git root
616
- assert find_project_root(temp_dir, ".git") == temp_dir
+ assert os.path.samefile(find_project_root(temp_dir, ".git"), temp_dir)
617
assert find_project_root(temp_dir, ".vectorcode") is None
618
619
0 commit comments