Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Jan 10, 2025
1 parent dd50155 commit bc5a3e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_ignore.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ def test_match_ignore_from_file(
):
from dvc.fs import localfs

root = os.path.sep * (2 if os.name == "nt" else 1)
dvcignore_path = os.path.join(
os.path.sep, "full", "path", "to", "ignore", "file", ".dvcignore"
root, "full", "path", "to", "ignore", "file", ".dvcignore"
)
dvcignore_dirname = os.path.dirname(dvcignore_path)

Expand Down

0 comments on commit bc5a3e5

Please sign in to comment.