1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

skip test for curl-cffi as well

This commit is contained in:
Simon Sawicki 2025-03-02 23:34:24 +01:00
parent 29e4d297ab
commit dc2d43073d
No known key found for this signature in database

View file

@ -720,7 +720,7 @@ def test_allproxy(self, handler):
rh, Request( rh, Request(
f'http://127.0.0.1:{self.http_port}/headers', proxies={'all': 'http://10.255.255.255'})).close() f'http://127.0.0.1:{self.http_port}/headers', proxies={'all': 'http://10.255.255.255'})).close()
@pytest.mark.skip_handler('Urllib', 'urllib handler does not support keep_header_casing') @pytest.mark.skip_handlers_if(lambda _, handler: handler not in ['Urllib', 'CurlCFFI'], 'handler does not support keep_header_casing')
def test_keep_header_casing(self, handler): def test_keep_header_casing(self, handler):
with handler() as rh: with handler() as rh:
res = validate_and_send( res = validate_and_send(