From 8d72677cf964365c8db033fbd436ff5dd342fb1b Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 16 Feb 2021 10:29:08 +0100 Subject: [PATCH 1/2] Fix tests for Python 3.10 --- docs/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.rst b/docs/usage.rst index cda55670..c175d648 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -455,7 +455,7 @@ To compare two versions depends on your type: >>> v > dict(major=1, unknown=42) Traceback (most recent call last): ... - TypeError: __init__() got an unexpected keyword argument 'unknown' + TypeError: ...__init__() got an unexpected keyword argument 'unknown' Other types cannot be compared. From dc6e816137c81b6d08631e0625e5051a62bdc3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= Date: Tue, 16 Feb 2021 15:31:15 +0100 Subject: [PATCH 2/2] Update docs/usage.rst Co-authored-by: Tom Schraitle --- docs/usage.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index c175d648..365d6af0 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -455,7 +455,7 @@ To compare two versions depends on your type: >>> v > dict(major=1, unknown=42) Traceback (most recent call last): ... - TypeError: ...__init__() got an unexpected keyword argument 'unknown' + TypeError: ... got an unexpected keyword argument 'unknown' Other types cannot be compared. @@ -786,4 +786,3 @@ the original class: Traceback (most recent call last): ... ValueError: '1.2.4': not a valid semantic version tag. Must start with 'v' or 'V' -