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.
1 parent b676410 commit a5d943dCopy full SHA for a5d943d
testing/test_git.py
@@ -63,7 +63,10 @@ def test_version_from_git(wd):
63
64
wd.commit_testfile()
65
wd("git tag version-0.2.post210+gbe48adfpost3+g0cc25f2")
66
- assert wd.version.startswith("0.2")
+ with pytest.warns(
67
+ UserWarning, match="tag '.*' will be stripped of its suffix '.*'"
68
+ ):
69
+ assert wd.version.startswith("0.2")
70
71
72
wd("git tag 17.33.0-rc")
0 commit comments