You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a description that is worded well enough to be understood
I'm packaging yt-dlp 2024.4.9 for OpenIndiana and I noticed that the TestHTTPRequestHandler.test_connect_timeout[Requests] test fails while all other tests either pass or skip. The related test_connect_timeout[Urllib] test pass and the test_connect_timeout[CurlCFFI] test is skipped here.
Provide verbose output that clearly demonstrates the problem
Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
If using API, add 'verbose': True to YoutubeDL params instead
Copy the WHOLE output (starting with [debug] Command-line config) and insert it below
Complete Verbose Output
____________ TestHTTPRequestHandler.test_connect_timeout[Requests] _____________
self = <test.test_networking.TestHTTPRequestHandler object at 0x7fffaa05d340>
handler = functools.partial(<class 'yt_dlp.networking._requests.RequestsRH'>, logger=<class 'yt_dlp.utils._YDLLogger'>)
@pytest.mark.parametrize('handler', ['Urllib', 'Requests', 'CurlCFFI'], indirect=True)
def test_connect_timeout(self, handler):
# nothing should be listening on this port
connect_timeout_url = 'http://10.255.255.255'
with handler(timeout=0.01) as rh:
now = time.time()
with pytest.raises(TransportError):
validate_and_send(
rh, Request(connect_timeout_url))
> assert 0.01 <= time.time() - now < 20
E assert 0.01 <= (1712734046.9629605 - 1712734046.9537818)
E + where 1712734046.9629605 = <built-in functiontime>()
E + where <built-in functiontime> = time.time
test/test_networking.py:553: AssertionError
The text was updated successfully, but these errors were encountered:
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Provide a description that is worded well enough to be understood
I'm packaging
yt-dlp 2024.4.9
for OpenIndiana and I noticed that theTestHTTPRequestHandler.test_connect_timeout[Requests]
test fails while all other tests either pass or skip. The relatedtest_connect_timeout[Urllib]
test pass and thetest_connect_timeout[CurlCFFI]
test is skipped here.Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: