fix doctests using correct tags adn quotes

This commit is contained in:
sneakers-the-rat 2023-11-20 16:05:21 -08:00
parent eac5ef4c80
commit 5adfa286cb

View file

@ -165,11 +165,11 @@ class GitRepo:
>>> # Check out a tag specifically
>>> repo.tag = "2.6.0"
>>> repo.tag
"2.6.0"
'2.6.0'
>>> # Now check out a commit some number after the tag.
>>> repo.commit = "gec0a879"
>>> repo.commit = "8abafcd"
>>> repo.tag
"2.6.0-5-gec0a879"
'2.5.0-4-g8abafcd'
"""
res = self._git_call('describe', '--tags')