| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Report and patch by Richard Jones.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
This used to be buggy; Filip Gruszczy?ski contributed these tests and a
code patch but the latter is not needed.
|
| | |
|
| | |
|
| |
|
|
| |
will work
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|