[Python-Dev] Socket servers in the test suite

Nick Coghlan ncoghlan at gmail.com
Fri Apr 29 14:13:18 CEST 2011


On Fri, Apr 29, 2011 at 9:44 PM, Georg Brandl <g.brandl at gmx.net> wrote:
> On 27.04.2011 23:23, Vinay Sajip wrote:
>> I've been recently trying to improve the test coverage for the logging package,
>> and have got to a not unreasonable point:
>>
>> logging/__init__.py 99% (96%)
>> logging/config.py 89% (85%)
>> logging/handlers.py 60% (54%)
>>
>> where the figures in parentheses include branch coverage measurements.
>
> BTW, didn't we agree not to put "pragma" comments into the stdlib code?

I think some folks objected, but since they're essential to keeping
track of progress in code coverage improvement efforts, there wasn't a
consensus to leave them out. The pragmas themselves are easy enough to
grep for, so it isn't like they don't leave a record of which lines
may not be getting tested.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list