Skip to content

Commit 3809aed

Browse files
authored
Merge pull request #336 from frenzymadness/fix_3.10
Fix tests for Python 3.10
2 parents 194c6e6 + dc6e816 commit 3809aed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/usage.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ To compare two versions depends on your type:
455455
>>> v > dict(major=1, unknown=42)
456456
Traceback (most recent call last):
457457
...
458-
TypeError: __init__() got an unexpected keyword argument 'unknown'
458+
TypeError: ... got an unexpected keyword argument 'unknown'
459459

460460

461461
Other types cannot be compared.
@@ -786,4 +786,3 @@ the original class:
786786
Traceback (most recent call last):
787787
...
788788
ValueError: '1.2.4': not a valid semantic version tag. Must start with 'v' or 'V'
789-

0 commit comments

Comments
 (0)