tox/pytest: Activate doctest-module
Related to D3899#96289
This commit is contained in:
parent
31efda62e7
commit
d1ce9b0912
3 changed files with 6 additions and 7 deletions
|
@ -288,13 +288,11 @@ def get_version(uri: str) -> str:
|
|||
Version detected
|
||||
|
||||
Example:
|
||||
For uri = https://ftp.gnu.org/gnu/8sync/8sync-0.2.0.tar.gz
|
||||
|
||||
>>> uri = 'https://ftp.gnu.org/gnu/8sync/8sync-0.2.0.tar.gz'
|
||||
>>> get_version(uri)
|
||||
'0.2.0'
|
||||
|
||||
For uri = 8sync-0.3.0.tar.gz
|
||||
|
||||
>>> uri = '8sync-0.3.0.tar.gz'
|
||||
>>> get_version(uri)
|
||||
'0.3.0'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue