Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 728916 Details for
Bug 802195
dev-python/httpx-0.18.1 - fails test_json_without_specified_encoding_decode_error, test_json_without_specified_encoding_value_error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log (0.18.2)
httpx-0.18.2:20210731-210844.log (text/plain), 73.47 KB, created by
ernsteiswuerfel
on 2021-07-31 21:13:09 UTC
(
hide
)
Description:
build.log (0.18.2)
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2021-07-31 21:13:09 UTC
Size:
73.47 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/httpx-0.18.2 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUpstream: https://github.com/encode/httpx/issues >[32;01m * [39;49;00mUSE: abi_ppc_64 elibc_glibc kernel_linux ppc64 python_targets_python3_9 test userland_GNU >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox test >>>> Unpacking source... >>>> Unpacking httpx-0.18.2.tar.gz to /var/tmp/portage/dev-python/httpx-0.18.2/work >>>> Source unpacked in /var/tmp/portage/dev-python/httpx-0.18.2/work >>>> Preparing source in /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2 ... > [32;01m*[0m 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.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_content.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_client.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_auth.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_decoders.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_types.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/__init__.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_api.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_status_codes.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_multipart.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/__version__.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_compat.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_utils.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_config.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_exceptions.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >copying httpx/_models.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx >creating /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx/_transports >copying httpx/_transports/wsgi.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx/_transports >copying httpx/_transports/base.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx/_transports >copying httpx/_transports/default.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx/_transports >copying httpx/_transports/__init__.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx/_transports >copying httpx/_transports/asgi.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-python3_9/lib/httpx/_transports >copying httpx/_transports/mock.py -> /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2-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.2/work/httpx-0.18.2-python3_9/lib/httpx >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/httpx-0.18.2 > [32;01m*[0m 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.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.9 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2, configfile: setup.cfg >plugins: xdist-2.3.0, subtests-0.5.0, hypothesis-6.14.0, pkgcore-0.12.1, flaky-3.7.0, asyncio-0.15.1, cov-2.12.1, mock-3.6.1, aiohttp-0.3.0, forked-1.3.0 >collecting ... collected 599 items / 2 deselected / 597 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 [ 1%] >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_no_body[asyncio] PASSED [ 2%] >tests/test_asgi.py::test_asgi[asyncio] PASSED [ 2%] >tests/test_asgi.py::test_asgi_urlencoded_path[asyncio] PASSED [ 2%] >tests/test_asgi.py::test_asgi_raw_path[asyncio] PASSED [ 2%] >tests/test_asgi.py::test_asgi_upload[asyncio] PASSED [ 2%] >tests/test_asgi.py::test_asgi_headers[asyncio] PASSED [ 2%] >tests/test_asgi.py::test_asgi_exc[asyncio] PASSED [ 3%] >tests/test_asgi.py::test_asgi_exc_after_response[asyncio] PASSED [ 3%] >tests/test_asgi.py::test_asgi_disconnect_after_response_complete[asyncio] PASSED [ 3%] >tests/test_auth.py::test_basic_auth PASSED [ 3%] >tests/test_auth.py::test_digest_auth_with_200 PASSED [ 3%] >tests/test_auth.py::test_digest_auth_with_401 PASSED [ 3%] >tests/test_config.py::test_load_ssl_config PASSED [ 4%] >tests/test_config.py::test_load_ssl_config_verify_non_existing_path PASSED [ 4%] >tests/test_config.py::test_load_ssl_config_verify_existing_file PASSED [ 4%] >tests/test_config.py::test_load_ssl_config_verify_env_file[SSL_CERT_FILE] PASSED [ 4%] >tests/test_config.py::test_load_ssl_config_verify_env_file[SSL_CERT_DIR] PASSED [ 4%] >tests/test_config.py::test_load_ssl_config_verify_directory PASSED [ 4%] >tests/test_config.py::test_load_ssl_config_cert_and_key PASSED [ 5%] >tests/test_config.py::test_load_ssl_config_cert_and_encrypted_key[password0] PASSED [ 5%] >tests/test_config.py::test_load_ssl_config_cert_and_encrypted_key[password1] PASSED [ 5%] >tests/test_config.py::test_load_ssl_config_cert_and_key_invalid_password PASSED [ 5%] >tests/test_config.py::test_load_ssl_config_cert_without_key_raises PASSED [ 5%] >tests/test_config.py::test_load_ssl_config_no_verify PASSED [ 5%] >tests/test_config.py::test_load_ssl_context PASSED [ 6%] >tests/test_config.py::test_create_ssl_context_with_get_request PASSED [ 6%] >tests/test_config.py::test_limits_repr PASSED [ 6%] >tests/test_config.py::test_limits_eq PASSED [ 6%] >tests/test_config.py::test_timeout_eq PASSED [ 6%] >tests/test_config.py::test_timeout_all_parameters_set PASSED [ 6%] >tests/test_config.py::test_timeout_from_nothing PASSED [ 7%] >tests/test_config.py::test_timeout_from_none PASSED [ 7%] >tests/test_config.py::test_timeout_from_one_none_value PASSED [ 7%] >tests/test_config.py::test_timeout_from_one_value PASSED [ 7%] >tests/test_config.py::test_timeout_from_one_value_and_default PASSED [ 7%] >tests/test_config.py::test_timeout_missing_default PASSED [ 7%] >tests/test_config.py::test_timeout_from_tuple PASSED [ 8%] >tests/test_config.py::test_timeout_from_config_instance PASSED [ 8%] >tests/test_config.py::test_timeout_repr PASSED [ 8%] >tests/test_config.py::test_ssl_config_support_for_keylog_file PASSED [ 8%] >tests/test_config.py::test_proxy_from_url[https://example.com-https://example.com-expected_headers0-DEFAULT] PASSED [ 8%] >tests/test_config.py::test_proxy_from_url[https://user:pass@example.com-https://example.com-expected_headers1-DEFAULT] PASSED [ 8%] >tests/test_config.py::test_invalid_proxy_scheme PASSED [ 9%] >tests/test_config.py::test_invalid_proxy_mode PASSED [ 9%] >tests/test_content.py::test_empty_content PASSED [ 9%] >tests/test_content.py::test_bytes_content PASSED [ 9%] >tests/test_content.py::test_bytesio_content PASSED [ 9%] >tests/test_content.py::test_iterator_content PASSED [ 9%] >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 [ 10%] >tests/test_content.py::test_urlencoded_boolean PASSED [ 10%] >tests/test_content.py::test_urlencoded_none PASSED [ 10%] >tests/test_content.py::test_urlencoded_list PASSED [ 10%] >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 [ 11%] >tests/test_content.py::test_multipart_multiple_files_single_input_content PASSED [ 11%] >tests/test_content.py::test_response_empty_content PASSED [ 11%] >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 [ 12%] >tests/test_decoders.py::test_deflate PASSED [ 12%] >tests/test_decoders.py::test_zlib PASSED [ 12%] >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 [ 13%] >tests/test_decoders.py::test_streaming PASSED [ 13%] >tests/test_decoders.py::test_empty_content[deflate] PASSED [ 13%] >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 [ 14%] >tests/test_decoders.py::test_decoders_empty_cases[GZipDecoder] PASSED [ 14%] >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 [ 15%] >tests/test_decoders.py::test_text_decoder[data1-utf-8] PASSED [ 15%] >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 [ 16%] >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 [ 17%] >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 [ 18%] >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[<bytes content>-<bytes content>] PASSED [ 21%] >tests/test_multipart.py::test_multipart_encode_files_allows_bytes_or_str_content[<string content>-<string 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 [ 22%] >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 [ 23%] >tests/test_timeouts.py::test_read_timeout[asyncio] PASSED [ 23%] >tests/test_timeouts.py::test_write_timeout[asyncio] PASSED [ 23%] >tests/test_timeouts.py::test_connect_timeout[asyncio] PASSED [ 23%] >tests/test_timeouts.py::test_pool_timeout[asyncio] PASSED [ 23%] >tests/test_utils.py::test_encoded[utf-32] PASSED [ 23%] >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 [ 24%] >tests/test_utils.py::test_encoded[utf-32-be] PASSED [ 24%] >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 [ 25%] >tests/test_utils.py::test_guess_by_bom[utf-32-le-utf-32] PASSED [ 25%] >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[<http:/.../front.jpeg>; rel=front; type="image/jpeg"-expected0] PASSED [ 26%] >tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>-expected1] PASSED [ 26%] >tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>;-expected2] PASSED [ 26%] >tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>; type="image/jpeg",<http://.../back.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 [ 27%] >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 [ 31%] >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 [ 32%] >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 [ 33%] >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_invalid_url[asyncio-scheme-not-http(s)] PASSED [ 33%] >tests/client/test_async_client.py::test_get_invalid_url[asyncio-no-scheme] PASSED [ 34%] >tests/client/test_async_client.py::test_get_invalid_url[asyncio-no-host] PASSED [ 34%] >tests/client/test_async_client.py::test_build_request[asyncio] PASSED [ 34%] >tests/client/test_async_client.py::test_post[asyncio] PASSED [ 34%] >tests/client/test_async_client.py::test_post_json[asyncio] PASSED [ 34%] >tests/client/test_async_client.py::test_stream_response[asyncio] PASSED [ 34%] >tests/client/test_async_client.py::test_access_content_stream_response[asyncio] PASSED [ 35%] >tests/client/test_async_client.py::test_stream_request[asyncio] PASSED [ 35%] >tests/client/test_async_client.py::test_cannot_stream_sync_request[asyncio] PASSED [ 35%] >tests/client/test_async_client.py::test_raise_for_status[asyncio] PASSED [ 35%] >tests/client/test_async_client.py::test_options[asyncio] PASSED [ 35%] >tests/client/test_async_client.py::test_head[asyncio] PASSED [ 35%] >tests/client/test_async_client.py::test_put[asyncio] PASSED [ 36%] >tests/client/test_async_client.py::test_patch[asyncio] PASSED [ 36%] >tests/client/test_async_client.py::test_delete[asyncio] PASSED [ 36%] >tests/client/test_async_client.py::test_100_continue[asyncio] PASSED [ 36%] >tests/client/test_async_client.py::test_context_managed_transport[asyncio] PASSED [ 36%] >tests/client/test_async_client.py::test_context_managed_transport_and_mount[asyncio] PASSED [ 36%] >tests/client/test_async_client.py::test_client_closed_state_using_implicit_open[asyncio] PASSED [ 37%] >tests/client/test_async_client.py::test_client_closed_state_using_with_block[asyncio] PASSED [ 37%] >tests/client/test_async_client.py::test_deleting_unclosed_async_client_causes_warning[asyncio] PASSED [ 37%] >tests/client/test_async_client.py::test_mounted_transport[asyncio] PASSED [ 37%] >tests/client/test_async_client.py::test_async_mock_transport[asyncio] PASSED [ 37%] >tests/client/test_async_client.py::test_server_extensions[asyncio] PASSED [ 37%] >tests/client/test_auth.py::test_basic_auth PASSED [ 38%] >tests/client/test_auth.py::test_basic_auth_with_stream PASSED [ 38%] >tests/client/test_auth.py::test_basic_auth_in_url PASSED [ 38%] >tests/client/test_auth.py::test_basic_auth_on_session PASSED [ 38%] >tests/client/test_auth.py::test_custom_auth PASSED [ 38%] >tests/client/test_auth.py::test_netrc_auth PASSED [ 38%] >tests/client/test_auth.py::test_auth_header_has_priority_over_netrc PASSED [ 39%] >tests/client/test_auth.py::test_trust_env_auth PASSED [ 39%] >tests/client/test_auth.py::test_auth_disable_per_request PASSED [ 39%] >tests/client/test_auth.py::test_auth_hidden_url PASSED [ 39%] >tests/client/test_auth.py::test_auth_hidden_header PASSED [ 39%] >tests/client/test_auth.py::test_auth_property PASSED [ 39%] >tests/client/test_auth.py::test_auth_invalid_type PASSED [ 40%] >tests/client/test_auth.py::test_digest_auth_returns_no_auth_if_no_digest_header_in_response PASSED [ 40%] >tests/client/test_auth.py::test_digest_auth_returns_no_auth_if_alternate_auth_scheme PASSED [ 40%] >tests/client/test_auth.py::test_digest_auth_200_response_including_digest_auth_header PASSED [ 40%] >tests/client/test_auth.py::test_digest_auth_401_response_without_digest_auth_header PASSED [ 40%] >tests/client/test_auth.py::test_digest_auth[MD5-64-32] PASSED [ 40%] >tests/client/test_auth.py::test_digest_auth[MD5-SESS-64-32] PASSED [ 41%] >tests/client/test_auth.py::test_digest_auth[SHA-64-40] PASSED [ 41%] >tests/client/test_auth.py::test_digest_auth[SHA-SESS-64-40] PASSED [ 41%] >tests/client/test_auth.py::test_digest_auth[SHA-256-64-64] PASSED [ 41%] >tests/client/test_auth.py::test_digest_auth[SHA-256-SESS-64-64] PASSED [ 41%] >tests/client/test_auth.py::test_digest_auth[SHA-512-64-128] PASSED [ 41%] >tests/client/test_auth.py::test_digest_auth[SHA-512-SESS-64-128] PASSED [ 42%] >tests/client/test_auth.py::test_digest_auth_no_specified_qop PASSED [ 42%] >tests/client/test_auth.py::test_digest_auth_qop_including_spaces_and_auth_returns_auth[auth, auth-int] PASSED [ 42%] >tests/client/test_auth.py::test_digest_auth_qop_including_spaces_and_auth_returns_auth[auth,auth-int] PASSED [ 42%] >tests/client/test_auth.py::test_digest_auth_qop_including_spaces_and_auth_returns_auth[unknown,auth] PASSED [ 42%] >tests/client/test_auth.py::test_digest_auth_qop_auth_int_not_implemented PASSED [ 42%] >tests/client/test_auth.py::test_digest_auth_qop_must_be_auth_or_auth_int PASSED [ 43%] >tests/client/test_auth.py::test_digest_auth_incorrect_credentials PASSED [ 43%] >tests/client/test_auth.py::test_async_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth"] PASSED [ 43%] >tests/client/test_auth.py::test_async_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth,au] PASSED [ 43%] >tests/client/test_auth.py::test_sync_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth"] PASSED [ 43%] >tests/client/test_auth.py::test_sync_digest_auth_raises_protocol_error_on_malformed_header[Digest realm="httpx@example.org", qop="auth,au] PASSED [ 43%] >tests/client/test_auth.py::test_async_auth_history PASSED [ 44%] >tests/client/test_auth.py::test_sync_auth_history PASSED [ 44%] >tests/client/test_auth.py::test_digest_auth_unavailable_streaming_body PASSED [ 44%] >tests/client/test_auth.py::test_async_auth_reads_response_body PASSED [ 44%] >tests/client/test_auth.py::test_sync_auth_reads_response_body PASSED [ 44%] >tests/client/test_auth.py::test_async_auth PASSED [ 44%] >tests/client/test_auth.py::test_sync_auth PASSED [ 45%] >tests/client/test_client.py::test_get PASSED [ 45%] >tests/client/test_client.py::test_get_invalid_url[scheme-not-http(s)] PASSED [ 45%] >tests/client/test_client.py::test_get_invalid_url[no-scheme] PASSED [ 45%] >tests/client/test_client.py::test_get_invalid_url[no-host] PASSED [ 45%] >tests/client/test_client.py::test_build_request PASSED [ 45%] >tests/client/test_client.py::test_build_post_request PASSED [ 46%] >tests/client/test_client.py::test_post PASSED [ 46%] >tests/client/test_client.py::test_post_json PASSED [ 46%] >tests/client/test_client.py::test_stream_response PASSED [ 46%] >tests/client/test_client.py::test_stream_iterator PASSED [ 46%] >tests/client/test_client.py::test_raw_iterator PASSED [ 46%] >tests/client/test_client.py::test_cannot_stream_async_request PASSED [ 47%] >tests/client/test_client.py::test_raise_for_status PASSED [ 47%] >tests/client/test_client.py::test_options PASSED [ 47%] >tests/client/test_client.py::test_head PASSED [ 47%] >tests/client/test_client.py::test_put PASSED [ 47%] >tests/client/test_client.py::test_patch PASSED [ 47%] >tests/client/test_client.py::test_delete PASSED [ 48%] >tests/client/test_client.py::test_base_url PASSED [ 48%] >tests/client/test_client.py::test_merge_absolute_url PASSED [ 48%] >tests/client/test_client.py::test_merge_relative_url PASSED [ 48%] >tests/client/test_client.py::test_merge_relative_url_with_path PASSED [ 48%] >tests/client/test_client.py::test_merge_relative_url_with_dotted_path PASSED [ 48%] >tests/client/test_client.py::test_merge_relative_url_with_path_including_colon PASSED [ 49%] >tests/client/test_client.py::test_merge_relative_url_with_encoded_slashes PASSED [ 49%] >tests/client/test_client.py::test_context_managed_transport PASSED [ 49%] >tests/client/test_client.py::test_context_managed_transport_and_mount PASSED [ 49%] >tests/client/test_client.py::test_client_closed_state_using_implicit_open PASSED [ 49%] >tests/client/test_client.py::test_client_closed_state_using_with_block PASSED [ 49%] >tests/client/test_client.py::test_raw_client_header PASSED [ 50%] >tests/client/test_client.py::test_mounted_transport PASSED [ 50%] >tests/client/test_client.py::test_all_mounted_transport PASSED [ 50%] >tests/client/test_client.py::test_server_extensions PASSED [ 50%] >tests/client/test_cookies.py::test_set_cookie PASSED [ 50%] >tests/client/test_cookies.py::test_set_per_request_cookie_is_deprecated PASSED [ 50%] >tests/client/test_cookies.py::test_set_cookie_with_cookiejar PASSED [ 51%] >tests/client/test_cookies.py::test_setting_client_cookies_to_cookiejar PASSED [ 51%] >tests/client/test_cookies.py::test_set_cookie_with_cookies_model PASSED [ 51%] >tests/client/test_cookies.py::test_get_cookie PASSED [ 51%] >tests/client/test_cookies.py::test_cookie_persistence PASSED [ 51%] >tests/client/test_event_hooks.py::test_event_hooks PASSED [ 51%] >tests/client/test_event_hooks.py::test_event_hooks_raising_exception PASSED [ 52%] >tests/client/test_event_hooks.py::test_async_event_hooks[asyncio] PASSED [ 52%] >tests/client/test_event_hooks.py::test_async_event_hooks_raising_exception[asyncio] PASSED [ 52%] >tests/client/test_event_hooks.py::test_event_hooks_with_redirect PASSED [ 52%] >tests/client/test_event_hooks.py::test_async_event_hooks_with_redirect[asyncio] PASSED [ 52%] >tests/client/test_headers.py::test_client_header PASSED [ 52%] >tests/client/test_headers.py::test_header_merge PASSED [ 53%] >tests/client/test_headers.py::test_header_merge_conflicting_headers PASSED [ 53%] >tests/client/test_headers.py::test_header_update PASSED [ 53%] >tests/client/test_headers.py::test_remove_default_header PASSED [ 53%] >tests/client/test_headers.py::test_header_does_not_exist PASSED [ 53%] >tests/client/test_headers.py::test_host_with_auth_and_port_in_url PASSED [ 53%] >tests/client/test_headers.py::test_host_with_non_default_port_in_url PASSED [ 54%] >tests/client/test_headers.py::test_request_auto_headers PASSED [ 54%] >tests/client/test_properties.py::test_client_base_url PASSED [ 54%] >tests/client/test_properties.py::test_client_base_url_without_trailing_slash PASSED [ 54%] >tests/client/test_properties.py::test_client_base_url_with_trailing_slash PASSED [ 54%] >tests/client/test_properties.py::test_client_headers PASSED [ 54%] >tests/client/test_properties.py::test_client_cookies PASSED [ 55%] >tests/client/test_properties.py::test_client_timeout PASSED [ 55%] >tests/client/test_properties.py::test_client_event_hooks PASSED [ 55%] >tests/client/test_proxies.py::test_proxies_parameter[http://127.0.0.1-expected_proxies0] PASSED [ 55%] >tests/client/test_proxies.py::test_proxies_parameter[proxies1-expected_proxies1] PASSED [ 55%] >tests/client/test_proxies.py::test_proxies_parameter[proxies2-expected_proxies2] PASSED [ 55%] >tests/client/test_proxies.py::test_proxies_parameter[proxies3-expected_proxies3] PASSED [ 56%] >tests/client/test_proxies.py::test_proxies_parameter[proxies4-expected_proxies4] PASSED [ 56%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-None-None] PASSED [ 56%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies1-None] PASSED [ 56%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies2-None] PASSED [ 56%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies3-None] PASSED [ 56%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies4-http://[::1]] PASSED [ 57%] >tests/client/test_proxies.py::test_transport_for_request[https://example.com-proxies5-None] PASSED [ 57%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies6-http://[::1]] PASSED [ 57%] >tests/client/test_proxies.py::test_transport_for_request[http://www.example.com-proxies7-None] PASSED [ 57%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies8-None] PASSED [ 57%] >tests/client/test_proxies.py::test_transport_for_request[http://www.example.com-proxies9-http://[::1]] PASSED [ 57%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies10-http://[::1]] PASSED [ 58%] >tests/client/test_proxies.py::test_transport_for_request[http://www.example.com-proxies11-http://[::1]] PASSED [ 58%] >tests/client/test_proxies.py::test_transport_for_request[http://wwwexample.com-proxies12-None] PASSED [ 58%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com:443-proxies13-http://[::1]] PASSED [ 58%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies14-http://[::1]] PASSED [ 58%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies15-None] PASSED [ 58%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies16-http://[::1]] PASSED [ 59%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies17-http://[::1]] PASSED [ 59%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies18-http://[::1]] PASSED [ 59%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies19-http://[::1]] PASSED [ 59%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com:8080-proxies20-http://[::1]] PASSED [ 59%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com:8080-proxies21-http://[::1]] PASSED [ 59%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies22-http://[::1]:4] PASSED [ 60%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies23-http://[::1]:3] PASSED [ 60%] >tests/client/test_proxies.py::test_transport_for_request[http://example.com-proxies24-http://[::1]:2] PASSED [ 60%] >tests/client/test_proxies.py::test_unsupported_proxy_scheme PASSED [ 60%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env0-None] PASSED [ 60%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env1-http://example.com] PASSED [ 60%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env2-http://example.com] PASSED [ 61%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://google.com-env3-None] PASSED [ 61%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env4-http://localhost:123] PASSED [ 61%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env5-None] PASSED [ 61%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env6-http://localhost:123] PASSED [ 61%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://127.0.0.1-env7-http://localhost:123] PASSED [ 61%] >tests/client/test_proxies.py::test_proxies_environ[Client-http://courses.mit.edu-env8-None] PASSED [ 62%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env9-http://localhost:123] PASSED [ 62%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env10-None] PASSED [ 62%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env11-None] PASSED [ 62%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://mit.edu.info-env12-http://localhost:123] PASSED [ 62%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://foo.example.com-env13-http://localhost:123] PASSED [ 62%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://www.example1.com-env14-None] PASSED [ 63%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://www.example2.com-env15-http://localhost:123] PASSED [ 63%] >tests/client/test_proxies.py::test_proxies_environ[Client-https://www.example3.com-env16-None] PASSED [ 63%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env0-None] PASSED [ 63%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env1-http://example.com] PASSED [ 63%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env2-http://example.com] PASSED [ 63%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://google.com-env3-None] PASSED [ 64%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env4-http://localhost:123] PASSED [ 64%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env5-None] PASSED [ 64%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env6-http://localhost:123] PASSED [ 64%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://127.0.0.1-env7-http://localhost:123] PASSED [ 64%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-http://courses.mit.edu-env8-None] PASSED [ 64%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env9-http://localhost:123] PASSED [ 65%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env10-None] PASSED [ 65%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env11-None] PASSED [ 65%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://mit.edu.info-env12-http://localhost:123] PASSED [ 65%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://foo.example.com-env13-http://localhost:123] PASSED [ 65%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://www.example1.com-env14-None] PASSED [ 65%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://www.example2.com-env15-http://localhost:123] PASSED [ 66%] >tests/client/test_proxies.py::test_proxies_environ[AsyncClient-https://www.example3.com-env16-None] PASSED [ 66%] >tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies0-False] PASSED [ 66%] >tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies1-False] PASSED [ 66%] >tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies2-False] PASSED [ 66%] >tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies3-True] PASSED [ 67%] >tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies4-True] PASSED [ 67%] >tests/client/test_proxies.py::test_for_deprecated_proxy_params[proxies5-True] PASSED [ 67%] >tests/client/test_queryparams.py::test_client_queryparams PASSED [ 67%] >tests/client/test_queryparams.py::test_client_queryparams_string PASSED [ 67%] >tests/client/test_queryparams.py::test_client_queryparams_echo PASSED [ 67%] >tests/client/test_redirects.py::test_redirect_301 PASSED [ 68%] >tests/client/test_redirects.py::test_redirect_302 PASSED [ 68%] >tests/client/test_redirects.py::test_redirect_303 PASSED [ 68%] >tests/client/test_redirects.py::test_next_request PASSED [ 68%] >tests/client/test_redirects.py::test_async_next_request[asyncio] PASSED [ 68%] >tests/client/test_redirects.py::test_head_redirect PASSED [ 68%] >tests/client/test_redirects.py::test_relative_redirect PASSED [ 69%] >tests/client/test_redirects.py::test_malformed_redirect PASSED [ 69%] >tests/client/test_redirects.py::test_invalid_redirect PASSED [ 69%] >tests/client/test_redirects.py::test_no_scheme_redirect PASSED [ 69%] >tests/client/test_redirects.py::test_fragment_redirect PASSED [ 69%] >tests/client/test_redirects.py::test_multiple_redirects PASSED [ 69%] >tests/client/test_redirects.py::test_async_too_many_redirects[asyncio] PASSED [ 70%] >tests/client/test_redirects.py::test_sync_too_many_redirects PASSED [ 70%] >tests/client/test_redirects.py::test_redirect_loop PASSED [ 70%] >tests/client/test_redirects.py::test_cross_domain_redirect_with_auth_header PASSED [ 70%] >tests/client/test_redirects.py::test_cross_domain_redirect_with_auth PASSED [ 70%] >tests/client/test_redirects.py::test_same_domain_redirect PASSED [ 70%] >tests/client/test_redirects.py::test_body_redirect PASSED [ 71%] >tests/client/test_redirects.py::test_no_body_redirect PASSED [ 71%] >tests/client/test_redirects.py::test_can_stream_if_no_redirect PASSED [ 71%] >tests/client/test_redirects.py::test_cannot_redirect_streaming_body PASSED [ 71%] >tests/client/test_redirects.py::test_cross_subdomain_redirect PASSED [ 71%] >tests/client/test_redirects.py::test_redirect_cookie_behavior PASSED [ 71%] >tests/client/test_redirects.py::test_redirect_custom_scheme PASSED [ 72%] >tests/client/test_redirects.py::test_async_invalid_redirect[asyncio] PASSED [ 72%] >tests/models/test_cookies.py::test_cookies PASSED [ 72%] >tests/models/test_cookies.py::test_cookies_update PASSED [ 72%] >tests/models/test_cookies.py::test_cookies_with_domain PASSED [ 72%] >tests/models/test_cookies.py::test_cookies_with_domain_and_path PASSED [ 72%] >tests/models/test_cookies.py::test_multiple_set_cookie PASSED [ 73%] >tests/models/test_cookies.py::test_cookies_can_be_a_list_of_tuples PASSED [ 73%] >tests/models/test_cookies.py::test_cookies_repr PASSED [ 73%] >tests/models/test_headers.py::test_headers PASSED [ 73%] >tests/models/test_headers.py::test_header_mutations PASSED [ 73%] >tests/models/test_headers.py::test_copy_headers_method PASSED [ 73%] >tests/models/test_headers.py::test_copy_headers_init PASSED [ 74%] >tests/models/test_headers.py::test_headers_insert_retains_ordering PASSED [ 74%] >tests/models/test_headers.py::test_headers_insert_appends_if_new PASSED [ 74%] >tests/models/test_headers.py::test_headers_insert_removes_all_existing PASSED [ 74%] >tests/models/test_headers.py::test_headers_delete_removes_all_existing PASSED [ 74%] >tests/models/test_headers.py::test_headers_dict_repr PASSED [ 74%] >tests/models/test_headers.py::test_headers_encoding_in_repr PASSED [ 75%] >tests/models/test_headers.py::test_headers_list_repr PASSED [ 75%] >tests/models/test_headers.py::test_headers_decode_ascii PASSED [ 75%] >tests/models/test_headers.py::test_headers_decode_utf_8 PASSED [ 75%] >tests/models/test_headers.py::test_headers_decode_iso_8859_1 PASSED [ 75%] >tests/models/test_headers.py::test_headers_decode_explicit_encoding PASSED [ 75%] >tests/models/test_headers.py::test_multiple_headers PASSED [ 76%] >tests/models/test_headers.py::test_sensitive_headers[authorization] PASSED [ 76%] >tests/models/test_headers.py::test_sensitive_headers[proxy-authorization] PASSED [ 76%] >tests/models/test_queryparams.py::test_queryparams[a=123&a=456&b=789] PASSED [ 76%] >tests/models/test_queryparams.py::test_queryparams[source1] PASSED [ 76%] >tests/models/test_queryparams.py::test_queryparams[source2] PASSED [ 76%] >tests/models/test_queryparams.py::test_queryparams[source3] PASSED [ 77%] >tests/models/test_queryparams.py::test_queryparams[source4] PASSED [ 77%] >tests/models/test_queryparams.py::test_queryparam_types PASSED [ 77%] >tests/models/test_queryparams.py::test_queryparam_update_is_hard_deprecated PASSED [ 77%] >tests/models/test_queryparams.py::test_queryparam_setter_is_hard_deprecated PASSED [ 77%] >tests/models/test_queryparams.py::test_queryparam_set PASSED [ 77%] >tests/models/test_queryparams.py::test_queryparam_add PASSED [ 78%] >tests/models/test_queryparams.py::test_queryparam_remove PASSED [ 78%] >tests/models/test_queryparams.py::test_queryparam_merge PASSED [ 78%] >tests/models/test_queryparams.py::test_queryparams_are_hashable PASSED [ 78%] >tests/models/test_requests.py::test_request_repr PASSED [ 78%] >tests/models/test_requests.py::test_no_content PASSED [ 78%] >tests/models/test_requests.py::test_content_length_header PASSED [ 79%] >tests/models/test_requests.py::test_iterable_content PASSED [ 79%] >tests/models/test_requests.py::test_generator_with_transfer_encoding_header PASSED [ 79%] >tests/models/test_requests.py::test_generator_with_content_length_header PASSED [ 79%] >tests/models/test_requests.py::test_url_encoded_data PASSED [ 79%] >tests/models/test_requests.py::test_json_encoded_data PASSED [ 79%] >tests/models/test_requests.py::test_headers PASSED [ 80%] >tests/models/test_requests.py::test_read_and_stream_data PASSED [ 80%] >tests/models/test_requests.py::test_aread_and_stream_data PASSED [ 80%] >tests/models/test_requests.py::test_cannot_access_streaming_content_without_read PASSED [ 80%] >tests/models/test_requests.py::test_transfer_encoding_header PASSED [ 80%] >tests/models/test_requests.py::test_ignore_transfer_encoding_header_if_content_length_exists PASSED [ 80%] >tests/models/test_requests.py::test_override_host_header PASSED [ 81%] >tests/models/test_requests.py::test_override_accept_encoding_header PASSED [ 81%] >tests/models/test_requests.py::test_override_content_length_header PASSED [ 81%] >tests/models/test_requests.py::test_url PASSED [ 81%] >tests/models/test_requests.py::test_request_picklable PASSED [ 81%] >tests/models/test_requests.py::test_request_async_streaming_content_picklable PASSED [ 81%] >tests/models/test_requests.py::test_request_generator_content_picklable PASSED [ 82%] >tests/models/test_responses.py::test_response PASSED [ 82%] >tests/models/test_responses.py::test_response_content PASSED [ 82%] >tests/models/test_responses.py::test_response_text PASSED [ 82%] >tests/models/test_responses.py::test_response_html PASSED [ 82%] >tests/models/test_responses.py::test_response_json PASSED [ 82%] >tests/models/test_responses.py::test_raise_for_status PASSED [ 83%] >tests/models/test_responses.py::test_response_repr PASSED [ 83%] >tests/models/test_responses.py::test_response_content_type_encoding PASSED [ 83%] >tests/models/test_responses.py::test_response_autodetect_encoding PASSED [ 83%] >tests/models/test_responses.py::test_response_fallback_to_autodetect PASSED [ 83%] >tests/models/test_responses.py::test_response_no_charset_with_ascii_content PASSED [ 83%] >tests/models/test_responses.py::test_response_no_charset_with_utf8_content PASSED [ 84%] >tests/models/test_responses.py::test_response_no_charset_with_iso_8859_1_content PASSED [ 84%] >tests/models/test_responses.py::test_response_no_charset_with_cp_1252_content PASSED [ 84%] >tests/models/test_responses.py::test_response_non_text_encoding PASSED [ 84%] >tests/models/test_responses.py::test_response_set_explicit_encoding PASSED [ 84%] >tests/models/test_responses.py::test_response_force_encoding PASSED [ 84%] >tests/models/test_responses.py::test_read PASSED [ 85%] >tests/models/test_responses.py::test_empty_read PASSED [ 85%] >tests/models/test_responses.py::test_aread PASSED [ 85%] >tests/models/test_responses.py::test_empty_aread PASSED [ 85%] >tests/models/test_responses.py::test_iter_raw PASSED [ 85%] >tests/models/test_responses.py::test_iter_raw_with_chunksize PASSED [ 85%] >tests/models/test_responses.py::test_iter_raw_on_iterable PASSED [ 86%] >tests/models/test_responses.py::test_iter_raw_on_async PASSED [ 86%] >tests/models/test_responses.py::test_close_on_async PASSED [ 86%] >tests/models/test_responses.py::test_iter_raw_increments_updates_counter PASSED [ 86%] >tests/models/test_responses.py::test_aiter_raw PASSED [ 86%] >tests/models/test_responses.py::test_aiter_raw_with_chunksize PASSED [ 86%] >tests/models/test_responses.py::test_aiter_raw_on_sync PASSED [ 87%] >tests/models/test_responses.py::test_aclose_on_sync PASSED [ 87%] >tests/models/test_responses.py::test_aiter_raw_increments_updates_counter PASSED [ 87%] >tests/models/test_responses.py::test_iter_bytes PASSED [ 87%] >tests/models/test_responses.py::test_iter_bytes_with_chunk_size PASSED [ 87%] >tests/models/test_responses.py::test_aiter_bytes PASSED [ 87%] >tests/models/test_responses.py::test_aiter_bytes_with_chunk_size PASSED [ 88%] >tests/models/test_responses.py::test_iter_text PASSED [ 88%] >tests/models/test_responses.py::test_iter_text_with_chunk_size PASSED [ 88%] >tests/models/test_responses.py::test_aiter_text PASSED [ 88%] >tests/models/test_responses.py::test_aiter_text_with_chunk_size PASSED [ 88%] >tests/models/test_responses.py::test_iter_lines PASSED [ 88%] >tests/models/test_responses.py::test_aiter_lines PASSED [ 89%] >tests/models/test_responses.py::test_sync_streaming_response PASSED [ 89%] >tests/models/test_responses.py::test_async_streaming_response PASSED [ 89%] >tests/models/test_responses.py::test_cannot_read_after_stream_consumed PASSED [ 89%] >tests/models/test_responses.py::test_cannot_aread_after_stream_consumed PASSED [ 89%] >tests/models/test_responses.py::test_cannot_read_after_response_closed PASSED [ 89%] >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 [ 90%] >tests/models/test_responses.py::test_json_with_specified_encoding PASSED [ 90%] >tests/models/test_responses.py::test_json_with_options PASSED [ 90%] >tests/models/test_responses.py::test_json_without_specified_encoding PASSED [ 90%] >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 [ 91%] >tests/models/test_responses.py::test_link_headers[headers1-expected1] PASSED [ 91%] >tests/models/test_responses.py::test_decode_error_with_request[deflate] PASSED [ 91%] >tests/models/test_responses.py::test_decode_error_with_request[gzip] PASSED [ 91%] >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 [ 92%] >tests/models/test_responses.py::test_response_with_unset_request PASSED [ 92%] >tests/models/test_responses.py::test_set_request_after_init PASSED [ 92%] >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 [ 93%] >tests/models/test_responses.py::test_response_async_streaming_picklable PASSED [ 93%] >tests/models/test_url.py::test_idna_url[http_with_port] PASSED [ 93%] >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 [ 94%] >tests/models/test_url.py::test_idna_url[https_with_custom_port] PASSED [ 94%] >tests/models/test_url.py::test_url PASSED [ 94%] >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 [ 95%] >tests/models/test_url.py::test_url_remove_param_manipulation PASSED [ 95%] >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 [ 96%] >tests/models/test_url.py::test_url_copywith_netloc PASSED [ 96%] >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 [ 97%] >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 [ 98%] >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 <class 'json.decoder.JSONDecodeError'> > >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 = <Response [200 OK]> > >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 <class 'json.decoder.JSONDecodeError'> > >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 = <Response [200 OK]> > >tests/models/test_responses.py:759: Failed >=========================================== warnings summary =========================================== >tests/test_timeouts.py::test_write_timeout[asyncio] > /usr/lib/python3.9/asyncio/base_events.py:424: ResourceWarning: unclosed <socket.socket fd=22, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 52400), raddr=('127.0.0.1', 8000)> > return futures.Future(loop=self) > >tests/test_timeouts.py::test_write_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/client/test_async_client.py::test_100_continue[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) > >-- Docs: https://docs.pytest.org/en/stable/warnings.html >======================================= short test summary info ======================================== >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, 595 passed, 2 deselected, 3 warnings in 14.19s ======================= > [31;01m*[0m ERROR: dev-python/httpx-0.18.2::gentoo failed (test phase): > [31;01m*[0m pytest failed with python3.9 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 127: Called src_test > [31;01m*[0m environment, line 2885: Called distutils-r1_src_test > [31;01m*[0m environment, line 1233: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 475: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2546: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2073: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2071: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 789: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1172: Called python_test > [31;01m*[0m environment, line 2844: Called epytest '--deselect' 'tests/client/test_proxies.py::test_async_proxy_close' '--deselect' 'tests/client/test_proxies.py::test_sync_proxy_close' > [31;01m*[0m environment, line 1591: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${@}" || die -n "pytest failed with ${EPYTHON}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/httpx-0.18.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/httpx-0.18.2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-python/httpx-0.18.2:20210731-210844.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/httpx-0.18.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/httpx-0.18.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2' > [31;01m*[0m S: '/var/tmp/portage/dev-python/httpx-0.18.2/work/httpx-0.18.2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 802195
:
723892
|
723895
|
723898
| 728916