* Package: dev-python/httplib2-0.19.1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: elibc_glibc kernel_linux python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 sparc test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking httplib2-0.19.1.tar.gz to /var/tmp/portage/dev-python/httplib2-0.19.1/work >>> Source unpacked in /var/tmp/portage/dev-python/httplib2-0.19.1/work >>> Preparing source in /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1 ... * Applying httplib2-0.12.1-use-system-cacerts.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 150 running build running build_py creating /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 copying python3/httplib2/socks.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 copying python3/httplib2/__init__.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 copying python3/httplib2/iri2uri.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 copying python3/httplib2/error.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 copying python3/httplib2/certs.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 copying python3/httplib2/auth.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 copying python3/httplib2/cacerts.txt -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_7/lib/httplib2 warning: build_py: byte-compiling is disabled, skipping. * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build -j 150 running build running build_py creating /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 copying python3/httplib2/socks.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 copying python3/httplib2/__init__.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 copying python3/httplib2/iri2uri.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 copying python3/httplib2/error.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 copying python3/httplib2/certs.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 copying python3/httplib2/auth.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 copying python3/httplib2/cacerts.txt -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_8/lib/httplib2 warning: build_py: byte-compiling is disabled, skipping. * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 150 running build running build_py creating /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 copying python3/httplib2/socks.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 copying python3/httplib2/__init__.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 copying python3/httplib2/iri2uri.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 copying python3/httplib2/error.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 copying python3/httplib2/certs.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 copying python3/httplib2/auth.py -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 copying python3/httplib2/cacerts.txt -> /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1-python3_9/lib/httplib2 warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/httplib2-0.19.1 * python3_7: running distutils-r1_run_phase python_test python3.7 -m pytest -vv -ra -l --deselect tests/test_cacerts_from_env.py::test_certs_file_from_builtin --deselect tests/test_cacerts_from_env.py::test_certs_file_from_environment --deselect tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules --deselect tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname --deselect tests/test_proxy.py::test_socks5_auth tests ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1, configfile: setup.cfg plugins: timeout-1.4.2 timeout: 17.0s timeout method: signal timeout func_only: False collecting ... collected 195 items / 5 deselected / 190 selected tests/test_auth.py::test_credentials PASSED [ 0%] tests/test_auth.py::test_basic PASSED [ 1%] tests/test_auth.py::test_basic_for_domain PASSED [ 1%] tests/test_auth.py::test_basic_two_credentials PASSED [ 2%] tests/test_auth.py::test_digest PASSED [ 2%] tests/test_auth.py::test_digest_next_nonce_nc PASSED [ 3%] tests/test_auth.py::test_digest_auth_stale PASSED [ 3%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{}] PASSED [ 4%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': ''}] PASSED [ 4%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Test realm="test realm" , foo=foo ,bar="bar", baz=baz,qux=qux'}] PASSED [ 5%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'T*!%#st realm=to*!%#en, to*!%#en="quoted string"'}] PASSED [ 5%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Test realm="a \\\\"test\\\\" realm"'}] PASSED [ 6%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me"'}] PASSED [ 6%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me", algorithm="MD5"'}] PASSED [ 7%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me", algorithm=MD5'}] PASSED [ 7%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me",other="fred" '}] PASSED [ 8%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic REAlm="me" '}] PASSED [ 8%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="digest1", qop="auth,auth-int", nonce="7102dd2", opaque="e9517f"'}] PASSED [ 9%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="2-comma-d", qop="auth-int", nonce="c0c8ff1", Basic realm="2-comma-b"'}] PASSED [ 10%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="com3d", Basic realm="com3b", WSSE realm="com3w", profile="token"'}] PASSED [ 10%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="myrealm", nonce="KBAA=3", algorithm=MD5, qop="auth", stale=true'}] PASSED [ 11%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': "Basic param='single quote'"}] PASSED [ 11%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{}] PASSED [ 12%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': ''}] PASSED [ 12%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Test realm="test realm" , foo=foo ,bar="bar", baz=baz,qux=qux'}] PASSED [ 13%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'T*!%#st realm=to*!%#en, to*!%#en="quoted string"'}] PASSED [ 13%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Test realm="a \\\\"test\\\\" realm"'}] PASSED [ 14%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me"'}] PASSED [ 14%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me", algorithm="MD5"'}] PASSED [ 15%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me", algorithm=MD5'}] PASSED [ 15%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me",other="fred" '}] PASSED [ 16%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic REAlm="me" '}] PASSED [ 16%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="digest1", qop="auth,auth-int", nonce="7102dd2", opaque="e9517f"'}] PASSED [ 17%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="2-comma-d", qop="auth-int", nonce="c0c8ff1", Basic realm="2-comma-b"'}] PASSED [ 17%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="com3d", Basic realm="com3b", WSSE realm="com3w", profile="token"'}] PASSED [ 18%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="myrealm", nonce="KBAA=3", algorithm=MD5, qop="auth", stale=true'}] PASSED [ 18%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': "Basic param='single quote'"}] PASSED [ 19%] tests/test_auth.py::test_parse_www_authenticate_malformed[{'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Invalid OAuth access token."'}] PASSED [ 20%] tests/test_auth.py::test_parse_www_authenticate_complexity PASSED [ 20%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Basic realm="me", algorithm="MD5"] SKIPPED [ 21%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Digest realm="digest1", qop="auth,auth-int", nonce="7102dd2", opaque="e9517f"] SKIPPED [ 21%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Digest realm="2-comma-d", qop="auth-int", nonce="c0c8ff1", Basic realm="2-comma-b"] SKIPPED [ 22%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Bearer 0b79bab50daca910b000d4f1a2b675d604257e42] SKIPPED [ 22%] tests/test_auth.py::test_digest_object PASSED [ 23%] tests/test_auth.py::test_digest_object_with_opaque PASSED [ 23%] tests/test_auth.py::test_digest_object_stale PASSED [ 24%] tests/test_auth.py::test_digest_object_auth_info PASSED [ 24%] tests/test_auth.py::test_wsse_algorithm PASSED [ 25%] tests/test_auth.py::test_wsse_invalid PASSED [ 25%] tests/test_auth.py::test_wsse_ok PASSED [ 26%] tests/test_cacerts_from_env.py::test_certs_file_from_certifi PASSED [ 26%] tests/test_cacerts_from_env.py::test_certs_file_from_custom_getter PASSED [ 27%] tests/test_cache.py::test_get_only_if_cached_cache_hit PASSED [ 27%] tests/test_cache.py::test_get_only_if_cached_cache_miss PASSED [ 28%] tests/test_cache.py::test_get_only_if_cached_no_cache_at_all PASSED [ 28%] tests/test_cache.py::test_TODO_vary_no SKIPPED (was commented in leg...) [ 29%] tests/test_cache.py::test_vary_header_is_sent PASSED [ 30%] tests/test_cache.py::test_vary_header_double PASSED [ 30%] tests/test_cache.py::test_vary_unused_header PASSED [ 31%] tests/test_cache.py::test_get_cache_control_no_cache PASSED [ 31%] tests/test_cache.py::test_get_cache_control_pragma_no_cache PASSED [ 32%] tests/test_cache.py::test_get_cache_control_no_store_request PASSED [ 32%] tests/test_cache.py::test_get_cache_control_no_store_response PASSED [ 33%] tests/test_cache.py::test_get_cache_control_no_cache_no_store_request PASSED [ 33%] tests/test_cache.py::test_update_invalidates_cache PASSED [ 34%] tests/test_cache.py::test_update_uses_cached_etag[PUT] PASSED [ 34%] tests/test_cache.py::test_update_uses_cached_etag[PATCH] PASSED [ 35%] tests/test_cache.py::test_update_uses_cached_etag_and_oc_method PASSED [ 35%] tests/test_cache.py::test_update_uses_cached_etag_overridden PASSED [ 36%] tests/test_cache.py::test_parse_cache_control[{}] PASSED [ 36%] tests/test_cache.py::test_parse_cache_control[{'cache-control': ' no-cache'}] PASSED [ 37%] tests/test_cache.py::test_parse_cache_control[{'cache-control': ' no-store, max-age = 7200'}] PASSED [ 37%] tests/test_cache.py::test_parse_cache_control[{'cache-control': ' , '}] PASSED [ 38%] tests/test_cache.py::test_parse_cache_control[{'cache-control': 'Max-age=3600;post-check=1800,pre-check=3600'}] PASSED [ 38%] tests/test_cache.py::test_normalize_headers PASSED [ 39%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'no-cache'}, {'cache-control': 'max-age=7200'}, 'TRANSPARENT')] PASSED [ 40%] tests/test_cache.py::test_entry_disposition[({}, {'cache-control': 'max-age=fred, min-fresh=barney'}, 'STALE')] PASSED [ 40%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'expires': '{now+3}'}, 'FRESH')] PASSED [ 41%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'expires': '{now+3}', 'cache-control': 'no-cache'}, 'STALE')] PASSED [ 41%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'must-revalidate'}, {}, 'STALE')] PASSED [ 42%] tests/test_cache.py::test_entry_disposition[({}, {'cache-control': 'must-revalidate'}, 'STALE')] PASSED [ 42%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'cache-control': 'max-age=0'}, 'STALE')] PASSED [ 43%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'only-if-cached'}, {}, 'FRESH')] PASSED [ 43%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'expires': '0'}, 'STALE')] PASSED [ 44%] tests/test_cache.py::test_entry_disposition[({}, {'data': '{now+3}'}, 'STALE')] PASSED [ 44%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'max-age=0'}, {'date': '{now}', 'cache-control': 'max-age=2'}, 'STALE')] PASSED [ 45%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'min-fresh=2'}, {'date': '{now}', 'expires': '{now+2}'}, 'STALE')] PASSED [ 45%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'min-fresh=2'}, {'date': '{now}', 'expires': '{now+4}'}, 'FRESH')] PASSED [ 46%] tests/test_cache.py::test_expiration_model_fresh PASSED [ 46%] tests/test_cache.py::test_expiration_model_date_and_expires PASSED [ 47%] tests/test_encoding.py::test_gzip_head PASSED [ 47%] tests/test_encoding.py::test_gzip_get PASSED [ 48%] tests/test_encoding.py::test_gzip_post_response PASSED [ 48%] tests/test_encoding.py::test_gzip_malformed_response PASSED [ 49%] tests/test_encoding.py::test_deflate_get PASSED [ 50%] tests/test_encoding.py::test_deflate_malformed_response PASSED [ 50%] tests/test_http.py::test_connection_type PASSED [ 51%] tests/test_http.py::test_bad_status_line_retry PASSED [ 51%] tests/test_http.py::test_unknown_server PASSED [ 52%] tests/test_http.py::test_connection_refused_raises_exception PASSED [ 52%] tests/test_http.py::test_connection_refused_returns_response PASSED [ 53%] tests/test_http.py::test_get_iri PASSED [ 53%] tests/test_http.py::test_get_is_default_method PASSED [ 54%] tests/test_http.py::test_different_methods PASSED [ 54%] tests/test_http.py::test_head_read PASSED [ 55%] tests/test_http.py::test_get_no_cache PASSED [ 55%] tests/test_http.py::test_user_agent PASSED [ 56%] tests/test_http.py::test_user_agent_non_default PASSED [ 56%] tests/test_http.py::test_get_300_with_location PASSED [ 57%] tests/test_http.py::test_get_300_with_location_noredirect PASSED [ 57%] tests/test_http.py::test_get_300_without_location PASSED [ 58%] tests/test_http.py::test_get_301 PASSED [ 58%] tests/test_http.py::test_head_301 SKIPPED (FIXME: timeout on Travis ...) [ 59%] tests/test_http.py::test_get_301_no_redirect XFAIL (FIXME: 301 cache...) [ 60%] tests/test_http.py::test_get_302 PASSED [ 60%] tests/test_http.py::test_get_302_redirection_limit PASSED [ 61%] tests/test_http.py::test_get_302_no_location PASSED [ 61%] tests/test_http.py::test_303 SKIPPED (FIXME: timeout on Travis py27 ...) [ 62%] tests/test_http.py::test_etag_used PASSED [ 62%] tests/test_http.py::test_etag_ignore PASSED [ 63%] tests/test_http.py::test_etag_override PASSED [ 63%] tests/test_http.py::test_get_304_end_to_end SKIPPED (was commented i...) [ 64%] tests/test_http.py::test_get_304_last_modified PASSED [ 64%] tests/test_http.py::test_get_307 PASSED [ 65%] tests/test_http.py::test_post_307 PASSED [ 65%] tests/test_http.py::test_change_308 PASSED [ 66%] tests/test_http.py::test_get_410 PASSED [ 66%] tests/test_http.py::test_get_duplicate_headers PASSED [ 67%] tests/test_http.py::test_custom_redirect_codes PASSED [ 67%] tests/test_http.py::test_cwe93_inject_crlf PASSED [ 68%] tests/test_http.py::test_inject_space FAILED [ 68%] tests/test_https.py::test_get_via_https PASSED [ 69%] tests/test_https.py::test_get_301_via_https PASSED [ 70%] tests/test_https.py::test_get_301_via_https_spec_violation_on_location PASSED [ 70%] tests/test_https.py::test_invalid_ca_certs_path PASSED [ 71%] tests/test_https.py::test_not_trusted_ca PASSED [ 71%] tests/test_https.py::test_set_min_tls_version PASSED [ 72%] tests/test_https.py::test_set_max_tls_version PASSED [ 72%] tests/test_https.py::test_min_tls_version PASSED [ 73%] tests/test_https.py::test_max_tls_version PASSED [ 73%] tests/test_https.py::test_client_cert_verified PASSED [ 74%] tests/test_https.py::test_client_cert_password_verified PASSED [ 74%] tests/test_https.py::test_sni_set_servername_callback PASSED [ 75%] tests/test_other.py::test_convert_byte_str PASSED [ 75%] tests/test_other.py::test_reflect PASSED [ 76%] tests/test_other.py::test_pickle_http PASSED [ 76%] tests/test_other.py::test_pickle_http_with_connection PASSED [ 77%] tests/test_other.py::test_pickle_custom_request_http PASSED [ 77%] tests/test_other.py::test_timeout_global XPASS (FIXME: for unknown r...) [ 78%] tests/test_other.py::test_timeout_individual PASSED [ 78%] tests/test_other.py::test_timeout_subsequent PASSED [ 79%] tests/test_other.py::test_timeout_https PASSED [ 80%] tests/test_other.py::test_connection_close PASSED [ 80%] tests/test_other.py::test_get_end2end_headers PASSED [ 81%] tests/test_other.py::test_ipv6[http] PASSED [ 81%] tests/test_other.py::test_ipv6[https] PASSED [ 82%] tests/test_other.py::test_connection_proxy_info_attribute_error[HTTPConnectionWithTimeout] PASSED [ 82%] tests/test_other.py::test_connection_proxy_info_attribute_error[HTTPSConnectionWithTimeout] PASSED [ 83%] tests/test_other.py::test_http_443_forced_https PASSED [ 83%] tests/test_other.py::test_close PASSED [ 84%] tests/test_other.py::test_connect_exception_type PASSED [ 84%] tests/test_proxy.py::test_from_url PASSED [ 85%] tests/test_proxy.py::test_from_url_ident PASSED [ 85%] tests/test_proxy.py::test_from_env PASSED [ 86%] tests/test_proxy.py::test_from_env_https PASSED [ 86%] tests/test_proxy.py::test_from_env_none PASSED [ 87%] tests/test_proxy.py::test_applies_to PASSED [ 87%] tests/test_proxy.py::test_noproxy_trailing_comma PASSED [ 88%] tests/test_proxy.py::test_noproxy_star PASSED [ 88%] tests/test_proxy.py::test_headers PASSED [ 89%] tests/test_proxy.py::test_auth_str_bytes PASSED [ 90%] tests/test_proxy.py::test_functional_noproxy_star_http PASSED [ 90%] tests/test_proxy.py::test_functional_noproxy_star_https PASSED [ 91%] tests/test_uri.py::test_from_std66 PASSED [ 91%] tests/test_uri.py::test_norm PASSED [ 92%] tests/test_uri.py::test_safename[('', ',d41d8cd98f00b204e9800998ecf8427e')] PASSED [ 92%] tests/test_uri.py::test_safename[('http://example.org/fred/?a=b', 'example.orgfreda=b,58489f63a7a83c3b7794a6a398ee8b1f')] PASSED [ 93%] tests/test_uri.py::test_safename[('http://example.org/fred?/a=b', 'example.orgfreda=b,8c5946d56fec453071f43329ff0be46b')] PASSED [ 93%] tests/test_uri.py::test_safename[('http://www.example.org/fred?/a=b', 'www.example.orgfreda=b,499c44b8d844a011b67ea2c015116968')] PASSED [ 94%] tests/test_uri.py::test_safename[('https://www.example.org/fred?/a=b', 'www.example.orgfreda=b,692e843a333484ce0095b070497ab45d')] PASSED [ 94%] tests/test_uri.py::test_safename[('http://www/', 'www,1c73b6efd55cef1164fc084ecc331965')] PASSED [ 95%] tests/test_uri.py::test_safename[('http://\u2304.org/fred/?a=b', '.orgfreda=b,ecaf0f97756c0716de76f593bd60a35e')] PASSED [ 95%] tests/test_uri.py::test_safename[('normal-resource-name.js', 'normal-resource-name.js,8ff7c46fd6e61bf4e91a0a1606954a54')] PASSED [ 96%] tests/test_uri.py::test_safename[('foo://dom/path/brath/carapath', 'dompathbrathcarapath,83db942781ed975c7a5b7c24039f8ca3')] PASSED [ 96%] tests/test_uri.py::test_safename[('with/slash', 'withslash,17cc656656bb8ce2411bd41ead56d176')] PASSED [ 97%] tests/test_uri.py::test_safename[('thisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuch', 'thisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuc,c4553439dd179422c6acf6a8ac093eb6')] PASSED [ 97%] tests/test_uri.py::test_safename[('\u043f\u0440', ',9f18c0db74a9734e9d18461e16345083')] PASSED [ 98%] tests/test_uri.py::test_safename[(b'\\xd0\\xbf\\xd1\\x80', ',9f18c0db74a9734e9d18461e16345083')] PASSED [ 98%] tests/test_uri.py::test_safename[(b'column\\tvalues/unstr.zip', 'columnvaluesunstr.zip,b9740dcd0553e11b526450ceb8f76683')] PASSED [ 99%] tests/test_uri.py::test_safename2 PASSED [100%] =================================== FAILURES =================================== ______________________________ test_inject_space _______________________________ tests/test_http.py:738: in test_inject_space assert req.uri == "/?q=%20HTTP/1.1%0D%0Aignore-http:" E AssertionError: assert '/?q=%20HTTP/1.1ignore-http:' == '/?q=%20HTTP/1.1%0D%0Aignore-http:' E - /?q=%20HTTP/1.1%0D%0Aignore-http: E ? ------ E + /?q=%20HTTP/1.1ignore-http: content = (b'GET /?q=%20HTTP/1.1ignore-http: HTTP/1.1\r\nHost: localhost:36919\r\nuser-ag' b'ent: Python-httplib2/0.19.1 (gzip)\r\naccept-encoding: gzip, deflate\r\n' b'\r\n') danger_url = 'http://localhost:36919/?q= HTTP/1.1ignore-http:' http = req = {'headers': {'host': 'localhost:36919', 'user-agent': 'Python-httplib2/0.19.1 (gzip)', 'accept-encoding': 'gzip, deflate'}, 'raw': b'GET /?q=%20HTTP/1.1ignore-http: HTTP/1.1\r\nHost: localhost:36919\r\nuser-agent: Python-httplib2/0.19.1 (gzip)\r\naccept-encoding: gzip, deflate\r\n\r\n', 'method': 'GET', 'uri': '/?q=%20HTTP/1.1ignore-http:', 'proto': 'HTTP/1.1', 'version': '1.1', 'body': b'', 'body_raw': b''} response = {'content-length': '142', 'content-location': 'http://localhost:36919/?q=%20HTTP/1.1ignore-http:', 'status': '200'} uri = 'http://localhost:36919/' =============================== warnings summary =============================== ../../../../../../../usr/lib/python3.7/site-packages/_pytest/config/__init__.py:1184 /usr/lib/python3.7/site-packages/_pytest/config/__init__.py:1184: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead. _pytest.deprecated.STRICT_OPTION, stacklevel=2 -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ SKIPPED [4] tests/test_auth.py:249: benchmark disabled by default, set env httplib2_test_bench=1 SKIPPED [1] tests/test_cache.py:48: was commented in legacy code SKIPPED [1] tests/test_http.py:253: FIXME: timeout on Travis py27 and pypy, works elsewhere SKIPPED [1] tests/test_http.py:404: FIXME: timeout on Travis py27 and pypy, works elsewhere SKIPPED [1] tests/test_http.py:557: was commented in legacy code XFAIL tests/test_http.py::test_get_301_no_redirect FIXME: 301 cache works only with follow_redirects, should work regardless XPASS tests/test_other.py::test_timeout_global FIXME: for unknown reason global timeout test fails in Python3 with response 200 FAILED tests/test_http.py::test_inject_space - AssertionError: assert '/?q=%2... = 1 failed, 179 passed, 8 skipped, 5 deselected, 1 xfailed, 1 xpassed, 1 warning in 13.10s = * ERROR: dev-python/httplib2-0.19.1::gentoo failed (test phase): * pytest failed with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2776: Called distutils-r1_src_test * environment, line 1190: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 430: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2450: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1982: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1980: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 747: Called distutils-r1_run_phase 'python_test' * environment, line 1129: Called python_test * environment, line 2735: Called epytest '--deselect' 'tests/test_cacerts_from_env.py::test_certs_file_from_builtin' '--deselect' 'tests/test_cacerts_from_env.py::test_certs_file_from_environment' '--deselect' 'tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules' '--deselect' 'tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname' '--deselect' 'tests/test_proxy.py::test_socks5_auth' 'tests' * environment, line 1503: 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/httplib2-0.19.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/httplib2-0.19.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/httplib2-0.19.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/httplib2-0.19.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1' * S: '/var/tmp/portage/dev-python/httplib2-0.19.1/work/httplib2-0.19.1'