-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Contributor Friendly ♥💰 Bounty $100If you complete this issue we'll pay you $100 on OpenCollective!If you complete this issue we'll pay you $100 on OpenCollective!
Description
Subject
I was expecting to all tests working on "main" branch but there are 3 failing test cases
- TestProxyManager::test_https_proxymanager_connected_to_http_proxy[http]
- TestProxyManager::test_https_proxymanager_connected_to_http_proxy[https]
- TestSSL::test_ssl_failure_midway_through_conn
nox -s test-3.12
...
FAILED test/with_dummyserver/test_socketlevel.py::TestProxyManager::test_https_proxymanager_connected_to_http_proxy[http] - assert 'Your proxy appears to only use HTTP and not HTTPS' in "('Unable to connect to proxy', SSLError(SSLError(1, '[SSL] record layer failure (_ssl.c:1000)')))"
FAILED test/with_dummyserver/test_socketlevel.py::TestProxyManager::test_https_proxymanager_connected_to_http_proxy[https] - assert 'Your proxy appears to only use HTTP and not HTTPS' in "('Unable to connect to proxy', SSLError(SSLError(1, '[SSL] record layer failure (_ssl.c:1000)')))"
FAILED test/with_dummyserver/test_socketlevel.py::TestSSL::test_ssl_failure_midway_through_conn - AssertionError: Regex pattern did not match.
Environment
OS macOS-14.2.1-x86_64-i386-64bit
Python 3.12.1
OpenSSL 3.2.0 23 Nov 2023
urllib3 2.1.0
Steps to Reproduce
nox -s test-3.12
Expected Behavior
The test should work, or they should be skipped, or if it's because they are not supported on macOS, then may it should be conditionally skipped.
Actual Behavior
3 test fails
Metadata
Metadata
Assignees
Labels
Contributor Friendly ♥💰 Bounty $100If you complete this issue we'll pay you $100 on OpenCollective!If you complete this issue we'll pay you $100 on OpenCollective!