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 dwoz
Recipients dwoz, orsenthil, python-dev
Date 2013-03-19.20:52:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363726327.94.0.318795442637.issue17471@psf.upfronthosting.co.za>
In-reply-to
Content
Senthil,

The two lines you excluded from that patch give us coverage on HTTPError.__str__ , I added to the existing interface test so as not to re-produce the code there. I still think it could be added since it will give us that last line of coverage and verifies the exception's code and msg are in the string representation of HTTPError.

root@d1:/root/hg/cpython# ./python ../coveragepy report --show-missingName               Stmts   Miss  Cover   Missing
------------------------------------------------
Lib/urllib/error      32      1    97%   56
History
Date User Action Args
2013-03-19 20:52:07dwozsetrecipients: + dwoz, orsenthil, python-dev
2013-03-19 20:52:07dwozsetmessageid: <1363726327.94.0.318795442637.issue17471@psf.upfronthosting.co.za>
2013-03-19 20:52:07dwozlinkissue17471 messages
2013-03-19 20:52:07dwozcreate