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

Agree to your point. Sorry that i did not run the coverage before.

I would prefer to do the check this way for readability of the test code and get to 100% coverage.

        >>> expected_errmsg = 'HTTP Error %s: %s' %(err.code, err.msg)
        >>> assert str(err) == expected_errmsg

Any thoughts?
History
Date User Action Args
2013-03-19 22:36:36orsenthilsetrecipients: + orsenthil, python-dev, dwoz
2013-03-19 22:36:36orsenthilsetmessageid: <1363732596.8.0.007433945582.issue17471@psf.upfronthosting.co.za>
2013-03-19 22:36:36orsenthillinkissue17471 messages
2013-03-19 22:36:36orsenthilcreate