summaryrefslogtreecommitdiff
path: root/test_requests.py
diff options
context:
space:
mode:
authorCory Benfield <lukasaoz@gmail.com>2015-11-05 13:47:04 +0000
committerCory Benfield <lukasaoz@gmail.com>2015-11-05 13:49:35 +0000
commit43b90d7f72c4793aa538dd7eac2ac126da2a3aaf (patch)
tree95301b75bf822dc29cae12e54ecb4184beb6710b /test_requests.py
parent7c91e27d0142c177add6a1f726712f58914d4f52 (diff)
downloadpython-requests-pytest-httpbin.tar.gz
Remove remaining test that contacts external server.pytest-httpbin
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"""