aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-09-25 18:00:15 +0000
committerPJ Eby <distutils-sig@python.org>2006-09-25 18:00:15 +0000
commit168a7c6e19e8820a1e1dcfdfcbef206efa8082d8 (patch)
tree780ed5ab7d947b7f8c32c740f7c975a453c055cc /setuptools/tests
parentae347c1ed3e39fb2c00b8b9fc8aedcf507313c20 (diff)
downloadexternal_python_setuptools-168a7c6e19e8820a1e1dcfdfcbef206efa8082d8.tar.gz
external_python_setuptools-168a7c6e19e8820a1e1dcfdfcbef206efa8082d8.tar.bz2
external_python_setuptools-168a7c6e19e8820a1e1dcfdfcbef206efa8082d8.zip
Fix "dev" versions being considered newer than release candidates.
(backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052002
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_resources.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py
index 6f3b1d78..a4b20de1 100644
--- a/setuptools/tests/test_resources.py
+++ b/setuptools/tests/test_resources.py
@@ -471,6 +471,7 @@ class ParseTests(TestCase):
c('0.0.4', '0.4.0')
c('0pl1', '0.4pl1')
c('2.1.0-rc1','2.1.0')
+ c('2.1dev','2.1a0')
torture ="""
0.80.1-3 0.80.1-2 0.80.1-1 0.79.9999+0.80.0pre4-1