mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #25769 -- Updated get_version() release candidate naming for PEP 0440.
This commit is contained in:
parent
fa08d27fb7
commit
4921d4e59f
3 changed files with 7 additions and 4 deletions
|
@ -17,9 +17,9 @@ class VersionTests(TestCase):
|
|||
tuples_to_strings = (
|
||||
((1, 4, 0, 'alpha', 1), '1.4a1'),
|
||||
((1, 4, 0, 'beta', 1), '1.4b1'),
|
||||
((1, 4, 0, 'rc', 1), '1.4c1'),
|
||||
((1, 4, 0, 'rc', 1), '1.4rc1'),
|
||||
((1, 4, 0, 'final', 0), '1.4'),
|
||||
((1, 4, 1, 'rc', 2), '1.4.1c2'),
|
||||
((1, 4, 1, 'rc', 2), '1.4.1rc2'),
|
||||
((1, 4, 1, 'final', 0), '1.4.1'),
|
||||
)
|
||||
for ver_tuple, ver_string in tuples_to_strings:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue