Parse alpha, beta and rc versions strings.

fixes #142
This commit is contained in:
Matthias Bussonnier
2020-06-30 13:28:09 -07:00
parent c88a2675b0
commit 40e78ff7e0
2 changed files with 4 additions and 1 deletions

View File

@@ -89,6 +89,9 @@ def test_bytes_to_unicode_failing_encoding(code, errors):
('3.6', (3, 6)),
('3.6.10', (3, 6)),
('3.10', (3, 10)),
('3.10a9', (3, 10)),
('3.10b9', (3, 10)),
('3.10rc9', (3, 10)),
]
)
def test_parse_version_string(version_str, version):