tox/pytest: Activate doctest-module

Related to D3899#96289
This commit is contained in:
Antoine R. Dumont (@ardumont) 2020-09-10 11:43:25 +02:00
parent 31efda62e7
commit d1ce9b0912
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
3 changed files with 6 additions and 7 deletions

View file

@ -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'