Skip to content

Commit

Permalink
temporarily mark test_git_worktree_support as xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Sep 2, 2021
1 parent a17b8d1 commit 0d6dc8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testing/test_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,14 @@ def test_git_dirty_notag(today, wd, monkeypatch):


@pytest.mark.issue(193)
def test_git_worktree_support(wd, tmpdir):
@pytest.mark.xfail(reason="sometimes relative path results")
def test_git_worktree_support(wd, tmp_path):
wd.commit_testfile()
worktree = tmpdir.join("work_tree")
worktree = tmp_path / "work_tree"
wd("git worktree add -b work-tree %s" % worktree)

res = do([sys.executable, "-m", "setuptools_scm", "ls"], cwd=worktree)
assert "test.txt" in res
assert str(worktree) in res


Expand Down

0 comments on commit 0d6dc8d

Please sign in to comment.