This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zvyn
Recipients zvyn
Date 2014-03-08.13:49:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394286552.45.0.827702132835.issue20871@psf.upfronthosting.co.za>
In-reply-to
Content
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 or linefeeds. This is the documented behavior of the function, so testing it seems to be a good idea.
History
Date User Action Args
2014-03-08 13:49:12zvynsetrecipients: + zvyn
2014-03-08 13:49:12zvynsetmessageid: <1394286552.45.0.827702132835.issue20871@psf.upfronthosting.co.za>
2014-03-08 13:49:12zvynlinkissue20871 messages
2014-03-08 13:49:11zvyncreate