[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-09 Thread R. David Murray
R. David Murray added the comment: Thanks, Milan. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f7486263212 by R David Murray in branch 'default': #20871: improve email policy test coverage. http://hg.python.org/cpython/rev/8f7486263212 -- nosy: +python-dev ___ Python tracker

[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-08 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray stage: -> patch review ___ Python tracker ___ ___ Pyt

[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-08 Thread Milan Oberkirch
New submission from Milan Oberkirch: Accorcing to coveragepy there was only one line missing for full line coverage in Lib/email/policy.py so I added an test to cover it. It checks that the function email.policy.EmailPolicy.header raises an ValueError if the second parameter includes newlines