* Package: dev-python/httpx-0.18.1  * Repository: gentoo  * Maintainer: python@gentoo.org  * Upstream: https://github.com/encode/httpx/issues  * USE: abi_ppc_64 elibc_glibc kernel_linux ppc64 python_targets_python3_9 test userland_GNU  * FEATURES: preserve-libs sandbox test >>> Unpacking source... >>> Unpacking httpx-0.18.1.tar.gz to /var/tmp/portage/dev-python/httpx-0.18.1/work >>> Source unpacked in /var/tmp/portage/dev-python/httpx-0.18.1/work >>> Preparing source in /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 16 running build running build_py creating /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/__init__.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_decoders.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_content.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_auth.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_types.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_client.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/__version__.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_status_codes.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_api.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_models.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_exceptions.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_config.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_compat.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_utils.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx copying httpx/_multipart.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx creating /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx/_transports copying httpx/_transports/__init__.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx/_transports copying httpx/_transports/asgi.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx/_transports copying httpx/_transports/wsgi.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx/_transports copying httpx/_transports/base.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx/_transports copying httpx/_transports/default.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx/_transports copying httpx/_transports/mock.py -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx/_transports running egg_info creating httpx.egg-info writing httpx.egg-info/PKG-INFO writing dependency_links to httpx.egg-info/dependency_links.txt writing requirements to httpx.egg-info/requires.txt writing top-level names to httpx.egg-info/top_level.txt writing manifest file 'httpx.egg-info/SOURCES.txt' reading manifest file 'httpx.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.md' writing manifest file 'httpx.egg-info/SOURCES.txt' copying httpx/py.typed -> /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1-python3_9/lib/httpx warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/httpx-0.18.1 * python3_9: running distutils-r1_run_phase python_test python3.9 -m pytest -vv -ra -l -Wdefault --deselect tests/client/test_proxies.py::test_async_proxy_close --deselect tests/client/test_proxies.py::test_sync_proxy_close ========================================= test session starts ========================================== platform linux -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.9 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1, configfile: setup.cfg plugins: pkgcore-0.12.1, asyncio-0.15.1 collecting ... collected 644 items / 2 deselected / 642 selected tests/test_api.py::test_get PASSED [ 0%] tests/test_api.py::test_post PASSED [ 0%] tests/test_api.py::test_post_byte_iterator PASSED [ 0%] tests/test_api.py::test_options PASSED [ 0%] tests/test_api.py::test_head PASSED [ 0%] tests/test_api.py::test_put PASSED [ 0%] tests/test_api.py::test_patch PASSED [ 1%] tests/test_api.py::test_delete PASSED [ 1%] tests/test_api.py::test_stream PASSED [ 1%] tests/test_api.py::test_get_invalid_url PASSED [ 1%] tests/test_asgi.py::test_asgi_transport[asyncio] PASSED [ 1%] tests/test_asgi.py::test_asgi_transport[trio] SKIPPED (async def function and no async plugi...) [ 1%] tests/test_asgi.py::test_asgi_transport_no_body[asyncio] PASSED [ 2%] tests/test_asgi.py::test_asgi_transport_no_body[trio] SKIPPED (async def function and no asy...) [ 2%] tests/test_asgi.py::test_asgi[asyncio] PASSED [ 2%] tests/test_asgi.py::test_asgi[trio] SKIPPED (async def function and no async plugin installe...) [ 2%] tests/test_asgi.py::test_asgi_urlencoded_path[asyncio] PASSED [ 2%] tests/test_asgi.py::test_asgi_urlencoded_path[trio] SKIPPED (async def function and no async...) [ 2%] tests/test_asgi.py::test_asgi_raw_path[asyncio] PASSED [ 2%] tests/test_asgi.py::test_asgi_raw_path[trio] SKIPPED (async def function and no async plugin...) [ 3%] tests/test_asgi.py::test_asgi_upload[asyncio] PASSED [ 3%] tests/test_asgi.py::test_asgi_upload[trio] SKIPPED (async def function and no async plugin i...) [ 3%] tests/test_asgi.py::test_asgi_headers[asyncio] PASSED [ 3%] tests/test_asgi.py::test_asgi_headers[trio] SKIPPED (async def function and no async plugin ...) [ 3%] tests/test_asgi.py::test_asgi_exc[asyncio] PASSED [ 3%] tests/test_asgi.py::test_asgi_exc[trio] SKIPPED (async def function and no async plugin inst...) [ 4%] tests/test_asgi.py::test_asgi_exc_after_response[asyncio] PASSED [ 4%] tests/test_asgi.py::test_asgi_exc_after_response[trio] SKIPPED (async def function and no as...) [ 4%] tests/test_asgi.py::test_asgi_disconnect_after_response_complete[asyncio] PASSED [ 4%] tests/test_asgi.py::test_asgi_disconnect_after_response_complete[trio] SKIPPED (async def fu...) [ 4%] tests/test_auth.py::test_basic_auth PASSED [ 4%] tests/test_auth.py::test_digest_auth_with_200 PASSED [ 4%] tests/test_auth.py::test_digest_auth_with_401 PASSED [ 5%] tests/test_config.py::test_load_ssl_config PASSED [ 5%] tests/test_config.py::test_load_ssl_config_verify_non_existing_path PASSED [ 5%] tests/test_config.py::test_load_ssl_config_verify_existing_file PASSED [ 5%] tests/test_config.py::test_load_ssl_config_verify_env_file[SSL_CERT_FILE] PASSED [ 5%] tests/test_config.py::test_load_ssl_config_verify_env_file[SSL_CERT_DIR] PASSED [ 5%] tests/test_config.py::test_load_ssl_config_verify_directory PASSED [ 6%] tests/test_config.py::test_load_ssl_config_cert_and_key PASSED [ 6%] tests/test_config.py::test_load_ssl_config_cert_and_encrypted_key[password0] PASSED [ 6%] tests/test_config.py::test_load_ssl_config_cert_and_encrypted_key[password1] PASSED [ 6%] tests/test_config.py::test_load_ssl_config_cert_and_key_invalid_password PASSED [ 6%] tests/test_config.py::test_load_ssl_config_cert_without_key_raises PASSED [ 6%] tests/test_config.py::test_load_ssl_config_no_verify PASSED [ 7%] tests/test_config.py::test_load_ssl_context PASSED [ 7%] tests/test_config.py::test_create_ssl_context_with_get_request PASSED [ 7%] tests/test_config.py::test_limits_repr PASSED [ 7%] tests/test_config.py::test_limits_eq PASSED [ 7%] tests/test_config.py::test_timeout_eq PASSED [ 7%] tests/test_config.py::test_timeout_all_parameters_set PASSED [ 7%] tests/test_config.py::test_timeout_from_nothing PASSED [ 8%] tests/test_config.py::test_timeout_from_none PASSED [ 8%] tests/test_config.py::test_timeout_from_one_none_value PASSED [ 8%] tests/test_config.py::test_timeout_from_one_value PASSED [ 8%] tests/test_config.py::test_timeout_from_one_value_and_default PASSED [ 8%] tests/test_config.py::test_timeout_missing_default PASSED [ 8%] tests/test_config.py::test_timeout_from_tuple PASSED [ 9%] tests/test_config.py::test_timeout_from_config_instance PASSED [ 9%] tests/test_config.py::test_timeout_repr PASSED [ 9%] tests/test_config.py::test_ssl_config_support_for_keylog_file PASSED [ 9%] tests/test_config.py::test_proxy_from_url[https://example.com-https://example.com-expected_headers0-DEFAULT] PASSED [ 9%] tests/test_config.py::test_proxy_from_url[https://user:pass@example.com-https://example.com-expected_headers1-DEFAULT] PASSED [ 9%] tests/test_config.py::test_invalid_proxy_scheme PASSED [ 9%] tests/test_config.py::test_invalid_proxy_mode PASSED [ 10%] tests/test_content.py::test_empty_content PASSED [ 10%] tests/test_content.py::test_bytes_content PASSED [ 10%] tests/test_content.py::test_iterator_content PASSED [ 10%] tests/test_content.py::test_aiterator_content PASSED [ 10%] tests/test_content.py::test_json_content PASSED [ 10%] tests/test_content.py::test_urlencoded_content PASSED [ 11%] tests/test_content.py::test_urlencoded_boolean PASSED [ 11%] tests/test_content.py::test_urlencoded_none PASSED [ 11%] tests/test_content.py::test_urlencoded_list PASSED [ 11%] tests/test_content.py::test_multipart_files_content PASSED [ 11%] tests/test_content.py::test_multipart_data_and_files_content PASSED [ 11%] tests/test_content.py::test_empty_request PASSED [ 11%] tests/test_content.py::test_invalid_argument PASSED [ 12%] tests/test_content.py::test_multipart_multiple_files_single_input_content PASSED [ 12%] tests/test_content.py::test_response_empty_content PASSED [ 12%] tests/test_content.py::test_response_bytes_content PASSED [ 12%] tests/test_content.py::test_response_iterator_content PASSED [ 12%] tests/test_content.py::test_response_aiterator_content PASSED [ 12%] tests/test_content.py::test_response_invalid_argument PASSED [ 13%] tests/test_decoders.py::test_deflate PASSED [ 13%] tests/test_decoders.py::test_zlib PASSED [ 13%] tests/test_decoders.py::test_gzip PASSED [ 13%] tests/test_decoders.py::test_brotli PASSED [ 13%] tests/test_decoders.py::test_multi PASSED [ 13%] tests/test_decoders.py::test_multi_with_identity PASSED [ 14%] tests/test_decoders.py::test_streaming PASSED [ 14%] tests/test_decoders.py::test_empty_content[deflate] PASSED [ 14%] tests/test_decoders.py::test_empty_content[gzip] PASSED [ 14%] tests/test_decoders.py::test_empty_content[br] PASSED [ 14%] tests/test_decoders.py::test_empty_content[identity] PASSED [ 14%] tests/test_decoders.py::test_decoders_empty_cases[BrotliDecoder] PASSED [ 14%] tests/test_decoders.py::test_decoders_empty_cases[DeflateDecoder] PASSED [ 15%] tests/test_decoders.py::test_decoders_empty_cases[GZipDecoder] PASSED [ 15%] tests/test_decoders.py::test_decoders_empty_cases[IdentityDecoder] PASSED [ 15%] tests/test_decoders.py::test_decoding_errors[deflate] PASSED [ 15%] tests/test_decoders.py::test_decoding_errors[gzip] PASSED [ 15%] tests/test_decoders.py::test_decoding_errors[br] PASSED [ 15%] tests/test_decoders.py::test_text_decoder[data0-ascii] PASSED [ 16%] tests/test_decoders.py::test_text_decoder[data1-utf-8] PASSED [ 16%] tests/test_decoders.py::test_text_decoder[data2-cp1252] PASSED [ 16%] tests/test_decoders.py::test_text_decoder[data3-iso-8859-1] PASSED [ 16%] tests/test_decoders.py::test_text_decoder_known_encoding PASSED [ 16%] tests/test_decoders.py::test_text_decoder_empty_cases PASSED [ 16%] tests/test_decoders.py::test_line_decoder_nl PASSED [ 16%] tests/test_decoders.py::test_line_decoder_cr PASSED [ 17%] tests/test_decoders.py::test_line_decoder_crnl PASSED [ 17%] tests/test_decoders.py::test_byte_chunker PASSED [ 17%] tests/test_decoders.py::test_text_chunker PASSED [ 17%] tests/test_decoders.py::test_invalid_content_encoding_header PASSED [ 17%] tests/test_exceptions.py::test_httpcore_all_exceptions_mapped PASSED [ 17%] tests/test_exceptions.py::test_httpcore_exception_mapping PASSED [ 18%] tests/test_exceptions.py::test_httpx_exceptions_exposed PASSED [ 18%] tests/test_exceptions.py::test_request_attribute PASSED [ 18%] tests/test_exported_members.py::test_all_imports_are_exported PASSED [ 18%] tests/test_multipart.py::test_multipart[abc-abc0] PASSED [ 18%] tests/test_multipart.py::test_multipart[abc-abc1] PASSED [ 18%] tests/test_multipart.py::test_multipart_invalid_key[abc] PASSED [ 19%] tests/test_multipart.py::test_multipart_invalid_key[1] PASSED [ 19%] tests/test_multipart.py::test_multipart_invalid_key[2.3] PASSED [ 19%] tests/test_multipart.py::test_multipart_invalid_key[None] PASSED [ 19%] tests/test_multipart.py::test_multipart_invalid_value[value0] PASSED [ 19%] tests/test_multipart.py::test_multipart_invalid_value[value1] PASSED [ 19%] tests/test_multipart.py::test_multipart_file_tuple PASSED [ 19%] tests/test_multipart.py::test_multipart_encode PASSED [ 20%] tests/test_multipart.py::test_multipart_encode_unicode_file_contents PASSED [ 20%] tests/test_multipart.py::test_multipart_encode_files_allows_filenames_as_none PASSED [ 20%] tests/test_multipart.py::test_multipart_encode_files_guesses_correct_content_type[example.json-application/json] PASSED [ 20%] tests/test_multipart.py::test_multipart_encode_files_guesses_correct_content_type[example.txt-text/plain] PASSED [ 20%] tests/test_multipart.py::test_multipart_encode_files_guesses_correct_content_type[no-extension-application/octet-stream] PASSED [ 20%] tests/test_multipart.py::test_multipart_encode_files_allows_bytes_or_str_content[-] PASSED [ 21%] tests/test_multipart.py::test_multipart_encode_files_allows_bytes_or_str_content[-] PASSED [ 21%] tests/test_multipart.py::test_multipart_encode_non_seekable_filelike PASSED [ 21%] tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_unicode PASSED [ 21%] tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_ascii PASSED [ 21%] tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_unicode_escape PASSED [ 21%] tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_unicode_with_control_character PASSED [ 21%] tests/test_status_codes.py::test_status_code_as_int PASSED [ 22%] tests/test_status_codes.py::test_status_code_value_lookup PASSED [ 22%] tests/test_status_codes.py::test_status_code_phrase_lookup PASSED [ 22%] tests/test_status_codes.py::test_lowercase_status_code PASSED [ 22%] tests/test_status_codes.py::test_reason_phrase_for_status_code PASSED [ 22%] tests/test_status_codes.py::test_reason_phrase_for_unknown_status_code PASSED [ 22%] tests/test_timeouts.py::test_read_timeout[asyncio] PASSED [ 23%] tests/test_timeouts.py::test_read_timeout[trio] SKIPPED (async def function and no async plu...) [ 23%] tests/test_timeouts.py::test_write_timeout[asyncio] PASSED [ 23%] tests/test_timeouts.py::test_write_timeout[trio] SKIPPED (async def function and no async pl...) [ 23%] tests/test_timeouts.py::test_connect_timeout[asyncio] PASSED [ 23%] tests/test_timeouts.py::test_connect_timeout[trio] SKIPPED (async def function and no async ...) [ 23%] tests/test_timeouts.py::test_pool_timeout[asyncio] PASSED [ 23%] tests/test_timeouts.py::test_pool_timeout[trio] SKIPPED (async def function and no async plu...) [ 24%] tests/test_utils.py::test_encoded[utf-32] PASSED [ 24%] tests/test_utils.py::test_encoded[utf-8-sig] PASSED [ 24%] tests/test_utils.py::test_encoded[utf-16] PASSED [ 24%] tests/test_utils.py::test_encoded[utf-8] PASSED [ 24%] tests/test_utils.py::test_encoded[utf-16-be] PASSED [ 24%] tests/test_utils.py::test_encoded[utf-16-le] PASSED [ 25%] tests/test_utils.py::test_encoded[utf-32-be] PASSED [ 25%] tests/test_utils.py::test_encoded[utf-32-le] PASSED [ 25%] tests/test_utils.py::test_bad_utf_like_encoding PASSED [ 25%] tests/test_utils.py::test_guess_by_bom[utf-16-be-utf-16] PASSED [ 25%] tests/test_utils.py::test_guess_by_bom[utf-16-le-utf-16] PASSED [ 25%] tests/test_utils.py::test_guess_by_bom[utf-32-be-utf-32] PASSED [ 26%] tests/test_utils.py::test_guess_by_bom[utf-32-le-utf-32] PASSED [ 26%] tests/test_utils.py::test_bad_get_netrc_login PASSED [ 26%] tests/test_utils.py::test_get_netrc_login PASSED [ 26%] tests/test_utils.py::test_get_netrc_unknown PASSED [ 26%] tests/test_utils.py::test_parse_header_links[; rel=front; type="image/jpeg"-expected0] PASSED [ 26%] tests/test_utils.py::test_parse_header_links[-expected1] PASSED [ 26%] tests/test_utils.py::test_parse_header_links[;-expected2] PASSED [ 27%] tests/test_utils.py::test_parse_header_links[; type="image/jpeg",;-expected3] PASSED [ 27%] tests/test_utils.py::test_parse_header_links[-expected4] PASSED [ 27%] tests/test_utils.py::test_logs_debug PASSED [ 27%] tests/test_utils.py::test_logs_trace PASSED [ 27%] tests/test_utils.py::test_logs_redirect_chain PASSED [ 27%] tests/test_utils.py::test_get_ssl_cert_file PASSED [ 28%] tests/test_utils.py::test_get_environment_proxies[environment0-proxies0] PASSED [ 28%] tests/test_utils.py::test_get_environment_proxies[environment1-proxies1] PASSED [ 28%] tests/test_utils.py::test_get_environment_proxies[environment2-proxies2] PASSED [ 28%] tests/test_utils.py::test_get_environment_proxies[environment3-proxies3] PASSED [ 28%] tests/test_utils.py::test_get_environment_proxies[environment4-proxies4] PASSED [ 28%] tests/test_utils.py::test_obfuscate_sensitive_headers[headers0-output0] PASSED [ 28%] tests/test_utils.py::test_obfuscate_sensitive_headers[headers1-output1] PASSED [ 29%] tests/test_utils.py::test_obfuscate_sensitive_headers[headers2-output2] PASSED [ 29%] tests/test_utils.py::test_same_origin PASSED [ 29%] tests/test_utils.py::test_not_same_origin PASSED [ 29%] tests/test_utils.py::test_url_matches[http://example.com-http://example.com-True] PASSED [ 29%] tests/test_utils.py::test_url_matches[http://example.com-https://example.com-False] PASSED [ 29%] tests/test_utils.py::test_url_matches[http://example.com-http://other.com-False] PASSED [ 30%] tests/test_utils.py::test_url_matches[http://example.com:123-http://example.com:123-True] PASSED [ 30%] tests/test_utils.py::test_url_matches[http://example.com:123-http://example.com:456-False] PASSED [ 30%] tests/test_utils.py::test_url_matches[http://example.com:123-http://example.com-False] PASSED [ 30%] tests/test_utils.py::test_url_matches[all://example.com-http://example.com-True] PASSED [ 30%] tests/test_utils.py::test_url_matches[all://example.com-https://example.com-True] PASSED [ 30%] tests/test_utils.py::test_url_matches[http://-http://example.com-True] PASSED [ 30%] tests/test_utils.py::test_url_matches[http://-https://example.com-False] PASSED [ 31%] tests/test_utils.py::test_url_matches[all://-https://example.com:123-True] PASSED [ 31%] tests/test_utils.py::test_url_matches[-https://example.com:123-True] PASSED [ 31%] tests/test_utils.py::test_pattern_priority PASSED [ 31%] tests/test_wsgi.py::test_wsgi PASSED [ 31%] tests/test_wsgi.py::test_wsgi_upload PASSED [ 31%] tests/test_wsgi.py::test_wsgi_upload_with_response_stream PASSED [ 32%] tests/test_wsgi.py::test_wsgi_exc PASSED [ 32%] tests/test_wsgi.py::test_wsgi_http_error PASSED [ 32%] tests/test_wsgi.py::test_wsgi_generator PASSED [ 32%] tests/test_wsgi.py::test_wsgi_generator_empty PASSED [ 32%] tests/test_wsgi.py::test_wsgi_server_port[auto-http] PASSED [ 32%] tests/test_wsgi.py::test_wsgi_server_port[auto-https] PASSED [ 33%] tests/test_wsgi.py::test_wsgi_server_port[explicit-port] PASSED [ 33%] tests/client/test_async_client.py::test_get[asyncio] PASSED [ 33%] tests/client/test_async_client.py::test_get[trio] SKIPPED (async def function and no async p...) [ 33%] tests/client/test_async_client.py::test_get_invalid_url[asyncio-scheme-not-http(s)] PASSED [ 33%] tests/client/test_async_client.py::test_get_invalid_url[asyncio-no-scheme] PASSED [ 33%] tests/client/test_async_client.py::test_get_invalid_url[asyncio-no-host] PASSED [ 33%] tests/client/test_async_client.py::test_get_invalid_url[trio-scheme-not-http(s)] SKIPPED (as...) [ 34%] tests/client/test_async_client.py::test_get_invalid_url[trio-no-scheme] SKIPPED (async def f...) [ 34%] tests/client/test_async_client.py::test_get_invalid_url[trio-no-host] SKIPPED (async def fun...) [ 34%] tests/client/test_async_client.py::test_build_request[asyncio] PASSED [ 34%] tests/client/test_async_client.py::test_build_request[trio] SKIPPED (async def function and ...) [ 34%] tests/client/test_async_client.py::test_post[asyncio] PASSED [ 34%] tests/client/test_async_client.py::test_post[trio] SKIPPED (async def function and no async ...) [ 35%] tests/client/test_async_client.py::test_post_json[asyncio] PASSED [ 35%] tests/client/test_async_client.py::test_post_json[trio] SKIPPED (async def function and no a...) [ 35%] tests/client/test_async_client.py::test_stream_response[asyncio] PASSED [ 35%] tests/client/test_async_client.py::test_stream_response[trio] SKIPPED (async def function an...) [ 35%] tests/client/test_async_client.py::test_access_content_stream_response[asyncio] PASSED [ 35%] tests/client/test_async_client.py::test_access_content_stream_response[trio] SKIPPED (async ...) [ 35%] tests/client/test_async_client.py::test_stream_request[asyncio] PASSED [ 36%] tests/client/test_async_client.py::test_stream_request[trio] SKIPPED (async def function and...) [ 36%] tests/client/test_async_client.py::test_cannot_stream_sync_request[asyncio] PASSED [ 36%] tests/client/test_async_client.py::test_cannot_stream_sync_request[trio] SKIPPED (async def ...) [ 36%] tests/client/test_async_client.py::test_raise_for_status[asyncio] PASSED [ 36%] tests/client/test_async_client.py::test_raise_for_status[trio] SKIPPED (async def function a...) [ 36%] tests/client/test_async_client.py::test_options[asyncio] PASSED [ 37%] tests/client/test_async_client.py::test_options[trio] SKIPPED (async def function and no asy...) [ 37%] tests/client/test_async_client.py::test_head[asyncio] PASSED [ 37%] tests/client/test_async_client.py::test_head[trio] SKIPPED (async def function and no async ...) [ 37%] tests/client/test_async_client.py::test_put[asyncio] PASSED [ 37%] tests/client/test_async_client.py::test_put[trio] SKIPPED (async def function and no async p...) [ 37%] tests/client/test_async_client.py::test_patch[asyncio] PASSED [ 38%] tests/client/test_async_client.py::test_patch[trio] SKIPPED (async def function and no async...) [ 38%] tests/client/test_async_client.py::test_delete[asyncio] PASSED [ 38%] tests/client/test_async_client.py::test_delete[trio] SKIPPED (async def function and no asyn...) [ 38%] tests/client/test_async_client.py::test_100_continue[asyncio] PASSED [ 38%] tests/client/test_async_client.py::test_100_continue[trio] SKIPPED (async def function and n...) [ 38%] tests/client/test_async_client.py::test_context_managed_transport[asyncio] PASSED [ 38%] tests/client/test_async_client.py::test_context_managed_transport[trio] SKIPPED (async def f...) [ 39%] tests/client/test_async_client.py::test_context_managed_transport_and_mount[asyncio] PASSED [ 39%] tests/client/test_async_client.py::test_context_managed_transport_and_mount[trio] SKIPPED (a...) [ 39%] tests/client/test_async_client.py::test_client_closed_state_using_implicit_open[asyncio] PASSED [ 39%] tests/client/test_async_client.py::test_client_closed_state_using_implicit_open[trio] SKIPPED [ 39%] tests/client/test_async_client.py::test_client_closed_state_using_with_block[asyncio] PASSED [ 39%] tests/client/test_async_client.py::test_client_closed_state_using_with_block[trio] SKIPPED (...) [ 40%] tests/client/test_async_client.py::test_deleting_unclosed_async_client_causes_warning[asyncio] PASSED [ 40%] tests/client/test_async_client.py::test_deleting_unclosed_async_client_causes_warning[trio] SKIPPED [ 40%] tests/client/test_async_client.py::test_mounted_transport[asyncio] PASSED [ 40%] tests/client/test_async_client.py::test_mounted_transport[trio] SKIPPED (async def function ...) [ 40%] tests/client/test_async_client.py::test_async_mock_transport[asyncio] PASSED [ 40%] tests/client/test_async_client.py::test_async_mock_transport[trio] SKIPPED (async def functi...) [ 40%] tests/client/test_async_client.py::test_server_extensions[asyncio] PASSED [ 41%] tests/client/test_async_client.py::test_server_extensions[trio] SKIPPED (async def function ...) [ 41%] tests/client/test_auth.py::test_basic_auth PASSED [ 41%] tests/client/test_auth.py::test_basic_auth_with_stream PASSED [ 41%] tests/client/test_auth.py::test_basic_auth_in_url PASSED [ 41%] tests/client/test_auth.py::test_basic_auth_on_session PASSED [ 41%] tests/client/test_auth.py::test_custom_auth PASSED [ 42%] tests/client/test_auth.py::test_netrc_auth PASSED [ 42%] tests/client/test_auth.py::test_auth_header_has_priority_over_netrc PASSED [ 42%] tests/client/test_auth.py::test_trust_env_auth PASSED [ 42%] tests/client/test_auth.py::test_auth_disable_per_request PASSED [ 42%] tests/client/test_auth.py::test_auth_hidden_url PASSED [ 42%] tests/client/test_auth.py::test_auth_hidden_header PASSED [ 42%] tests/client/test_auth.py::test_auth_property PASSED [ 43%] tests/client/test_auth.py::test_auth_invalid_type PASSED [ 43%] tests/client/test_auth.py::test_digest_auth_returns_no_auth_if_no_digest_header_in_response PASSED [ 43%] tests/client/test_auth.py::test_digest_auth_returns_no_auth_if_alternate_auth_scheme PASSED [ 43%] tests/client/test_auth.py::test_digest_auth_200_response_including_digest_auth_header PASSED [ 43%] tests/client/test_auth.py::test_digest_auth_401_response_without_digest_auth_header PASSED [ 43%] tests/client/test_auth.py::test_digest_auth[MD5-64-32] PASSED [ 44%] tests/client/test_auth.py::test_digest_auth[MD5-SESS-64-32] PASSED [ 44%] tests/client/test_auth.py::test_digest_auth[SHA-64-40] PASSED [ 44%] tests/client/test_auth.py::test_digest_auth[SHA-SESS-64-40] PASSED [ 44%] tests/client/test_auth.py::test_digest_auth[SHA-256-64-64] PASSED [ 44%] tests/client/test_auth.py::test_digest_auth[SHA-256-SESS-64-64] PASSED [ 44%] tests/client/test_auth.py::test_digest_auth[SHA-512-64-128] PASSED [ 45%] tests/client/test_auth.py::test_digest_auth[SHA-512-SESS-64-128] PASSED [ 45%] tests/client/test_auth.py::test_digest_auth_no_specified_qop PASSED [ 45%] tests/client/test_auth.py::test_digest_auth_qop_including_spaces_and_auth_returns_auth[auth, auth-int] PASSED [ 45%] tests/client/test_auth.py::test_digest_auth_qop_including_spaces_and_auth_returns_auth[auth,auth-int] PASSED [ 45%] tests/client/test_auth.py::test_digest_auth_qop_including_spaces_and_auth_returns_auth[unknown,auth] PASSED [ 45%] tests/client/test_auth.py::test_digest_auth_qop_auth_int_not_implemented PASSED [ 45%] tests/client/test_auth.py::test_digest_auth_qop_must_be_auth_or_auth_int PASSED [ 46%] tests/client/test_auth.py::test_digest_auth_incorrect_credentials PASSED [ 46%] tests/client/test_auth.py::test_async_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth"] PASSED [ 46%] tests/client/test_auth.py::test_async_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth,au] PASSED [ 46%] tests/client/test_auth.py::test_sync_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth"] PASSED [ 46%] tests/client/test_auth.py::test_sync_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth,au] PASSED [ 46%] tests/client/test_auth.py::test_async_auth_history PASSED [ 47%] tests/client/test_auth.py::test_sync_auth_history PASSED [ 47%] tests/client/test_auth.py::test_digest_auth_unavailable_streaming_body PASSED [ 47%] tests/client/test_auth.py::test_async_auth_reads_response_body PASSED [ 47%] tests/client/test_auth.py::test_sync_auth_reads_response_body PASSED [ 47%] tests/client/test_auth.py::test_async_auth PASSED [ 47%] tests/client/test_auth.py::test_sync_auth PASSED [ 47%] tests/client/test_client.py::test_get PASSED [ 48%] tests/client/test_client.py::test_get_invalid_url[scheme-not-http(s)] PASSED [ 48%] tests/client/test_client.py::test_get_invalid_url[no-scheme] PASSED [ 48%] tests/client/test_client.py::test_get_invalid_url[no-host] PASSED [ 48%] tests/client/test_client.py::test_build_request PASSED [ 48%] tests/client/test_client.py::test_build_post_request PASSED [ 48%] tests/client/test_client.py::test_post PASSED [ 49%] tests/client/test_client.py::test_post_json PASSED [ 49%] tests/client/test_client.py::test_stream_response PASSED [ 49%] tests/client/test_client.py::test_stream_iterator PASSED [ 49%] tests/client/test_client.py::test_raw_iterator PASSED [ 49%] tests/client/test_client.py::test_cannot_stream_async_request PASSED [ 49%] tests/client/test_client.py::test_raise_for_status PASSED [ 50%] tests/client/test_client.py::test_options PASSED [ 50%] tests/client/test_client.py::test_head PASSED [ 50%] tests/client/test_client.py::test_put PASSED [ 50%] tests/client/test_client.py::test_patch PASSED [ 50%] tests/client/test_client.py::test_delete PASSED [ 50%] tests/client/test_client.py::test_base_url PASSED [ 50%] tests/client/test_client.py::test_merge_absolute_url PASSED [ 51%] tests/client/test_client.py::test_merge_relative_url PASSED [ 51%] tests/client/test_client.py::test_merge_relative_url_with_path PASSED [ 51%] tests/client/test_client.py::test_merge_relative_url_with_dotted_path PASSED [ 51%] tests/client/test_client.py::test_merge_relative_url_with_path_including_colon PASSED [ 51%] tests/client/test_client.py::test_merge_relative_url_with_encoded_slashes PASSED [ 51%] tests/client/test_client.py::test_context_managed_transport PASSED [ 52%] tests/client/test_client.py::test_context_managed_transport_and_mount PASSED [ 52%] tests/client/test_client.py::test_client_closed_state_using_implicit_open PASSED [ 52%] tests/client/test_client.py::test_client_closed_state_using_with_block PASSED [ 52%] tests/client/test_client.py::test_raw_client_header PASSED [ 52%] tests/client/test_client.py::test_mounted_transport PASSED [ 52%] tests/client/test_client.py::test_all_mounted_transport PASSED [ 52%] tests/client/test_client.py::test_server_extensions PASSED [ 53%] tests/client/test_cookies.py::test_set_cookie PASSED [ 53%] tests/client/test_cookies.py::test_set_per_request_cookie_is_deprecated PASSED [ 53%] tests/client/test_cookies.py::test_set_cookie_with_cookiejar PASSED [ 53%] tests/client/test_cookies.py::test_setting_client_cookies_to_cookiejar PASSED [ 53%] tests/client/test_cookies.py::test_set_cookie_with_cookies_model PASSED [ 53%] tests/client/test_cookies.py::test_get_cookie PASSED [ 54%] tests/client/test_cookies.py::test_cookie_persistence PASSED [ 54%] tests/client/test_event_hooks.py::test_event_hooks PASSED [ 54%] tests/client/test_event_hooks.py::test_event_hooks_raising_exception PASSED [ 54%] tests/client/test_event_hooks.py::test_async_event_hooks[asyncio] PASSED [ 54%] tests/client/test_event_hooks.py::test_async_event_hooks[trio] SKIPPED (async def function a...) [ 54%] tests/client/test_event_hooks.py::test_async_event_hooks_raising_exception[asyncio] PASSED [ 54%] tests/client/test_event_hooks.py::test_async_event_hooks_raising_exception[trio] SKIPPED (as...) [ 55%] tests/client/test_event_hooks.py::test_event_hooks_with_redirect PASSED [ 55%] tests/client/test_event_hooks.py::test_async_event_hooks_with_redirect[asyncio] PASSED [ 55%] tests/client/test_event_hooks.py::test_async_event_hooks_with_redirect[trio] SKIPPED (async ...) [ 55%] tests/client/test_headers.py::test_client_header PASSED [ 55%] tests/client/test_headers.py::test_header_merge PASSED [ 55%] tests/client/test_headers.py::test_header_merge_conflicting_headers PASSED [ 56%] tests/client/test_headers.py::test_header_update PASSED [ 56%] tests/client/test_headers.py::test_remove_default_header PASSED [ 56%] tests/client/test_headers.py::test_header_does_not_exist PASSED [ 56%] tests/client/test_headers.py::test_host_with_auth_and_port_in_url PASSED [ 56%] tests/client/test_headers.py::test_host_with_non_default_port_in_url PASSED [ 56%] tests/client/test_headers.py::test_request_auto_headers PASSED [ 57%] tests/client/test_properties.py::test_client_base_url PASSED [ 57%] tests/client/test_properties.py::test_client_base_url_without_trailing_slash PASSED [ 57%] tests/client/test_properties.py::test_client_base_url_with_trailing_slash PASSED [ 57%] tests/client/test_properties.py::test_client_headers PASSED [ 57%] tests/client/test_properties.py::test_client_cookies PASSED [ 57%] tests/client/test_properties.py::test_client_timeout PASSED [ 57%] tests/client/test_properties.py::test_client_event_hooks PASSED [ 58%] tests/client/test_proxies.py::test_proxies_parameter[http://127.0.0.1-expected_proxies0] PASSED [ 58%] tests/client/test_proxies.py::test_proxies_parameter[proxies1-expected_proxies1] PASSED [ 58%] tests/client/test_proxies.py::test_proxies_parameter[proxies2-expected_proxies2] PASSED [ 58%] tests/client/test_proxies.py::test_proxies_parameter[proxies3-expected_proxies3] PASSED [ 58%] tests/client/test_proxies.py::test_proxies_parameter[proxies4-expected_proxies4] PASSED [ 58%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-None-None] PASSED [ 59%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies1-None] PASSED [ 59%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies2-None] PASSED [ 59%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies3-None] PASSED [ 59%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies4-http://[::1]] PASSED [ 59%] tests/client/test_proxies.py::test_transport_for_request[https://example.com-proxies5-None] PASSED [ 59%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies6-http://[::1]] PASSED [ 59%] tests/client/test_proxies.py::test_transport_for_request[http://www.example.com-proxies7-None] PASSED [ 60%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies8-None] PASSED [ 60%] tests/client/test_proxies.py::test_transport_for_request[http://www.example.com-proxies9-http://[::1]] PASSED [ 60%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies10-http://[::1]] PASSED [ 60%] tests/client/test_proxies.py::test_transport_for_request[http://www.example.com-proxies11-http://[::1]] PASSED [ 60%] tests/client/test_proxies.py::test_transport_for_request[http://wwwexample.com-proxies12-None] PASSED [ 60%] tests/client/test_proxies.py::test_transport_for_request[http://example.com:443-proxies13-http://[::1]] PASSED [ 61%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies14-http://[::1]] PASSED [ 61%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies15-None] PASSED [ 61%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies16-http://[::1]] PASSED [ 61%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies17-http://[::1]] PASSED [ 61%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies18-http://[::1]] PASSED [ 61%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies19-http://[::1]] PASSED [ 61%] tests/client/test_proxies.py::test_transport_for_request[http://example.com:8080-proxies20-http://[::1]] PASSED [ 62%] tests/client/test_proxies.py::test_transport_for_request[http://example.com:8080-proxies21-http://[::1]] PASSED [ 62%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies22-http://[::1]:4] PASSED [ 62%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies23-http://[::1]:3] PASSED [ 62%] tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies24-http://[::1]:2] PASSED [ 62%] tests/client/test_proxies.py::test_unsupported_proxy_scheme PASSED [ 62%] tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env0-None] PASSED [ 63%] tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env1-http://example.com] PASSED [ 63%] tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env2-http://example.com] PASSED [ 63%] tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env3-None] PASSED [ 63%] tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env4-http://localhost:123] PASSED [ 63%] tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env5-None] PASSED [ 63%] tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env6-http://localhost:123] PASSED [ 64%] tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env7-http://localhost:123] PASSED [ 64%] tests/client/test_proxies.py::test_proxies_environ[Client-http://courses.mit.edu-env8-None] PASSED [ 64%] tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env9-http://localhost:123] PASSED [ 64%] tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env10-None] PASSED [ 64%] tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env11-None] PASSED [ 64%] tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env12-http://localhost:123] PASSED [ 64%] tests/client/test_proxies.py::test_proxies_environ[Client-https://foo.example.com-env13-http://localhost:123] PASSED [ 65%] tests/client/test_proxies.py::test_proxies_environ[Client-https://www.example1.com-env14-None] PASSED [ 65%] tests/client/test_proxies.py::test_proxies_environ[Client-https://www.example2.com-env15-http://localhost:123] PASSED [ 65%] tests/client/test_proxies.py::test_proxies_environ[Client-https://www.example3.com-env16-None] PASSED [ 65%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env0-None] PASSED [ 65%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env1-http://example.com] PASSED [ 65%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env2-http://example.com] PASSED [ 66%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env3-None] PASSED [ 66%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env4-http://localhost:123] PASSED [ 66%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env5-None] PASSED [ 66%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env6-http://localhost:123] PASSED [ 66%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env7-http://localhost:123] PASSED [ 66%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://courses.mit.edu-env8-None] PASSED [ 66%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env9-http://localhost:123] PASSED [ 67%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env10-None] PASSED [ 67%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env11-None] PASSED [ 67%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env12-http://localhost:123] PASSED [ 67%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://foo.example.com-env13-http://localhost:123] PASSED [ 67%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://www.example1.com-env14-None] PASSED [ 67%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://www.example2.com-env15-http://localhost:123] PASSED [ 68%] tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://www.example3.com-env16-None] PASSED [ 68%] tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies0-False] PASSED [ 68%] tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies1-False] PASSED [ 68%] tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies2-False] PASSED [ 68%] tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies3-True] PASSED [ 68%] tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies4-True] PASSED [ 69%] tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies5-True] PASSED [ 69%] tests/client/test_queryparams.py::test_client_queryparams PASSED [ 69%] tests/client/test_queryparams.py::test_client_queryparams_string PASSED [ 69%] tests/client/test_queryparams.py::test_client_queryparams_echo PASSED [ 69%] tests/client/test_redirects.py::test_redirect_301 PASSED [ 69%] tests/client/test_redirects.py::test_redirect_302 PASSED [ 69%] tests/client/test_redirects.py::test_redirect_303 PASSED [ 70%] tests/client/test_redirects.py::test_next_request PASSED [ 70%] tests/client/test_redirects.py::test_async_next_request[asyncio] PASSED [ 70%] tests/client/test_redirects.py::test_async_next_request[trio] SKIPPED (async def function an...) [ 70%] tests/client/test_redirects.py::test_head_redirect PASSED [ 70%] tests/client/test_redirects.py::test_relative_redirect PASSED [ 70%] tests/client/test_redirects.py::test_malformed_redirect PASSED [ 71%] tests/client/test_redirects.py::test_invalid_redirect PASSED [ 71%] tests/client/test_redirects.py::test_no_scheme_redirect PASSED [ 71%] tests/client/test_redirects.py::test_fragment_redirect PASSED [ 71%] tests/client/test_redirects.py::test_multiple_redirects PASSED [ 71%] tests/client/test_redirects.py::test_async_too_many_redirects[asyncio] PASSED [ 71%] tests/client/test_redirects.py::test_async_too_many_redirects[trio] SKIPPED (async def funct...) [ 71%] tests/client/test_redirects.py::test_sync_too_many_redirects PASSED [ 72%] tests/client/test_redirects.py::test_redirect_loop PASSED [ 72%] tests/client/test_redirects.py::test_cross_domain_redirect_with_auth_header PASSED [ 72%] tests/client/test_redirects.py::test_cross_domain_redirect_with_auth PASSED [ 72%] tests/client/test_redirects.py::test_same_domain_redirect PASSED [ 72%] tests/client/test_redirects.py::test_body_redirect PASSED [ 72%] tests/client/test_redirects.py::test_no_body_redirect PASSED [ 73%] tests/client/test_redirects.py::test_can_stream_if_no_redirect PASSED [ 73%] tests/client/test_redirects.py::test_cannot_redirect_streaming_body PASSED [ 73%] tests/client/test_redirects.py::test_cross_subdomain_redirect PASSED [ 73%] tests/client/test_redirects.py::test_redirect_cookie_behavior PASSED [ 73%] tests/client/test_redirects.py::test_redirect_custom_scheme PASSED [ 73%] tests/client/test_redirects.py::test_async_invalid_redirect[asyncio] PASSED [ 73%] tests/client/test_redirects.py::test_async_invalid_redirect[trio] SKIPPED (async def functio...) [ 74%] tests/models/test_cookies.py::test_cookies PASSED [ 74%] tests/models/test_cookies.py::test_cookies_update PASSED [ 74%] tests/models/test_cookies.py::test_cookies_with_domain PASSED [ 74%] tests/models/test_cookies.py::test_cookies_with_domain_and_path PASSED [ 74%] tests/models/test_cookies.py::test_multiple_set_cookie PASSED [ 74%] tests/models/test_cookies.py::test_cookies_can_be_a_list_of_tuples PASSED [ 75%] tests/models/test_cookies.py::test_cookies_repr PASSED [ 75%] tests/models/test_headers.py::test_headers PASSED [ 75%] tests/models/test_headers.py::test_header_mutations PASSED [ 75%] tests/models/test_headers.py::test_copy_headers_method PASSED [ 75%] tests/models/test_headers.py::test_copy_headers_init PASSED [ 75%] tests/models/test_headers.py::test_headers_insert_retains_ordering PASSED [ 76%] tests/models/test_headers.py::test_headers_insert_appends_if_new PASSED [ 76%] tests/models/test_headers.py::test_headers_insert_removes_all_existing PASSED [ 76%] tests/models/test_headers.py::test_headers_delete_removes_all_existing PASSED [ 76%] tests/models/test_headers.py::test_headers_dict_repr PASSED [ 76%] tests/models/test_headers.py::test_headers_encoding_in_repr PASSED [ 76%] tests/models/test_headers.py::test_headers_list_repr PASSED [ 76%] tests/models/test_headers.py::test_headers_decode_ascii PASSED [ 77%] tests/models/test_headers.py::test_headers_decode_utf_8 PASSED [ 77%] tests/models/test_headers.py::test_headers_decode_iso_8859_1 PASSED [ 77%] tests/models/test_headers.py::test_headers_decode_explicit_encoding PASSED [ 77%] tests/models/test_headers.py::test_multiple_headers PASSED [ 77%] tests/models/test_headers.py::test_sensitive_headers[authorization] PASSED [ 77%] tests/models/test_headers.py::test_sensitive_headers[proxy-authorization] PASSED [ 78%] tests/models/test_queryparams.py::test_queryparams[a=123&a=456&b=789] PASSED [ 78%] tests/models/test_queryparams.py::test_queryparams[source1] PASSED [ 78%] tests/models/test_queryparams.py::test_queryparams[source2] PASSED [ 78%] tests/models/test_queryparams.py::test_queryparams[source3] PASSED [ 78%] tests/models/test_queryparams.py::test_queryparams[source4] PASSED [ 78%] tests/models/test_queryparams.py::test_queryparam_types PASSED [ 78%] tests/models/test_queryparams.py::test_queryparam_update_is_hard_deprecated PASSED [ 79%] tests/models/test_queryparams.py::test_queryparam_setter_is_hard_deprecated PASSED [ 79%] tests/models/test_queryparams.py::test_queryparam_set PASSED [ 79%] tests/models/test_queryparams.py::test_queryparam_add PASSED [ 79%] tests/models/test_queryparams.py::test_queryparam_remove PASSED [ 79%] tests/models/test_queryparams.py::test_queryparam_merge PASSED [ 79%] tests/models/test_queryparams.py::test_queryparams_are_hashable PASSED [ 80%] tests/models/test_requests.py::test_request_repr PASSED [ 80%] tests/models/test_requests.py::test_no_content PASSED [ 80%] tests/models/test_requests.py::test_content_length_header PASSED [ 80%] tests/models/test_requests.py::test_iterable_content PASSED [ 80%] tests/models/test_requests.py::test_generator_with_transfer_encoding_header PASSED [ 80%] tests/models/test_requests.py::test_generator_with_content_length_header PASSED [ 80%] tests/models/test_requests.py::test_url_encoded_data PASSED [ 81%] tests/models/test_requests.py::test_json_encoded_data PASSED [ 81%] tests/models/test_requests.py::test_headers PASSED [ 81%] tests/models/test_requests.py::test_read_and_stream_data PASSED [ 81%] tests/models/test_requests.py::test_aread_and_stream_data PASSED [ 81%] tests/models/test_requests.py::test_cannot_access_streaming_content_without_read PASSED [ 81%] tests/models/test_requests.py::test_transfer_encoding_header PASSED [ 82%] tests/models/test_requests.py::test_ignore_transfer_encoding_header_if_content_length_exists PASSED [ 82%] tests/models/test_requests.py::test_override_host_header PASSED [ 82%] tests/models/test_requests.py::test_override_accept_encoding_header PASSED [ 82%] tests/models/test_requests.py::test_override_content_length_header PASSED [ 82%] tests/models/test_requests.py::test_url PASSED [ 82%] tests/models/test_requests.py::test_request_picklable PASSED [ 83%] tests/models/test_requests.py::test_request_async_streaming_content_picklable PASSED [ 83%] tests/models/test_requests.py::test_request_generator_content_picklable PASSED [ 83%] tests/models/test_responses.py::test_response PASSED [ 83%] tests/models/test_responses.py::test_response_content PASSED [ 83%] tests/models/test_responses.py::test_response_text PASSED [ 83%] tests/models/test_responses.py::test_response_html PASSED [ 83%] tests/models/test_responses.py::test_response_json PASSED [ 84%] tests/models/test_responses.py::test_raise_for_status PASSED [ 84%] tests/models/test_responses.py::test_response_repr PASSED [ 84%] tests/models/test_responses.py::test_response_content_type_encoding PASSED [ 84%] tests/models/test_responses.py::test_response_autodetect_encoding PASSED [ 84%] tests/models/test_responses.py::test_response_fallback_to_autodetect PASSED [ 84%] tests/models/test_responses.py::test_response_no_charset_with_ascii_content PASSED [ 85%] tests/models/test_responses.py::test_response_no_charset_with_utf8_content PASSED [ 85%] tests/models/test_responses.py::test_response_no_charset_with_iso_8859_1_content PASSED [ 85%] tests/models/test_responses.py::test_response_no_charset_with_cp_1252_content PASSED [ 85%] tests/models/test_responses.py::test_response_non_text_encoding PASSED [ 85%] tests/models/test_responses.py::test_response_set_explicit_encoding PASSED [ 85%] tests/models/test_responses.py::test_response_force_encoding PASSED [ 85%] tests/models/test_responses.py::test_read PASSED [ 86%] tests/models/test_responses.py::test_empty_read PASSED [ 86%] tests/models/test_responses.py::test_aread PASSED [ 86%] tests/models/test_responses.py::test_empty_aread PASSED [ 86%] tests/models/test_responses.py::test_iter_raw PASSED [ 86%] tests/models/test_responses.py::test_iter_raw_with_chunksize PASSED [ 86%] tests/models/test_responses.py::test_iter_raw_on_iterable PASSED [ 87%] tests/models/test_responses.py::test_iter_raw_on_async PASSED [ 87%] tests/models/test_responses.py::test_close_on_async PASSED [ 87%] tests/models/test_responses.py::test_iter_raw_increments_updates_counter PASSED [ 87%] tests/models/test_responses.py::test_aiter_raw PASSED [ 87%] tests/models/test_responses.py::test_aiter_raw_with_chunksize PASSED [ 87%] tests/models/test_responses.py::test_aiter_raw_on_sync PASSED [ 88%] tests/models/test_responses.py::test_aclose_on_sync PASSED [ 88%] tests/models/test_responses.py::test_aiter_raw_increments_updates_counter PASSED [ 88%] tests/models/test_responses.py::test_iter_bytes PASSED [ 88%] tests/models/test_responses.py::test_iter_bytes_with_chunk_size PASSED [ 88%] tests/models/test_responses.py::test_aiter_bytes PASSED [ 88%] tests/models/test_responses.py::test_aiter_bytes_with_chunk_size PASSED [ 88%] tests/models/test_responses.py::test_iter_text PASSED [ 89%] tests/models/test_responses.py::test_iter_text_with_chunk_size PASSED [ 89%] tests/models/test_responses.py::test_aiter_text PASSED [ 89%] tests/models/test_responses.py::test_aiter_text_with_chunk_size PASSED [ 89%] tests/models/test_responses.py::test_iter_lines PASSED [ 89%] tests/models/test_responses.py::test_aiter_lines PASSED [ 89%] tests/models/test_responses.py::test_sync_streaming_response PASSED [ 90%] tests/models/test_responses.py::test_async_streaming_response PASSED [ 90%] tests/models/test_responses.py::test_cannot_read_after_stream_consumed PASSED [ 90%] tests/models/test_responses.py::test_cannot_aread_after_stream_consumed PASSED [ 90%] tests/models/test_responses.py::test_cannot_read_after_response_closed PASSED [ 90%] tests/models/test_responses.py::test_cannot_aread_after_response_closed PASSED [ 90%] tests/models/test_responses.py::test_elapsed_not_available_until_closed PASSED [ 90%] tests/models/test_responses.py::test_unknown_status_code PASSED [ 91%] tests/models/test_responses.py::test_json_with_specified_encoding PASSED [ 91%] tests/models/test_responses.py::test_json_with_options PASSED [ 91%] tests/models/test_responses.py::test_json_without_specified_encoding PASSED [ 91%] tests/models/test_responses.py::test_json_without_specified_encoding_decode_error FAILED [ 91%] tests/models/test_responses.py::test_json_without_specified_encoding_value_error FAILED [ 91%] tests/models/test_responses.py::test_link_headers[headers0-expected0] PASSED [ 92%] tests/models/test_responses.py::test_link_headers[headers1-expected1] PASSED [ 92%] tests/models/test_responses.py::test_decode_error_with_request[deflate] PASSED [ 92%] tests/models/test_responses.py::test_decode_error_with_request[gzip] PASSED [ 92%] tests/models/test_responses.py::test_decode_error_with_request[br] PASSED [ 92%] tests/models/test_responses.py::test_value_error_without_request[deflate] PASSED [ 92%] tests/models/test_responses.py::test_value_error_without_request[gzip] PASSED [ 92%] tests/models/test_responses.py::test_value_error_without_request[br] PASSED [ 93%] tests/models/test_responses.py::test_response_with_unset_request PASSED [ 93%] tests/models/test_responses.py::test_set_request_after_init PASSED [ 93%] tests/models/test_responses.py::test_cannot_access_unset_request PASSED [ 93%] tests/models/test_responses.py::test_generator_with_transfer_encoding_header PASSED [ 93%] tests/models/test_responses.py::test_generator_with_content_length_header PASSED [ 93%] tests/models/test_responses.py::test_response_picklable PASSED [ 94%] tests/models/test_responses.py::test_response_async_streaming_picklable PASSED [ 94%] tests/models/test_url.py::test_idna_url[http_with_port] PASSED [ 94%] tests/models/test_url.py::test_idna_url[unicode_tr46_compat] PASSED [ 94%] tests/models/test_url.py::test_idna_url[https_without_port] PASSED [ 94%] tests/models/test_url.py::test_idna_url[https_with_port] PASSED [ 94%] tests/models/test_url.py::test_idna_url[http_with_custom_port] PASSED [ 95%] tests/models/test_url.py::test_idna_url[https_with_custom_port] PASSED [ 95%] tests/models/test_url.py::test_url PASSED [ 95%] tests/models/test_url.py::test_url_eq_str PASSED [ 95%] tests/models/test_url.py::test_url_params PASSED [ 95%] tests/models/test_url.py::test_url_join PASSED [ 95%] tests/models/test_url.py::test_url_set_param_manipulation PASSED [ 95%] tests/models/test_url.py::test_url_add_param_manipulation PASSED [ 96%] tests/models/test_url.py::test_url_remove_param_manipulation PASSED [ 96%] tests/models/test_url.py::test_url_merge_params_manipulation PASSED [ 96%] tests/models/test_url.py::test_relative_url_join PASSED [ 96%] tests/models/test_url.py::test_url_join_rfc3986 PASSED [ 96%] tests/models/test_url.py::test_url_set PASSED [ 96%] tests/models/test_url.py::test_url_copywith_authority_subcomponents PASSED [ 97%] tests/models/test_url.py::test_url_copywith_netloc PASSED [ 97%] tests/models/test_url.py::test_url_copywith_userinfo_subcomponents PASSED [ 97%] tests/models/test_url.py::test_url_copywith_invalid_component PASSED [ 97%] tests/models/test_url.py::test_url_copywith_urlencoded_path PASSED [ 97%] tests/models/test_url.py::test_url_copywith_query PASSED [ 97%] tests/models/test_url.py::test_url_copywith_raw_path PASSED [ 97%] tests/models/test_url.py::test_url_invalid PASSED [ 98%] tests/models/test_url.py::test_url_invalid_type PASSED [ 98%] tests/models/test_url.py::test_url_with_empty_query PASSED [ 98%] tests/models/test_url.py::test_url_with_url_encoded_path PASSED [ 98%] tests/models/test_url.py::test_ipv6_url PASSED [ 98%] tests/models/test_url.py::test_ipv6_url_copy_with_host[[::ffff:192.168.0.1]-http://127.0.0.1:1234] PASSED [ 98%] tests/models/test_url.py::test_ipv6_url_copy_with_host[[::ffff:192.168.0.1]-http://example.com:1234] PASSED [ 99%] tests/models/test_url.py::test_ipv6_url_copy_with_host[[::ffff:192.168.0.1]-http://[::ffff:127.0.0.1]:1234] PASSED [ 99%] tests/models/test_url.py::test_ipv6_url_copy_with_host[::ffff:192.168.0.1-http://127.0.0.1:1234] PASSED [ 99%] tests/models/test_url.py::test_ipv6_url_copy_with_host[::ffff:192.168.0.1-http://example.com:1234] PASSED [ 99%] tests/models/test_url.py::test_ipv6_url_copy_with_host[::ffff:192.168.0.1-http://[::ffff:127.0.0.1]:1234] PASSED [ 99%] tests/models/test_url.py::test_ipv6_url_from_raw_url[[::ffff:192.168.0.1]] PASSED [ 99%] tests/models/test_url.py::test_ipv6_url_from_raw_url[::ffff:192.168.0.1] PASSED [100%] =============================================== FAILURES =============================================== __________________________ test_json_without_specified_encoding_decode_error ___________________________ def test_json_without_specified_encoding_decode_error(): data = {"greeting": "hello", "recipient": "world"} content = json.dumps(data).encode("utf-32-be") headers = {"Content-Type": "application/json"} # force incorrect guess from `guess_json_utf` to trigger error with mock.patch("httpx._models.guess_json_utf", return_value="utf-32"): response = httpx.Response( 200, content=content, headers=headers, ) with pytest.raises(json.decoder.JSONDecodeError): > response.json() E Failed: DID NOT RAISE content = (b'\x00\x00\x00{\x00\x00\x00"\x00\x00\x00g\x00\x00\x00r\x00\x00\x00e' b'\x00\x00\x00e\x00\x00\x00t\x00\x00\x00i\x00\x00\x00n\x00\x00\x00g' b'\x00\x00\x00"\x00\x00\x00:\x00\x00\x00 \x00\x00\x00"\x00\x00\x00h' b'\x00\x00\x00e\x00\x00\x00l\x00\x00\x00l\x00\x00\x00o\x00\x00\x00"' b'\x00\x00\x00,\x00\x00\x00 \x00\x00\x00"\x00\x00\x00r\x00\x00\x00e' b'\x00\x00\x00c\x00\x00\x00i\x00\x00\x00p\x00\x00\x00i\x00\x00\x00e' b'\x00\x00\x00n\x00\x00\x00t\x00\x00\x00"\x00\x00\x00:\x00\x00\x00 ' b'\x00\x00\x00"\x00\x00\x00w\x00\x00\x00o\x00\x00\x00r\x00\x00\x00l' b'\x00\x00\x00d\x00\x00\x00"\x00\x00\x00}') data = {'greeting': 'hello', 'recipient': 'world'} headers = {'Content-Type': 'application/json'} response = tests/models/test_responses.py:748: Failed ___________________________ test_json_without_specified_encoding_value_error ___________________________ def test_json_without_specified_encoding_value_error(): data = {"greeting": "hello", "recipient": "world"} content = json.dumps(data).encode("utf-32-be") headers = {"Content-Type": "application/json"} # force incorrect guess from `guess_json_utf` to trigger error with mock.patch("httpx._models.guess_json_utf", return_value="utf-32"): response = httpx.Response(200, content=content, headers=headers) with pytest.raises(json.decoder.JSONDecodeError): > response.json() E Failed: DID NOT RAISE content = (b'\x00\x00\x00{\x00\x00\x00"\x00\x00\x00g\x00\x00\x00r\x00\x00\x00e' b'\x00\x00\x00e\x00\x00\x00t\x00\x00\x00i\x00\x00\x00n\x00\x00\x00g' b'\x00\x00\x00"\x00\x00\x00:\x00\x00\x00 \x00\x00\x00"\x00\x00\x00h' b'\x00\x00\x00e\x00\x00\x00l\x00\x00\x00l\x00\x00\x00o\x00\x00\x00"' b'\x00\x00\x00,\x00\x00\x00 \x00\x00\x00"\x00\x00\x00r\x00\x00\x00e' b'\x00\x00\x00c\x00\x00\x00i\x00\x00\x00p\x00\x00\x00i\x00\x00\x00e' b'\x00\x00\x00n\x00\x00\x00t\x00\x00\x00"\x00\x00\x00:\x00\x00\x00 ' b'\x00\x00\x00"\x00\x00\x00w\x00\x00\x00o\x00\x00\x00r\x00\x00\x00l' b'\x00\x00\x00d\x00\x00\x00"\x00\x00\x00}') data = {'greeting': 'hello', 'recipient': 'world'} headers = {'Content-Type': 'application/json'} response = tests/models/test_responses.py:759: Failed =========================================== warnings summary =========================================== tests/test_asgi.py: 10 warnings tests/test_timeouts.py: 4 warnings tests/client/test_async_client.py: 26 warnings tests/client/test_event_hooks.py: 3 warnings tests/client/test_redirects.py: 3 warnings /usr/lib/python3.9/site-packages/_pytest/python.py:172: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. You need to install a suitable plugin for your async framework, for example: - anyio - pytest-asyncio - pytest-tornasync - pytest-trio - pytest-twisted warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) tests/test_multipart.py::test_multipart_encode /usr/lib/python3.9/site-packages/_pytest/python.py:183: ResourceWarning: unclosed file <_io.BufferedReader name='/var/tmp/portage/dev-python/httpx-0.18.1/temp/pytest-of-root/pytest-0/test_multipart_encode0/name.txt'> result = testfunction(**testargs) tests/test_timeouts.py::test_connect_timeout[asyncio] /usr/lib/python3.9/site-packages/rfc3986/validators.py:393: ResourceWarning: unclosed return all([0 <= int(byte, base=10) <= 255 for byte in host.split(".")]) tests/test_timeouts.py::test_connect_timeout[asyncio] /usr/lib/python3.9/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport fd=22> _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) tests/test_timeouts.py::test_connect_timeout[asyncio] /usr/lib/python3.9/site-packages/rfc3986/validators.py:393: ResourceWarning: unclosed return all([0 <= int(byte, base=10) <= 255 for byte in host.split(".")]) tests/test_timeouts.py::test_connect_timeout[asyncio] /usr/lib/python3.9/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport fd=24> _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) tests/client/test_auth.py::test_auth_invalid_type /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: Traceback (most recent call last): File "/var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1/httpx/_client.py", line 1893, in __del__ if self._state == ClientState.OPENED: AttributeError: 'AsyncClient' object has no attribute '_state' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================================= short test summary info ======================================== SKIPPED [46] ../../../../../../../usr/lib/python3.9/site-packages/_pytest/python.py:173: async def function and no async plugin installed (see warnings) FAILED tests/models/test_responses.py::test_json_without_specified_encoding_decode_error - Failed: DI... FAILED tests/models/test_responses.py::test_json_without_specified_encoding_value_error - Failed: DID... ================ 2 failed, 594 passed, 46 skipped, 2 deselected, 52 warnings in 14.08s ================= * ERROR: dev-python/httpx-0.18.1::gentoo failed (test phase): * pytest failed with python3.9 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2887: Called distutils-r1_src_test * environment, line 1236: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 478: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2549: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2076: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2074: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 792: Called distutils-r1_run_phase 'python_test' * environment, line 1175: Called python_test * environment, line 2846: Called epytest '--deselect' 'tests/client/test_proxies.py::test_async_proxy_close' '--deselect' 'tests/client/test_proxies.py::test_sync_proxy_close' * environment, line 1594: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-python/httpx-0.18.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/httpx-0.18.1::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-python/httpx-0.18.1:20210714-201500.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/httpx-0.18.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/httpx-0.18.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1' * S: '/var/tmp/portage/dev-python/httpx-0.18.1/work/httpx-0.18.1'