Message184694
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? |
|
Date |
User |
Action |
Args |
2013-03-19 22:36:36 | orsenthil | set | recipients:
+ orsenthil, python-dev, dwoz |
2013-03-19 22:36:36 | orsenthil | set | messageid: <1363732596.8.0.007433945582.issue17471@psf.upfronthosting.co.za> |
2013-03-19 22:36:36 | orsenthil | link | issue17471 messages |
2013-03-19 22:36:36 | orsenthil | create | |
|