Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/q6r56137fl4mfg49qdvi84iv6kmyjff6-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/unittest/test_websockets.py" Running phase: patchPhase applying patch /nix/store/yam8q56s1vzjnryxzy1lc4hlxm19ddgs-use-system-libs.patch patching file scripts/build.py Hunk #1 succeeded at 146 (offset 24 lines). Hunk #2 succeeded at 156 with fuzz 2 (offset 15 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... /nix/store/31wv1cbxzxf15w5y9rr1fhl7hx6q55np-python3.14-wheel-0.47.0/lib/python3.14/site-packages/wheel/bdist_wheel.py:4: FutureWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command. warn( Using tmplibdir to store libcurl-impersonate running egg_info creating curl_cffi.egg-info writing curl_cffi.egg-info/PKG-INFO writing dependency_links to curl_cffi.egg-info/dependency_links.txt writing entry points to curl_cffi.egg-info/entry_points.txt writing requirements to curl_cffi.egg-info/requires.txt writing top-level names to curl_cffi.egg-info/top_level.txt writing manifest file 'curl_cffi.egg-info/SOURCES.txt' reading manifest file 'curl_cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'include/curl/*' adding license file 'LICENSE' writing manifest file 'curl_cffi.egg-info/SOURCES.txt' * Building wheel... /nix/store/31wv1cbxzxf15w5y9rr1fhl7hx6q55np-python3.14-wheel-0.47.0/lib/python3.14/site-packages/wheel/bdist_wheel.py:4: FutureWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command. warn( Using tmplibdir to store libcurl-impersonate running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/utils.py -> build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/curl.py -> build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/aio.py -> build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/_asyncio_selector.py -> build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/__main__.py -> build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/__init__.py -> build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/const.py -> build/lib.linux-x86_64-cpython-314/curl_cffi copying curl_cffi/__version__.py -> build/lib.linux-x86_64-cpython-314/curl_cffi creating build/lib.linux-x86_64-cpython-314/curl_cffi/cli copying curl_cffi/cli/output.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/cli copying curl_cffi/cli/doctor.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/cli copying curl_cffi/cli/parse.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/cli copying curl_cffi/cli/run.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/cli copying curl_cffi/cli/__init__.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/cli copying curl_cffi/cli/request.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/cli creating build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/utils.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/websockets.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/headers.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/models.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/exceptions.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/session.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/impersonate.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/errors.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/__init__.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests copying curl_cffi/requests/cookies.py -> build/lib.linux-x86_64-cpython-314/curl_cffi/requests running egg_info writing curl_cffi.egg-info/PKG-INFO writing dependency_links to curl_cffi.egg-info/dependency_links.txt writing entry points to curl_cffi.egg-info/entry_points.txt writing requirements to curl_cffi.egg-info/requires.txt writing top-level names to curl_cffi.egg-info/top_level.txt reading manifest file 'curl_cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'include/curl/*' adding license file 'LICENSE' writing manifest file 'curl_cffi.egg-info/SOURCES.txt' copying curl_cffi/py.typed -> build/lib.linux-x86_64-cpython-314/curl_cffi running build_ext generating cffi module 'build/temp.linux-x86_64-cpython-314/curl_cffi._wrapper.c' creating build/temp.linux-x86_64-cpython-314 building 'curl_cffi._wrapper' extension creating build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314 creating build/temp.linux-x86_64-cpython-314/ffi gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -Iinclude -Iffi -Itmplibdir/include -I/nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7/include/python3.14 -c build/temp.linux-x86_64-cpython-314/curl_cffi._wrapper.c -o build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314/curl_cffi._wrapper.o gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -Iinclude -Iffi -Itmplibdir/include -I/nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7/include/python3.14 -c ffi/shim.c -o build/temp.linux-x86_64-cpython-314/ffi/shim.o gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.7.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-util-linux-minimal-2.42.2-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.6/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.8.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.6.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.53.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.8.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zstd-1.5.7/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bluez-headers-5.87/lib -L/nix/store/vlgjd2179ahfh509p1aid8fl22bw8ri3-tzdata-2026c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.26-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.3p3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.7.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-util-linux-minimal-2.42.2-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.6/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.8.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.6.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.53.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.8.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zstd-1.5.7/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bluez-headers-5.87/lib -L/nix/store/vlgjd2179ahfh509p1aid8fl22bw8ri3-tzdata-2026c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.26-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.3p3/lib build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314/curl_cffi._wrapper.o build/temp.linux-x86_64-cpython-314/ffi/shim.o -Ltmplibdir -L/nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7/lib -lcurl-impersonate -o build/lib.linux-x86_64-cpython-314/curl_cffi/_wrapper.abi3.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/utils.py -> build/bdist.linux-x86_64/wheel/./curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/curl.py -> build/bdist.linux-x86_64/wheel/./curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/_wrapper.abi3.so -> build/bdist.linux-x86_64/wheel/./curl_cffi creating build/bdist.linux-x86_64/wheel/curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/utils.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/websockets.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/headers.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/models.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/exceptions.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/session.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/impersonate.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/errors.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/__init__.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/requests/cookies.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/requests copying build/lib.linux-x86_64-cpython-314/curl_cffi/aio.py -> build/bdist.linux-x86_64/wheel/./curl_cffi creating build/bdist.linux-x86_64/wheel/curl_cffi/cli copying build/lib.linux-x86_64-cpython-314/curl_cffi/cli/output.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/cli copying build/lib.linux-x86_64-cpython-314/curl_cffi/cli/doctor.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/cli copying build/lib.linux-x86_64-cpython-314/curl_cffi/cli/parse.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/cli copying build/lib.linux-x86_64-cpython-314/curl_cffi/cli/run.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/cli copying build/lib.linux-x86_64-cpython-314/curl_cffi/cli/__init__.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/cli copying build/lib.linux-x86_64-cpython-314/curl_cffi/cli/request.py -> build/bdist.linux-x86_64/wheel/./curl_cffi/cli copying build/lib.linux-x86_64-cpython-314/curl_cffi/_asyncio_selector.py -> build/bdist.linux-x86_64/wheel/./curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/py.typed -> build/bdist.linux-x86_64/wheel/./curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/__main__.py -> build/bdist.linux-x86_64/wheel/./curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/__init__.py -> build/bdist.linux-x86_64/wheel/./curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/const.py -> build/bdist.linux-x86_64/wheel/./curl_cffi copying build/lib.linux-x86_64-cpython-314/curl_cffi/__version__.py -> build/bdist.linux-x86_64/wheel/./curl_cffi running install_egg_info Copying curl_cffi.egg-info to build/bdist.linux-x86_64/wheel/./curl_cffi-0.15.0-py3.14.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/curl_cffi-0.15.0.dist-info/WHEEL creating '/build/source/dist/.tmp-gcic4zwj/curl_cffi-0.15.0-cp310-abi3-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'curl_cffi/__init__.py' adding 'curl_cffi/__main__.py' adding 'curl_cffi/__version__.py' adding 'curl_cffi/_asyncio_selector.py' adding 'curl_cffi/_wrapper.abi3.so' adding 'curl_cffi/aio.py' adding 'curl_cffi/const.py' adding 'curl_cffi/curl.py' adding 'curl_cffi/py.typed' adding 'curl_cffi/utils.py' adding 'curl_cffi/cli/__init__.py' adding 'curl_cffi/cli/doctor.py' adding 'curl_cffi/cli/output.py' adding 'curl_cffi/cli/parse.py' adding 'curl_cffi/cli/request.py' adding 'curl_cffi/cli/run.py' adding 'curl_cffi/requests/__init__.py' adding 'curl_cffi/requests/cookies.py' adding 'curl_cffi/requests/errors.py' adding 'curl_cffi/requests/exceptions.py' adding 'curl_cffi/requests/headers.py' adding 'curl_cffi/requests/impersonate.py' adding 'curl_cffi/requests/models.py' adding 'curl_cffi/requests/session.py' adding 'curl_cffi/requests/utils.py' adding 'curl_cffi/requests/websockets.py' adding 'curl_cffi-0.15.0.dist-info/licenses/LICENSE' adding 'curl_cffi-0.15.0.dist-info/METADATA' adding 'curl_cffi-0.15.0.dist-info/WHEEL' adding 'curl_cffi-0.15.0.dist-info/entry_points.txt' adding 'curl_cffi-0.15.0.dist-info/top_level.txt' adding 'curl_cffi-0.15.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built curl_cffi-0.15.0-cp310-abi3-linux_x86_64.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for curl_cffi-0.15.0-cp310-abi3-linux_x86_64.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed curl_cffi-0.15.0-cp310-abi3-linux_x86_64.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0 shrinking /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0/lib/python3.14/site-packages/curl_cffi/_wrapper.abi3.so checking for references to /build/ in /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0... patching script interpreter paths in /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0 stripping (with command strip and flags -S -p) in /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0/lib /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0/bin shrinking RPATHs of ELF executables and libraries in /nix/store/dh3dk3g6sm6g9xkaybpqqxdd8dhm6mpq-python3.14-curl-cffi-0.15.0-dist checking for references to /build/ in /nix/store/dh3dk3g6sm6g9xkaybpqqxdd8dhm6mpq-python3.14-curl-cffi-0.15.0-dist... patching script interpreter paths in /nix/store/dh3dk3g6sm6g9xkaybpqqxdd8dhm6mpq-python3.14-curl-cffi-0.15.0-dist Rewriting #!/nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7/bin/python3.14 to #!/nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7 wrapping `/nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0/bin/curl-cffi'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: curl_cffi Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest tests/unittest --deselect=tests/unittest/test_smoke.py::test_async --deselect=tests/unittest/test_websockets.py::test_websocket --deselect=tests/unittest/test_websockets.py::test_receive_large_messages_run_forever --deselect=tests/unittest/test_websockets.py::on_message --deselect=tests/unittest/test_websockets.py::test_on_data_callback --deselect=tests/unittest/test_websockets.py::test_hello_twice_async -k not\ \(test_impersonate_without_version\)\ and\ not\ \(test_with_impersonate\)\ and\ not\ \(test_cli\)\ and\ not\ \(test_update_params\)\ and\ not\ \(test_add_handle\)\ and\ not\ \(test_socket_action\)\ and\ not\ \(test_without_impersonate\) ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml plugins: anyio-4.14.2, Faker-40.28.1, hypothesis-6.156.1, asyncio-1.4.0, trio-0.8.0 asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 417 items / 24 deselected / 393 selected tests/unittest/cli/test_output.py .................... [ 5%] tests/unittest/cli/test_parse.py ....................... [ 10%] tests/unittest/cli/test_run.py ............................... [ 18%] tests/unittest/test_async.py .. [ 19%] tests/unittest/test_async_session.py .................F..............s.. [ 28%] ........ [ 30%] tests/unittest/test_async_websockets.py ...............s..............s. [ 38%] ........s.......s....................................................... [ 56%] ....... [ 58%] tests/unittest/test_cookies.py ...... [ 60%] tests/unittest/test_curl.py ..................F................ [ 68%] tests/unittest/test_headers.py ........ [ 70%] tests/unittest/test_impersonate.py ...sssssssssssssss [ 75%] tests/unittest/test_requests.py ........................................ [ 85%] F..............F..........................ss..... [ 98%] tests/unittest/test_upload.py .... [ 99%] tests/unittest/test_websockets.py ... [100%] =================================== FAILURES =================================== _________________________________ test_verify __________________________________ https_server = async def test_verify(https_server): async with AsyncSession() as s: > with pytest.raises(RequestsError, match="SSL certificate problem"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: Regex pattern did not match. E Expected regex: 'SSL certificate problem' E Actual message: "Failed to perform, curl: (60) SSL: no alternative certificate subject name matches target ipv4 address '127.0.0.1'. See https://curl.se/libcurl/c/libcurl-errors.html first for more details." tests/unittest/test_async_session.py:194: AssertionError ---------------------------- Captured stderr setup ----------------------------- INFO: Started server process [385] INFO: Uvicorn running on https://127.0.0.1:8001 (Press CTRL+C to quit) _________________________________ test_verify __________________________________ https_server = def test_verify(https_server): c = Curl() url = str(https_server.url) c.setopt(CurlOpt.URL, url.encode()) > with pytest.raises(CurlError, match="SSL certificate problem"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: Regex pattern did not match. E Expected regex: 'SSL certificate problem' E Actual message: "Failed to perform, curl: (60) SSL: no alternative certificate subject name matches target ipv4 address '127.0.0.1'. See https://curl.se/libcurl/c/libcurl-errors.html first for more details." tests/unittest/test_curl.py:260: AssertionError _________________________________ test_verify __________________________________ https_server = def test_verify(https_server): > with pytest.raises(requests.RequestsError, match="SSL certificate problem"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: Regex pattern did not match. E Expected regex: 'SSL certificate problem' E Actual message: "Failed to perform, curl: (60) SSL: no alternative certificate subject name matches target ipv4 address '127.0.0.1'. See https://curl.se/libcurl/c/libcurl-errors.html first for more details." tests/unittest/test_requests.py:502: AssertionError _____________________________ test_delete_cookies ______________________________ server = def test_delete_cookies(server): s = requests.Session() s.get(str(server.url.copy_with(path="/set_cookies"))) assert s.cookies["foo"] == "bar" s.get(str(server.url.copy_with(path="/delete_cookies"))) > assert not s.cookies.get("foo") E AssertionError: assert not 'bar' E + where 'bar' = get('foo') E + where get = ]>.get E + where ]> = .cookies tests/unittest/test_requests.py:675: AssertionError ----------------------------- Captured stdout call ----------------------------- scope_path: /set_cookies INFO: 127.0.0.1:52290 - "GET /set_cookies HTTP/1.1" 200 OK scope_path: /delete_cookies INFO: 127.0.0.1:52290 - "GET /delete_cookies HTTP/1.1" 200 OK ------------------------------ Captured log call ------------------------------- INFO uvicorn.access:h11_impl.py:482 127.0.0.1:52290 - "GET /set_cookies HTTP/1.1" 200 INFO uvicorn.access:h11_impl.py:482 127.0.0.1:52290 - "GET /delete_cookies HTTP/1.1" 200 =============================== warnings summary =============================== tests/unittest/test_requests.py::test_verify_false_skips_cainfo /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0/lib/python3.14/site-packages/curl_cffi/requests/session.py:631: CurlCffiWarning: Creating fresh curl handle in different thread. c = self.curl tests/unittest/test_requests.py::test_verify_false_skips_cainfo /nix/store/rcdaipv92nqwipc0k7bv5sr3wki3y5wn-python3.14-curl-cffi-0.15.0/lib/python3.14/site-packages/curl_cffi/requests/session.py:515: CurlCffiWarning: Creating fresh curl handle in different thread. self.curl.close() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/unittest/test_async_session.py::test_verify - AssertionError: Regex pattern did not match. Expected regex: 'SSL certificate problem' Actual message: "Failed to perform, curl: (60) SSL: no alternative certificate subject name matches target ipv4 address '127.0.0.1'. See https://curl.se/libcurl/c/libcurl-errors.html first for more details." FAILED tests/unittest/test_curl.py::test_verify - AssertionError: Regex pattern did not match. Expected regex: 'SSL certificate problem' Actual message: "Failed to perform, curl: (60) SSL: no alternative certificate subject name matches target ipv4 address '127.0.0.1'. See https://curl.se/libcurl/c/libcurl-errors.html first for more details." FAILED tests/unittest/test_requests.py::test_verify - AssertionError: Regex pattern did not match. Expected regex: 'SSL certificate problem' Actual message: "Failed to perform, curl: (60) SSL: no alternative certificate subject name matches target ipv4 address '127.0.0.1'. See https://curl.se/libcurl/c/libcurl-errors.html first for more details." FAILED tests/unittest/test_requests.py::test_delete_cookies - AssertionError: assert not 'bar' + where 'bar' = get('foo') + where get = ]>.get + where ]> = .cookies ==== 4 failed, 367 passed, 22 skipped, 24 deselected, 2 warnings in 23.78s ===== INFO - 2026-08-21 01:05:36,186 - websockets.server - server - server closed Hello, world!Hello, world!Hello, world!Hello, world!Redirecting...Hello, world!Hello, world!Hello, world!Hello, world!Hello, world!Hello, world!Hello, world!Hello, world!