Skip to content

Commit

Permalink
Skip expected failure due to urllib3#2577
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Mar 5, 2022
1 parent 341f333 commit 36e81bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/with_dummyserver/test_proxy_poolmanager.py
Expand Up @@ -581,6 +581,9 @@ def test_https_proxy_tls_error(
def test_proxy_https_target_tls_error(
self, proxy_scheme: str, use_forwarding_for_https: str
) -> None:
if proxy_scheme == "https" and use_forwarding_for_https:
pytest.skip("Test is expected to fail due to urllib3/urllib3#2577")

proxy_url = self.https_proxy_url if proxy_scheme == "https" else self.proxy_url
proxy_ctx = ssl.create_default_context()
proxy_ctx.load_verify_locations(DEFAULT_CA)
Expand Down

0 comments on commit 36e81bb

Please sign in to comment.