Fix pool connection closed test

This commit is contained in:
Ian Cordasco
2015-07-18 10:57:28 -05:00
parent d7026bfb2a
commit 31817b66c6
+1 -1
View File
@@ -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