cpython: 2105ab8553b7 (original) (raw)

Mercurial > cpython

changeset 72731:2105ab8553b7

Add tests for comparing candidate and final versions in packaging (#11841). This used to be buggy; Filip Gruszczyński contributed tests and a code patch but the latter is not needed. [#11841]

Éric Araujo merwok@netwok.org
date Wed, 05 Oct 2011 01:41:14 +0200
parents 285950ceee8a
children c17b91e08b60
files Lib/packaging/tests/test_version.py
diffstat 1 files changed, 12 insertions(+), 0 deletions(-)[+] [-] Lib/packaging/tests/test_version.py 12

line wrap: on

line diff

--- a/Lib/packaging/tests/test_version.py +++ b/Lib/packaging/tests/test_version.py @@ -101,8 +101,18 @@ class VersionTestCase(unittest.TestCase) True >>> V('1.2.0') >= V('1.2.3') False

@@ -129,6 +139,8 @@ class VersionTestCase(unittest.TestCase) ... < V('1.0.dev18') ... < V('1.0.dev456') ... < V('1.0.dev1234')