Skip to content

Commit 289f7a2

Browse files
committed
Add test capturing failed expectation. Ref #179.
1 parent 28502bf commit 289f7a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

testing/test_git.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ def test_version_from_git(wd):
3939
assert wd.version.startswith('0.2')
4040

4141

42+
@pytest.mark.issue(179)
43+
def test_unicode_version_scheme(wd):
44+
scheme = b'guess-next-dev'.decode('ascii')
45+
assert wd.get_version(version_scheme=scheme)
46+
47+
4248
@pytest.mark.issue(108)
4349
@pytest.mark.issue(109)
4450
def test_git_worktree(wd):

0 commit comments

Comments
 (0)