Skip to content

Commit

Permalink
#69: Exclude test check in older Git versions that seem to have a spu…
Browse files Browse the repository at this point in the history
…rious result
  • Loading branch information
mtkennerly committed Oct 4, 2023
1 parent 0ffcd0d commit 93ab7ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_dunamai.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ def test__version__from_git__with_annotated_tags(tmp_path) -> None:
run("git tag v0.3.0+a,b -m Annotated")
assert from_vcs() == Version("0.3.0", dirty=False, tagged_metadata="a,b", branch=b)

assert from_vcs(path=vcs) == Version("0.3.0", dirty=False, tagged_metadata="a,b", branch=b)
if not legacy:
assert from_vcs(path=vcs) == Version("0.3.0", dirty=False, tagged_metadata="a,b", branch=b)


@pytest.mark.skipif(shutil.which("git") is None, reason="Requires Git")
Expand Down

0 comments on commit 93ab7ec

Please sign in to comment.