mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Fix pool connection closed test
This commit is contained in:
+1
-1
@@ -1683,7 +1683,7 @@ def test_urllib3_pool_connection_closed():
|
||||
try:
|
||||
s.get(httpbin('status/200'))
|
||||
except ConnectionError as e:
|
||||
assert u"HTTPConnectionPool(host='httpbin.org', port=80): Pool is closed." in str(e.message)
|
||||
assert u"HTTPConnectionPool(host='httpbin.org', port=80): Pool is closed." in str(e)
|
||||
|
||||
def test_vendor_aliases():
|
||||
from requests.packages import urllib3
|
||||
|
||||
Reference in New Issue
Block a user