summaryrefslogtreecommitdiff
path: root/distutils2/tests/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Move copies of stdlib test code from tests.__init__ to runtests.?ric Araujo2011-11-151-105/+2
| | | | | | | | | | I deleted captured_stdout because its usage felt clumsy to me; better to use stdlib?s test.support.captured_stdout in packaging and just write out the code for d2. I checked that adding the import of d2.tests.unittest at the top level did not change the coverage accuracy (see comment in the source and the history of the file for more info).
* Remove some duplication in tests subpackage.?ric Araujo2011-09-181-0/+1
| | | | | | | | | | This commit adds some missing names found by pyflakes/pylint; the test suite passed before, but we might as well have correct code. Some other functions have been removed; running the test suite through d2.tests.__main__ now requires Python 2.7. There?s still quite a bit of unnecessary duplication between __init__ and support, but I won?t fix that now.
* Fix backport changesets part 2: tests?ric Araujo2011-09-181-14/+4
|
* Let the test suite run again?ric Araujo2011-09-121-0/+8
|
* Fixed a python2.4 syntax errors.Alexandru Plugaru2011-08-301-1/+0
|
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-35/+19
|
* Changed test.test_support import to test.support when running on Python 3Arc Riley2010-11-251-2/+5
|
* More test fiddling?ric Araujo2010-10-011-2/+6
|
* refactored unittest import logic to improve accuracy of the coverage measurementYannick Gingras2010-09-301-5/+12
| | | | | | | | | | 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.
* moved everything in the same dir - we want to include docs/ in the releaseTarek Ziade2010-09-191-0/+135