| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|