mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
woops
This commit is contained in:
+2
-3
@@ -1349,9 +1349,8 @@ class TestTimeout:
|
||||
requests.get(TARPIT, timeout=(0.1, None))
|
||||
assert False, "The connect() request should time out."
|
||||
except ConnectTimeout as e:
|
||||
pass
|
||||
assert isinstance(e, ConnectionError)
|
||||
assert isinstance(e, Timeout)
|
||||
assert isinstance(e, ConnectionError)
|
||||
assert isinstance(e, Timeout)
|
||||
|
||||
def test_total_timeout_connect(self):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user