mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
fix doctests using correct tags adn quotes
This commit is contained in:
parent
eac5ef4c80
commit
5adfa286cb
1 changed files with 3 additions and 3 deletions
|
@ -165,11 +165,11 @@ class GitRepo:
|
||||||
>>> # Check out a tag specifically
|
>>> # Check out a tag specifically
|
||||||
>>> repo.tag = "2.6.0"
|
>>> repo.tag = "2.6.0"
|
||||||
>>> repo.tag
|
>>> repo.tag
|
||||||
"2.6.0"
|
'2.6.0'
|
||||||
>>> # Now check out a commit some number after the tag.
|
>>> # Now check out a commit some number after the tag.
|
||||||
>>> repo.commit = "gec0a879"
|
>>> repo.commit = "8abafcd"
|
||||||
>>> repo.tag
|
>>> repo.tag
|
||||||
"2.6.0-5-gec0a879"
|
'2.5.0-4-g8abafcd'
|
||||||
|
|
||||||
"""
|
"""
|
||||||
res = self._git_call('describe', '--tags')
|
res = self._git_call('describe', '--tags')
|
||||||
|
|
Loading…
Reference in a new issue