Skip to content
Myr

Stop being so specific when testing error strings.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cory Benfield · committed by Cory Benfield · parent a8fdba1 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:test_requests.py+1 added-1 removed
1732 unmodified lines
17331734 try:1735 s.get(httpbin('status/200'))1736 except ConnectionError as e:1737 assert u"HTTPConnectionPool(host='httpbin.org', port=80): Pool is closed." in str(e)1737 assert u"Pool is closed." in str(e)17381739def test_vendor_aliases():1740 from requests.packages import urllib31741 from requests.packages import chardet
6 unmodified lines