summaryrefslogtreecommitdiff
path: root/test_requests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_requests.py')
-rwxr-xr-xtest_requests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_requests.py b/test_requests.py
index 24284c04..08d2f148 100755
--- a/test_requests.py
+++ b/test_requests.py
@@ -341,7 +341,7 @@ class TestRequests(object):
def test_connection_error_invalid_port(self):
"""Connecting to an invalid port should raise a ConnectionError"""
with pytest.raises(ConnectionError):
- requests.get("http://httpbin.org:1", timeout=1)
+ requests.get("http://localhost:1", timeout=1)
def test_LocationParseError(self):
"""Inputing a URL that cannot be parsed should raise an InvalidURL error"""