summaryrefslogtreecommitdiff
path: root/distutils2/tests/test_version.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix stringification of final versions (#16107).?ric Araujo2012-10-271-1/+3
| | | | Report and patch by Richard Jones.
* Removed the trailing zero wiping (#14264)Tarek Ziade2012-03-121-2/+8
|
* Fix comparison bug with 'rc' versions (#11841)?ric Araujo2012-02-271-0/+9
|
* Clean up some idioms in tests.?ric Araujo2011-11-121-3/+1
| | | | | | | | | | | - Use os.makedirs (I had forgotten about it!) - Let TempdirManager.write_file call os.path.join for us - Let TempdirManager.tearDown go back to the previous working directory for us - Use a skip instead of hiding a method with an underscore - Reset the finalized attribute of command objects before calling ensure_finalized a second time, so that it?s not a no-op - Address pyflakes warnings
* Cosmetic fixes for whitespace and a regex.?ric Araujo2011-10-051-4/+4
| | | | | | The goal of the regex is to catch a (alpha), b (beta), c or rc (release candidate), so the existing pattern puzzled me. Tests were OK before and after the change.
* Add tests for comparing candidate and final versions (#11841).?ric Araujo2011-10-051-0/+12
| | | | | This used to be buggy; Filip Gruszczy?ski contributed these tests and a code patch but the latter is not needed.
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-10/+9
|
* make sure project that have numbers in their names can be parsedTarek Ziade2011-01-011-0/+9
|
* allowing predicates without parenthesis -- that's how the install script ↵Tarek Ziade2011-01-011-0/+3
| | | | will work
* Don?t use a deprecated name?ric Araujo2010-12-091-3/+3
|
* refactored unittest import logic to improve accuracy of the coverage measurementYannick Gingras2010-09-301-1/+1
| | | | | | | | | | The unittest module is selectively imported from the standard library if we're running with a Python >= 3.2 or from and external library otherwise. This logic was moved from distutils2.test.support to distutils2.tests because the former module also imports various modules from distutils2, which would skew the coverage measurement because the definitions in those module would run before the instrumentation had a chance to be started.
* Added some more hash testing to make the intent of equal hashes clearer.Amos Latteier2010-09-291-0/+2
|
* Add test for VersionPredicate.__repr__Amos Latteier2010-09-291-0/+4
|
* Changed hashing behaviour for NormalizedVersion. Equal versions have theAmos Latteier2010-09-291-0/+9
| | | | | | | | | | same hash now. This is my understanding of what should happen given the info at http://docs.python.org/reference/datamodel#object.__hash__ Also added tests for hashing. Also fixed a nit in a doc string that made emacs colorize versions.py incorrectly.
* moved everything in the same dir - we want to include docs/ in the releaseTarek Ziade2010-09-191-0/+226