fix browser2 to be compliant with python-requests >= 2.0
This commit is contained in:
parent
61e7b93779
commit
5e199bdfa9
3 changed files with 45 additions and 180 deletions
|
|
@ -139,7 +139,7 @@ def test_brokenpost():
|
|||
r = b.location(r.url + '/feed')
|
||||
assert 'hello' in r.text
|
||||
assert 'world' in r.text
|
||||
except HTTPError, e:
|
||||
except HTTPError as e:
|
||||
if str(e).startswith('503 '):
|
||||
raise SkipTest('Quota exceeded')
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue