Mock Version: 1.4.19 Mock Version: 1.4.19 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-requests.spec'], chrootPath='/var/lib/mock/f32-build-17921060-1285806/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-requests.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 96: %endif # tests Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1571702400 Wrote: /builddir/build/SRPMS/python-requests-2.22.0-7.fc32.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-requests.spec'], chrootPath='/var/lib/mock/f32-build-17921060-1285806/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-requests.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 96: %endif # tests Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1571702400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VDIxE5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf requests-2.22.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/requests-v2.22.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd requests-2.22.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/patch-requests-certs.py-to-use-the-system-CA-bundle.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/Remove-tests-that-use-the-tarpit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/requests-2.12.4-tests_nonet.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/Don-t-inject-pyopenssl-into-urllib3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/requests-2.20.0-no-py2-httpbin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/support-pytest-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf requests/cacert.pem + sed -i '/#!\/usr\/.*python/d' requests/certs.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.E0iw74 + umask 022 + cd /builddir/build/BUILD + cd requests-2.22.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/requests copying requests/structures.py -> build/lib/requests copying requests/models.py -> build/lib/requests copying requests/utils.py -> build/lib/requests copying requests/api.py -> build/lib/requests copying requests/exceptions.py -> build/lib/requests copying requests/compat.py -> build/lib/requests copying requests/packages.py -> build/lib/requests copying requests/adapters.py -> build/lib/requests copying requests/help.py -> build/lib/requests copying requests/__version__.py -> build/lib/requests copying requests/cookies.py -> build/lib/requests copying requests/_internal_utils.py -> build/lib/requests copying requests/hooks.py -> build/lib/requests copying requests/auth.py -> build/lib/requests copying requests/status_codes.py -> build/lib/requests copying requests/sessions.py -> build/lib/requests copying requests/certs.py -> build/lib/requests copying requests/__init__.py -> build/lib/requests running egg_info creating requests.egg-info writing requests.egg-info/PKG-INFO writing dependency_links to requests.egg-info/dependency_links.txt writing requirements to requests.egg-info/requires.txt writing top-level names to requests.egg-info/top_level.txt writing manifest file 'requests.egg-info/SOURCES.txt' reading manifest file 'requests.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'NOTICE' warning: no files found matching 'requirements.txt' writing manifest file 'requests.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CyMQl4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch ++ dirname /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch + cd requests-2.22.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr creating /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib creating /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8 creating /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages creating /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/structures.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/models.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/utils.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/api.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/exceptions.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/compat.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/packages.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/adapters.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/help.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/__version__.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/cookies.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/_internal_utils.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/hooks.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/auth.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/status_codes.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/sessions.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/certs.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests copying build/lib/requests/__init__.py -> /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/structures.py to structures.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/models.py to models.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/utils.py to utils.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/api.py to api.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/exceptions.py to exceptions.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/compat.py to compat.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/packages.py to packages.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/adapters.py to adapters.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/help.py to help.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/__version__.py to __version__.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/cookies.py to cookies.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/_internal_utils.py to _internal_utils.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/hooks.py to hooks.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/auth.py to auth.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/status_codes.py to status_codes.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/sessions.py to sessions.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/certs.py to certs.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests/__init__.py to __init__.cpython-38.pyc writing byte-compilation script '/tmp/tmpkpxh1pk3.py' /usr/bin/python3 /tmp/tmpkpxh1pk3.py removing /tmp/tmpkpxh1pk3.py running install_egg_info running egg_info writing requests.egg-info/PKG-INFO writing dependency_links to requests.egg-info/dependency_links.txt writing requirements to requests.egg-info/requires.txt writing top-level names to requests.egg-info/top_level.txt reading manifest file 'requests.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'NOTICE' warning: no files found matching 'requirements.txt' writing manifest file 'requests.egg-info/SOURCES.txt' Copying requests.egg-info to /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages/requests-2.22.0-py3.8.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 2.22.0-7.fc32 --unique-debug-suffix -2.22.0-7.fc32.noarch --unique-debug-src-base python-requests-2.22.0-7.fc32.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/requests-2.22.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vthgs8 + umask 022 + cd /builddir/build/BUILD + cd requests-2.22.0 + PYTHONPATH=/builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/lib/python3.8/site-packages + /usr/bin/python3 -m pytest -v ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-4.6.5, py-1.8.0, pluggy-0.12.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/requests-2.22.0, inifile: pytest.ini plugins: cov-2.8.1, httpbin-0.3.0, mock-1.10.4 collecting ... collected 540 items tests/test_help.py::test_system_ssl PASSED [ 0%] tests/test_help.py::test_idna_without_version_attribute PASSED [ 0%] tests/test_help.py::test_idna_with_version_attribute PASSED [ 0%] tests/test_hooks.py::test_hooks[hook-ata] PASSED [ 0%] tests/test_hooks.py::test_hooks[hooks_list1-ta] PASSED [ 0%] tests/test_hooks.py::test_default_hooks PASSED [ 1%] tests/test_lowlevel.py::test_chunked_upload PASSED [ 1%] tests/test_lowlevel.py::test_digestauth_401_count_reset_on_redirect PASSED [ 1%] tests/test_lowlevel.py::test_digestauth_401_only_sent_once PASSED [ 1%] tests/test_lowlevel.py::test_digestauth_only_on_4xx PASSED [ 1%] tests/test_lowlevel.py::test_use_proxy_from_environment[http_proxy-http] PASSED [ 2%] tests/test_lowlevel.py::test_use_proxy_from_environment[https_proxy-https] PASSED [ 2%] tests/test_lowlevel.py::test_use_proxy_from_environment[all_proxy-http] PASSED [ 2%] tests/test_lowlevel.py::test_use_proxy_from_environment[all_proxy-https] PASSED [ 2%] tests/test_lowlevel.py::test_use_proxy_from_environment[HTTP_PROXY-http] PASSED [ 2%] tests/test_lowlevel.py::test_use_proxy_from_environment[HTTPS_PROXY-https] PASSED [ 2%] tests/test_lowlevel.py::test_use_proxy_from_environment[ALL_PROXY-http] PASSED [ 3%] tests/test_lowlevel.py::test_use_proxy_from_environment[ALL_PROXY-https] PASSED [ 3%] tests/test_lowlevel.py::test_redirect_rfc1808_to_non_ascii_location PASSED [ 3%] tests/test_lowlevel.py::test_fragment_not_sent_with_request PASSED [ 3%] tests/test_lowlevel.py::test_fragment_update_on_redirect PASSED [ 3%] tests/test_packages.py::test_can_access_urllib3_attribute PASSED [ 4%] tests/test_packages.py::test_can_access_idna_attribute PASSED [ 4%] tests/test_packages.py::test_can_access_chardet_attribute PASSED [ 4%] tests/test_requests.py::TestRequests::test_entry_points PASSED [ 4%] tests/test_requests.py::TestRequests::test_invalid_url[MissingSchema-hiwpefhipowhefopw] PASSED [ 4%] tests/test_requests.py::TestRequests::test_invalid_url[InvalidSchema-localhost:3128] PASSED [ 5%] tests/test_requests.py::TestRequests::test_invalid_url[InvalidSchema-localhost.localdomain:3128/] PASSED [ 5%] tests/test_requests.py::TestRequests::test_invalid_url[InvalidSchema-10.122.1.1:3128/] PASSED [ 5%] tests/test_requests.py::TestRequests::test_invalid_url[InvalidURL-http://] PASSED [ 5%] tests/test_requests.py::TestRequests::test_basic_building PASSED [ 5%] tests/test_requests.py::TestRequests::test_no_content_length[GET] PASSED [ 5%] tests/test_requests.py::TestRequests::test_no_content_length[HEAD] PASSED [ 6%] tests/test_requests.py::TestRequests::test_no_body_content_length[POST] PASSED [ 6%] tests/test_requests.py::TestRequests::test_no_body_content_length[PUT] PASSED [ 6%] tests/test_requests.py::TestRequests::test_no_body_content_length[PATCH] PASSED [ 6%] tests/test_requests.py::TestRequests::test_no_body_content_length[OPTIONS] PASSED [ 6%] tests/test_requests.py::TestRequests::test_empty_content_length[POST] PASSED [ 7%] tests/test_requests.py::TestRequests::test_empty_content_length[PUT] PASSED [ 7%] tests/test_requests.py::TestRequests::test_empty_content_length[PATCH] PASSED [ 7%] tests/test_requests.py::TestRequests::test_empty_content_length[OPTIONS] PASSED [ 7%] tests/test_requests.py::TestRequests::test_override_content_length PASSED [ 7%] tests/test_requests.py::TestRequests::test_path_is_not_double_encoded PASSED [ 7%] tests/test_requests.py::TestRequests::test_params_are_added_before_fragment[http://example.com/path#fragment-http://example.com/path?a=b#fragment] PASSED [ 8%] tests/test_requests.py::TestRequests::test_params_are_added_before_fragment[http://example.com/path?key=value#fragment-http://example.com/path?key=value&a=b#fragment] PASSED [ 8%] tests/test_requests.py::TestRequests::test_params_original_order_is_preserved_by_default PASSED [ 8%] tests/test_requests.py::TestRequests::test_params_bytes_are_encoded PASSED [ 8%] tests/test_requests.py::TestRequests::test_binary_put PASSED [ 8%] tests/test_requests.py::TestRequests::test_whitespaces_are_removed_from_url PASSED [ 9%] tests/test_requests.py::TestRequests::test_mixed_case_scheme_acceptable[http://] PASSED [ 9%] tests/test_requests.py::TestRequests::test_mixed_case_scheme_acceptable[HTTP://] PASSED [ 9%] tests/test_requests.py::TestRequests::test_mixed_case_scheme_acceptable[hTTp://] PASSED [ 9%] tests/test_requests.py::TestRequests::test_mixed_case_scheme_acceptable[HttP://] PASSED [ 9%] tests/test_requests.py::TestRequests::test_HTTP_200_OK_GET_ALTERNATIVE PASSED [ 10%] tests/test_requests.py::TestRequests::test_HTTP_302_ALLOW_REDIRECT_GET PASSED [ 10%] tests/test_requests.py::TestRequests::test_HTTP_307_ALLOW_REDIRECT_POST PASSED [ 10%] tests/test_requests.py::TestRequests::test_HTTP_307_ALLOW_REDIRECT_POST_WITH_SEEKABLE PASSED [ 10%] tests/test_requests.py::TestRequests::test_HTTP_302_TOO_MANY_REDIRECTS PASSED [ 10%] tests/test_requests.py::TestRequests::test_HTTP_302_TOO_MANY_REDIRECTS_WITH_PARAMS PASSED [ 10%] tests/test_requests.py::TestRequests::test_http_301_changes_post_to_get PASSED [ 11%] tests/test_requests.py::TestRequests::test_http_301_doesnt_change_head_to_get PASSED [ 11%] tests/test_requests.py::TestRequests::test_http_302_changes_post_to_get PASSED [ 11%] tests/test_requests.py::TestRequests::test_http_302_doesnt_change_head_to_get PASSED [ 11%] tests/test_requests.py::TestRequests::test_http_303_changes_post_to_get PASSED [ 11%] tests/test_requests.py::TestRequests::test_http_303_doesnt_change_head_to_get PASSED [ 12%] tests/test_requests.py::TestRequests::test_header_and_body_removal_on_redirect PASSED [ 12%] tests/test_requests.py::TestRequests::test_transfer_enc_removal_on_redirect PASSED [ 12%] tests/test_requests.py::TestRequests::test_fragment_maintained_on_redirect PASSED [ 12%] tests/test_requests.py::TestRequests::test_HTTP_200_OK_GET_WITH_PARAMS PASSED [ 12%] tests/test_requests.py::TestRequests::test_HTTP_200_OK_GET_WITH_MIXED_PARAMS PASSED [ 12%] tests/test_requests.py::TestRequests::test_set_cookie_on_301 PASSED [ 13%] tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect PASSED [ 13%] tests/test_requests.py::TestRequests::test_cookie_removed_on_expire PASSED [ 13%] tests/test_requests.py::TestRequests::test_cookie_quote_wrapped PASSED [ 13%] tests/test_requests.py::TestRequests::test_cookie_persists_via_api PASSED [ 13%] tests/test_requests.py::TestRequests::test_request_cookie_overrides_session_cookie PASSED [ 14%] tests/test_requests.py::TestRequests::test_request_cookies_not_persisted PASSED [ 14%] tests/test_requests.py::TestRequests::test_generic_cookiejar_works PASSED [ 14%] tests/test_requests.py::TestRequests::test_param_cookiejar_works PASSED [ 14%] tests/test_requests.py::TestRequests::test_cookielib_cookiejar_on_redirect PASSED [ 14%] tests/test_requests.py::TestRequests::test_requests_in_history_are_not_overridden PASSED [ 15%] tests/test_requests.py::TestRequests::test_history_is_always_a_list PASSED [ 15%] tests/test_requests.py::TestRequests::test_headers_on_session_with_None_are_not_sent PASSED [ 15%] tests/test_requests.py::TestRequests::test_headers_preserve_order PASSED [ 15%] tests/test_requests.py::TestRequests::test_user_agent_transfers[User-agent] PASSED [ 15%] tests/test_requests.py::TestRequests::test_user_agent_transfers[user-agent] PASSED [ 15%] tests/test_requests.py::TestRequests::test_HTTP_200_OK_HEAD PASSED [ 16%] tests/test_requests.py::TestRequests::test_HTTP_200_OK_PUT PASSED [ 16%] tests/test_requests.py::TestRequests::test_BASICAUTH_TUPLE_HTTP_200_OK_GET PASSED [ 16%] tests/test_requests.py::TestRequests::test_set_basicauth[user-pass] PASSED [ 16%] tests/test_requests.py::TestRequests::test_set_basicauth[\xd0\xb8\xd0\xbc\xd1\x8f-\xd0\xbf\xd0\xb0\xd1\x80\xd0\xbe\xd0\xbb\xd1\x8c] PASSED [ 16%] tests/test_requests.py::TestRequests::test_set_basicauth[42-42] PASSED [ 17%] tests/test_requests.py::TestRequests::test_set_basicauth[None-None] PASSED [ 17%] tests/test_requests.py::TestRequests::test_basicauth_encodes_byte_strings PASSED [ 17%] tests/test_requests.py::TestRequests::test_errors[http://doesnotexist.google.com-ConnectionError] PASSED [ 17%] tests/test_requests.py::TestRequests::test_errors[http://localhost:1-ConnectionError] PASSED [ 17%] tests/test_requests.py::TestRequests::test_errors[http://fe80::5054:ff:fe5a:fc0-InvalidURL] PASSED [ 17%] tests/test_requests.py::TestRequests::test_proxy_error PASSED [ 18%] tests/test_requests.py::TestRequests::test_proxy_error_on_bad_url PASSED [ 18%] tests/test_requests.py::TestRequests::test_basicauth_with_netrc PASSED [ 18%] tests/test_requests.py::TestRequests::test_DIGEST_HTTP_200_OK_GET PASSED [ 18%] tests/test_requests.py::TestRequests::test_DIGEST_AUTH_RETURNS_COOKIE PASSED [ 18%] tests/test_requests.py::TestRequests::test_DIGEST_AUTH_SETS_SESSION_COOKIES PASSED [ 19%] tests/test_requests.py::TestRequests::test_DIGEST_STREAM PASSED [ 19%] tests/test_requests.py::TestRequests::test_DIGESTAUTH_WRONG_HTTP_401_GET PASSED [ 19%] tests/test_requests.py::TestRequests::test_DIGESTAUTH_QUOTES_QOP_VALUE PASSED [ 19%] tests/test_requests.py::TestRequests::test_POSTBIN_GET_POST_FILES PASSED [ 19%] tests/test_requests.py::TestRequests::test_invalid_files_input PASSED [ 20%] tests/test_requests.py::TestRequests::test_POSTBIN_SEEKED_OBJECT_WITH_NO_ITER PASSED [ 20%] tests/test_requests.py::TestRequests::test_POSTBIN_GET_POST_FILES_WITH_DATA PASSED [ 20%] tests/test_requests.py::TestRequests::test_post_with_custom_mapping PASSED [ 20%] tests/test_requests.py::TestRequests::test_conflicting_post_params PASSED [ 20%] tests/test_requests.py::TestRequests::test_request_ok_set PASSED [ 20%] tests/test_requests.py::TestRequests::test_status_raising PASSED [ 21%] tests/test_requests.py::TestRequests::test_decompress_gzip PASSED [ 21%] tests/test_requests.py::TestRequests::test_unicode_get[/get-params0] PASSED [ 21%] tests/test_requests.py::TestRequests::test_unicode_get[/get-params1] PASSED [ 21%] tests/test_requests.py::TestRequests::test_unicode_get[/get-params2] PASSED [ 21%] tests/test_requests.py::TestRequests::test_unicode_get[/get-params3] PASSED [ 22%] tests/test_requests.py::TestRequests::test_unicode_get[\xf8-params4] PASSED [ 22%] tests/test_requests.py::TestRequests::test_unicode_header_name PASSED [ 22%] tests/test_requests.py::TestRequests::test_pyopenssl_redirect PASSED [ 22%] tests/test_requests.py::TestRequests::test_invalid_ca_certificate_path PASSED [ 22%] tests/test_requests.py::TestRequests::test_invalid_ssl_certificate_files PASSED [ 22%] tests/test_requests.py::TestRequests::test_http_with_certificate PASSED [ 23%] tests/test_requests.py::TestRequests::test_https_warnings PASSED [ 23%] tests/test_requests.py::TestRequests::test_certificate_failure pytest-httpbin server hit an exception serving request: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) attempting to ignore so the rest of the tests can run PASSED [ 23%] tests/test_requests.py::TestRequests::test_urlencoded_get_query_multivalued_param PASSED [ 23%] tests/test_requests.py::TestRequests::test_form_encoded_post_query_multivalued_element PASSED [ 23%] tests/test_requests.py::TestRequests::test_different_encodings_dont_break_post PASSED [ 24%] tests/test_requests.py::TestRequests::test_unicode_multipart_post[data0] PASSED [ 24%] tests/test_requests.py::TestRequests::test_unicode_multipart_post[data1] PASSED [ 24%] tests/test_requests.py::TestRequests::test_unicode_multipart_post[data2] PASSED [ 24%] tests/test_requests.py::TestRequests::test_unicode_multipart_post[data3] PASSED [ 24%] tests/test_requests.py::TestRequests::test_unicode_multipart_post_fieldnames PASSED [ 25%] tests/test_requests.py::TestRequests::test_unicode_method_name PASSED [ 25%] tests/test_requests.py::TestRequests::test_unicode_method_name_with_request_object PASSED [ 25%] tests/test_requests.py::TestRequests::test_non_prepared_request_error PASSED [ 25%] tests/test_requests.py::TestRequests::test_custom_content_type PASSED [ 25%] tests/test_requests.py::TestRequests::test_hook_receives_request_arguments PASSED [ 25%] tests/test_requests.py::TestRequests::test_session_hooks_are_used_with_no_request_hooks PASSED [ 26%] tests/test_requests.py::TestRequests::test_session_hooks_are_overridden_by_request_hooks PASSED [ 26%] tests/test_requests.py::TestRequests::test_prepared_request_hook PASSED [ 26%] tests/test_requests.py::TestRequests::test_prepared_from_session PASSED [ 26%] tests/test_requests.py::TestRequests::test_prepare_request_with_bytestring_url PASSED [ 26%] tests/test_requests.py::TestRequests::test_request_with_bytestring_host PASSED [ 27%] tests/test_requests.py::TestRequests::test_links PASSED [ 27%] tests/test_requests.py::TestRequests::test_cookie_parameters PASSED [ 27%] tests/test_requests.py::TestRequests::test_cookie_as_dict_keeps_len PASSED [ 27%] tests/test_requests.py::TestRequests::test_cookie_as_dict_keeps_items PASSED [ 27%] tests/test_requests.py::TestRequests::test_cookie_as_dict_keys PASSED [ 27%] tests/test_requests.py::TestRequests::test_cookie_as_dict_values PASSED [ 28%] tests/test_requests.py::TestRequests::test_cookie_as_dict_items PASSED [ 28%] tests/test_requests.py::TestRequests::test_cookie_duplicate_names_different_domains PASSED [ 28%] tests/test_requests.py::TestRequests::test_cookie_duplicate_names_raises_cookie_conflict_error PASSED [ 28%] tests/test_requests.py::TestRequests::test_cookie_policy_copy PASSED [ 28%] tests/test_requests.py::TestRequests::test_time_elapsed_blank PASSED [ 29%] tests/test_requests.py::TestRequests::test_empty_response_has_content_none PASSED [ 29%] tests/test_requests.py::TestRequests::test_response_is_iterable PASSED [ 29%] tests/test_requests.py::TestRequests::test_response_decode_unicode PASSED [ 29%] tests/test_requests.py::TestRequests::test_response_reason_unicode PASSED [ 29%] tests/test_requests.py::TestRequests::test_response_reason_unicode_fallback PASSED [ 30%] tests/test_requests.py::TestRequests::test_response_chunk_size_type PASSED [ 30%] tests/test_requests.py::TestRequests::test_request_and_response_are_pickleable PASSED [ 30%] tests/test_requests.py::TestRequests::test_prepared_request_is_pickleable PASSED [ 30%] tests/test_requests.py::TestRequests::test_prepared_request_with_file_is_pickleable PASSED [ 30%] tests/test_requests.py::TestRequests::test_prepared_request_with_hook_is_pickleable PASSED [ 30%] tests/test_requests.py::TestRequests::test_cannot_send_unprepared_requests PASSED [ 31%] tests/test_requests.py::TestRequests::test_http_error PASSED [ 31%] tests/test_requests.py::TestRequests::test_session_pickling PASSED [ 31%] tests/test_requests.py::TestRequests::test_fixes_1329 PASSED [ 31%] tests/test_requests.py::TestRequests::test_uppercase_scheme_redirect PASSED [ 31%] tests/test_requests.py::TestRequests::test_transport_adapter_ordering PASSED [ 32%] tests/test_requests.py::TestRequests::test_session_get_adapter_prefix_matching PASSED [ 32%] tests/test_requests.py::TestRequests::test_session_get_adapter_prefix_matching_mixed_case PASSED [ 32%] tests/test_requests.py::TestRequests::test_session_get_adapter_prefix_matching_is_case_insensitive PASSED [ 32%] tests/test_requests.py::TestRequests::test_header_remove_is_case_insensitive PASSED [ 32%] tests/test_requests.py::TestRequests::test_params_are_merged_case_sensitive PASSED [ 32%] tests/test_requests.py::TestRequests::test_long_authinfo_in_url PASSED [ 33%] tests/test_requests.py::TestRequests::test_header_keys_are_native PASSED [ 33%] tests/test_requests.py::TestRequests::test_header_validation PASSED [ 33%] tests/test_requests.py::TestRequests::test_header_value_not_str PASSED [ 33%] tests/test_requests.py::TestRequests::test_header_no_return_chars PASSED [ 33%] tests/test_requests.py::TestRequests::test_header_no_leading_space PASSED [ 34%] tests/test_requests.py::TestRequests::test_can_send_objects_with_files[foo0] PASSED [ 34%] tests/test_requests.py::TestRequests::test_can_send_objects_with_files[foo1] PASSED [ 34%] tests/test_requests.py::TestRequests::test_can_send_objects_with_files[files2] PASSED [ 34%] tests/test_requests.py::TestRequests::test_can_send_file_object_with_non_string_filename PASSED [ 34%] tests/test_requests.py::TestRequests::test_autoset_header_values_are_native PASSED [ 35%] tests/test_requests.py::TestRequests::test_nonhttp_schemes_dont_check_URLs PASSED [ 35%] tests/test_requests.py::TestRequests::test_auth_is_stripped_on_http_downgrade PASSED [ 35%] tests/test_requests.py::TestRequests::test_auth_is_retained_for_redirect_on_host PASSED [ 35%] tests/test_requests.py::TestRequests::test_should_strip_auth_host_change PASSED [ 35%] tests/test_requests.py::TestRequests::test_should_strip_auth_http_downgrade PASSED [ 35%] tests/test_requests.py::TestRequests::test_should_strip_auth_https_upgrade PASSED [ 36%] tests/test_requests.py::TestRequests::test_should_strip_auth_port_change PASSED [ 36%] tests/test_requests.py::TestRequests::test_should_strip_auth_default_port[https://example.com:443/foo-https://example.com/bar] PASSED [ 36%] tests/test_requests.py::TestRequests::test_should_strip_auth_default_port[http://example.com:80/foo-http://example.com/bar] PASSED [ 36%] tests/test_requests.py::TestRequests::test_should_strip_auth_default_port[https://example.com/foo-https://example.com:443/bar] PASSED [ 36%] tests/test_requests.py::TestRequests::test_should_strip_auth_default_port[http://example.com/foo-http://example.com:80/bar] PASSED [ 37%] tests/test_requests.py::TestRequests::test_manual_redirect_with_partial_body_read PASSED [ 37%] tests/test_requests.py::TestRequests::test_prepare_body_position_non_stream PASSED [ 37%] tests/test_requests.py::TestRequests::test_rewind_body PASSED [ 37%] tests/test_requests.py::TestRequests::test_rewind_partially_read_body PASSED [ 37%] tests/test_requests.py::TestRequests::test_rewind_body_no_seek PASSED [ 37%] tests/test_requests.py::TestRequests::test_rewind_body_failed_seek PASSED [ 38%] tests/test_requests.py::TestRequests::test_rewind_body_failed_tell PASSED [ 38%] tests/test_requests.py::TestRequests::test_redirect_with_wrong_gzipped_header PASSED [ 38%] tests/test_requests.py::TestRequests::test_basic_auth_str_is_always_native[test-test-Basic dGVzdDp0ZXN0] PASSED [ 38%] tests/test_requests.py::TestRequests::test_basic_auth_str_is_always_native[\xd0\xb8\xd0\xbc\xd1\x8f-\xd0\xbf\xd0\xb0\xd1\x80\xd0\xbe\xd0\xbb\xd1\x8c-Basic 0LjQvNGPOtC/0LDRgNC+0LvRjA==] PASSED [ 38%] tests/test_requests.py::TestRequests::test_requests_history_is_saved PASSED [ 39%] tests/test_requests.py::TestRequests::test_json_param_post_content_type_works PASSED [ 39%] tests/test_requests.py::TestRequests::test_json_param_post_should_not_override_data_param PASSED [ 39%] tests/test_requests.py::TestRequests::test_response_iter_lines PASSED [ 39%] tests/test_requests.py::TestRequests::test_response_context_manager PASSED [ 39%] tests/test_requests.py::TestRequests::test_unconsumed_session_response_closes_connection PASSED [ 40%] tests/test_requests.py::TestRequests::test_response_iter_lines_reentrant XFAIL [ 40%] tests/test_requests.py::TestRequests::test_session_close_proxy_clear PASSED [ 40%] tests/test_requests.py::TestRequests::test_proxy_auth PASSED [ 40%] tests/test_requests.py::TestRequests::test_proxy_auth_empty_pass PASSED [ 40%] tests/test_requests.py::TestRequests::test_response_json_when_content_is_None PASSED [ 40%] tests/test_requests.py::TestRequests::test_response_without_release_conn PASSED [ 41%] tests/test_requests.py::TestRequests::test_empty_stream_with_auth_does_not_set_content_length_header PASSED [ 41%] tests/test_requests.py::TestRequests::test_stream_with_auth_does_not_set_transfer_encoding_header PASSED [ 41%] tests/test_requests.py::TestRequests::test_chunked_upload_does_not_set_content_length_header PASSED [ 41%] tests/test_requests.py::TestRequests::test_custom_redirect_mixin PASSED [ 41%] tests/test_requests.py::TestCaseInsensitiveDict::test_init[cid0] PASSED [ 42%] tests/test_requests.py::TestCaseInsensitiveDict::test_init[cid1] PASSED [ 42%] tests/test_requests.py::TestCaseInsensitiveDict::test_init[cid2] PASSED [ 42%] tests/test_requests.py::TestCaseInsensitiveDict::test_docstring_example PASSED [ 42%] tests/test_requests.py::TestCaseInsensitiveDict::test_len PASSED [ 42%] tests/test_requests.py::TestCaseInsensitiveDict::test_getitem PASSED [ 42%] tests/test_requests.py::TestCaseInsensitiveDict::test_fixes_649 PASSED [ 43%] tests/test_requests.py::TestCaseInsensitiveDict::test_delitem PASSED [ 43%] tests/test_requests.py::TestCaseInsensitiveDict::test_contains PASSED [ 43%] tests/test_requests.py::TestCaseInsensitiveDict::test_get PASSED [ 43%] tests/test_requests.py::TestCaseInsensitiveDict::test_update PASSED [ 43%] tests/test_requests.py::TestCaseInsensitiveDict::test_update_retains_unchanged PASSED [ 44%] tests/test_requests.py::TestCaseInsensitiveDict::test_iter PASSED [ 44%] tests/test_requests.py::TestCaseInsensitiveDict::test_equality PASSED [ 44%] tests/test_requests.py::TestCaseInsensitiveDict::test_setdefault PASSED [ 44%] tests/test_requests.py::TestCaseInsensitiveDict::test_lower_items PASSED [ 44%] tests/test_requests.py::TestCaseInsensitiveDict::test_preserve_key_case PASSED [ 45%] tests/test_requests.py::TestCaseInsensitiveDict::test_preserve_last_key_case PASSED [ 45%] tests/test_requests.py::TestCaseInsensitiveDict::test_copy PASSED [ 45%] tests/test_requests.py::TestMorselToCookieExpires::test_expires_valid_str PASSED [ 45%] tests/test_requests.py::TestMorselToCookieExpires::test_expires_invalid_int[100-TypeError] PASSED [ 45%] tests/test_requests.py::TestMorselToCookieExpires::test_expires_invalid_int[woops-ValueError] PASSED [ 45%] tests/test_requests.py::TestMorselToCookieExpires::test_expires_none PASSED [ 46%] tests/test_requests.py::TestMorselToCookieMaxAge::test_max_age_valid_int PASSED [ 46%] tests/test_requests.py::TestMorselToCookieMaxAge::test_max_age_invalid_str PASSED [ 46%] tests/test_requests.py::TestTimeout::test_stream_timeout PASSED [ 46%] tests/test_requests.py::TestTimeout::test_invalid_timeout[timeout0-(connect, read)] PASSED [ 46%] tests/test_requests.py::TestTimeout::test_invalid_timeout[foo-must be an int, float or None] PASSED [ 47%] tests/test_requests.py::TestTimeout::test_none_timeout[None] PASSED [ 47%] tests/test_requests.py::TestTimeout::test_none_timeout[timeout1] PASSED [ 47%] tests/test_requests.py::TestTimeout::test_read_timeout[timeout0] PASSED [ 47%] tests/test_requests.py::TestTimeout::test_read_timeout[timeout1] PASSED [ 47%] tests/test_requests.py::TestTimeout::test_encoded_methods PASSED [ 47%] tests/test_requests.py::test_json_encodes_as_bytes PASSED [ 48%] tests/test_requests.py::test_requests_are_updated_each_time PASSED [ 48%] tests/test_requests.py::test_proxy_env_vars_override_default[http_proxy-http://example.com-socks5://proxy.com:9876] PASSED [ 48%] tests/test_requests.py::test_proxy_env_vars_override_default[https_proxy-https://example.com-socks5://proxy.com:9876] PASSED [ 48%] tests/test_requests.py::test_proxy_env_vars_override_default[all_proxy-http://example.com-socks5://proxy.com:9876] PASSED [ 48%] tests/test_requests.py::test_proxy_env_vars_override_default[all_proxy-https://example.com-socks5://proxy.com:9876] PASSED [ 49%] tests/test_requests.py::test_data_argument_accepts_tuples[data0] PASSED [ 49%] tests/test_requests.py::test_data_argument_accepts_tuples[data1] PASSED [ 49%] tests/test_requests.py::test_data_argument_accepts_tuples[data2] PASSED [ 49%] tests/test_requests.py::test_prepared_copy[None] PASSED [ 49%] tests/test_requests.py::test_prepared_copy[kwargs1] PASSED [ 50%] tests/test_requests.py::test_prepared_copy[kwargs2] PASSED [ 50%] tests/test_requests.py::test_prepared_copy[kwargs3] PASSED [ 50%] tests/test_requests.py::test_urllib3_retries PASSED [ 50%] tests/test_requests.py::test_urllib3_pool_connection_closed PASSED [ 50%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://google.com-http://google.com/] PASSED [ 50%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://\u30b8\u30a7\u30fc\u30d4\u30fc\u30cb\u30c3\u30af.jp-http://xn--hckqz9bzb1cyrb.jp/] PASSED [ 51%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://xn--n3h.net/-http://xn--n3h.net/0] PASSED [ 51%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://\xe3\x82\xb8\xe3\x82\xa7\xe3\x83\xbc\xe3\x83\x94\xe3\x83\xbc\xe3\x83\x8b\xe3\x83\x83\xe3\x82\xaf.jp-http://xn--hckqz9bzb1cyrb.jp/] PASSED [ 51%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://stra\xdfe.de/stra\xdfe-http://xn--strae-oqa.de/stra%C3%9Fe] PASSED [ 51%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://stra\xc3\x9fe.de/stra\xc3\x9fe-http://xn--strae-oqa.de/stra%C3%9Fe] PASSED [ 51%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://K\xf6nigsg\xe4\xdfchen.de/stra\xdfe-http://xn--knigsgchen-b4a3dun.de/stra%C3%9Fe] PASSED [ 52%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://K\xc3\xb6nigsg\xc3\xa4\xc3\x9fchen.de/stra\xc3\x9fe-http://xn--knigsgchen-b4a3dun.de/stra%C3%9Fe] PASSED [ 52%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://xn--n3h.net/-http://xn--n3h.net/1] PASSED [ 52%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://[1200:0000:ab00:1234:0000:2552:7777:1313]:12345/-http://[1200:0000:ab00:1234:0000:2552:7777:1313]:12345/0] PASSED [ 52%] tests/test_requests.py::TestPreparingURLs::test_preparing_url[http://[1200:0000:ab00:1234:0000:2552:7777:1313]:12345/-http://[1200:0000:ab00:1234:0000:2552:7777:1313]:12345/1] PASSED [ 52%] tests/test_requests.py::TestPreparingURLs::test_preparing_bad_url[http://*.google.com0] PASSED [ 52%] tests/test_requests.py::TestPreparingURLs::test_preparing_bad_url[http://*0] PASSED [ 53%] tests/test_requests.py::TestPreparingURLs::test_preparing_bad_url[http://*.google.com1] PASSED [ 53%] tests/test_requests.py::TestPreparingURLs::test_preparing_bad_url[http://*1] PASSED [ 53%] tests/test_requests.py::TestPreparingURLs::test_preparing_bad_url[http://\u2603.net/] PASSED [ 53%] tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url[http://localhost:-1-InvalidURL] PASSED [ 53%] tests/test_requests.py::TestPreparingURLs::test_url_mutation[http+unix://%2Fvar%2Frun%2Fsocket/path%7E-http+unix://%2Fvar%2Frun%2Fsocket/path~0] PASSED [ 54%] tests/test_requests.py::TestPreparingURLs::test_url_mutation[http+unix://%2Fvar%2Frun%2Fsocket/path%7E-http+unix://%2Fvar%2Frun%2Fsocket/path~1] PASSED [ 54%] tests/test_requests.py::TestPreparingURLs::test_url_mutation[mailto:user@example.org-mailto:user@example.org0] PASSED [ 54%] tests/test_requests.py::TestPreparingURLs::test_url_mutation[mailto:user@example.org-mailto:user@example.org1] PASSED [ 54%] tests/test_requests.py::TestPreparingURLs::test_url_mutation[data:SSDimaUgUHl0aG9uIQ==-data:SSDimaUgUHl0aG9uIQ==] PASSED [ 54%] tests/test_requests.py::TestPreparingURLs::test_parameters_for_nonstandard_schemes[http+unix://%2Fvar%2Frun%2Fsocket/path-params0-http+unix://%2Fvar%2Frun%2Fsocket/path?key=value] PASSED [ 55%] tests/test_requests.py::TestPreparingURLs::test_parameters_for_nonstandard_schemes[http+unix://%2Fvar%2Frun%2Fsocket/path-params1-http+unix://%2Fvar%2Frun%2Fsocket/path?key=value] PASSED [ 55%] tests/test_requests.py::TestPreparingURLs::test_parameters_for_nonstandard_schemes[mailto:user@example.org-params2-mailto:user@example.org] PASSED [ 55%] tests/test_requests.py::TestPreparingURLs::test_parameters_for_nonstandard_schemes[mailto:user@example.org-params3-mailto:user@example.org] PASSED [ 55%] tests/test_structures.py::TestCaseInsensitiveDict::test_list PASSED [ 55%] tests/test_structures.py::TestCaseInsensitiveDict::test_getitem[accept] PASSED [ 55%] tests/test_structures.py::TestCaseInsensitiveDict::test_getitem[ACCEPT] PASSED [ 56%] tests/test_structures.py::TestCaseInsensitiveDict::test_getitem[aCcEpT] PASSED [ 56%] tests/test_structures.py::TestCaseInsensitiveDict::test_getitem[Accept] PASSED [ 56%] tests/test_structures.py::TestCaseInsensitiveDict::test_delitem[accept] PASSED [ 56%] tests/test_structures.py::TestCaseInsensitiveDict::test_delitem[ACCEPT] PASSED [ 56%] tests/test_structures.py::TestCaseInsensitiveDict::test_delitem[aCcEpT] PASSED [ 57%] tests/test_structures.py::TestCaseInsensitiveDict::test_delitem[Accept] PASSED [ 57%] tests/test_structures.py::TestCaseInsensitiveDict::test_lower_items PASSED [ 57%] tests/test_structures.py::TestCaseInsensitiveDict::test_repr PASSED [ 57%] tests/test_structures.py::TestCaseInsensitiveDict::test_copy PASSED [ 57%] tests/test_structures.py::TestCaseInsensitiveDict::test_instance_equality[other0-True] PASSED [ 57%] tests/test_structures.py::TestCaseInsensitiveDict::test_instance_equality[other1-False] PASSED [ 58%] tests/test_structures.py::TestCaseInsensitiveDict::test_instance_equality[None-False] PASSED [ 58%] tests/test_structures.py::TestLookupDict::test_repr PASSED [ 58%] tests/test_structures.py::TestLookupDict::test_getitem[bad_gateway-502] PASSED [ 58%] tests/test_structures.py::TestLookupDict::test_getitem[not_a_key-None] PASSED [ 58%] tests/test_structures.py::TestLookupDict::test_get[bad_gateway-502] PASSED [ 59%] tests/test_structures.py::TestLookupDict::test_get[not_a_key-None] PASSED [ 59%] tests/test_testserver.py::TestTestServer::test_basic PASSED [ 59%] tests/test_testserver.py::TestTestServer::test_server_closes PASSED [ 59%] tests/test_testserver.py::TestTestServer::test_text_response PASSED [ 59%] tests/test_testserver.py::TestTestServer::test_basic_response PASSED [ 60%] tests/test_testserver.py::TestTestServer::test_basic_waiting_server PASSED [ 60%] tests/test_testserver.py::TestTestServer::test_multiple_requests PASSED [ 60%] tests/test_testserver.py::TestTestServer::test_request_recovery SKIPPED [ 60%] tests/test_testserver.py::TestTestServer::test_requests_after_timeout_are_not_received PASSED [ 60%] tests/test_testserver.py::TestTestServer::test_request_recovery_with_bigger_timeout PASSED [ 60%] tests/test_testserver.py::TestTestServer::test_server_finishes_on_error PASSED [ 61%] tests/test_testserver.py::TestTestServer::test_server_finishes_when_no_connections PASSED [ 61%] tests/test_utils.py::TestSuperLen::test_io_streams[StringIO-Test] PASSED [ 61%] tests/test_utils.py::TestSuperLen::test_io_streams[BytesIO-Test] PASSED [ 61%] tests/test_utils.py::TestSuperLen::test_io_streams[None-Test] SKIPPED [ 61%] tests/test_utils.py::TestSuperLen::test_super_len_correctly_calculates_len_of_partially_read_file PASSED [ 62%] tests/test_utils.py::TestSuperLen::test_super_len_handles_files_raising_weird_errors_in_tell[OSError0] PASSED [ 62%] tests/test_utils.py::TestSuperLen::test_super_len_handles_files_raising_weird_errors_in_tell[OSError1] PASSED [ 62%] tests/test_utils.py::TestSuperLen::test_super_len_tell_ioerror[OSError0] PASSED [ 62%] tests/test_utils.py::TestSuperLen::test_super_len_tell_ioerror[OSError1] PASSED [ 62%] tests/test_utils.py::TestSuperLen::test_string PASSED [ 62%] tests/test_utils.py::TestSuperLen::test_file[r-1] PASSED [ 63%] tests/test_utils.py::TestSuperLen::test_file[rb-0] PASSED [ 63%] tests/test_utils.py::TestSuperLen::test_super_len_with__len__ PASSED [ 63%] tests/test_utils.py::TestSuperLen::test_super_len_with_no__len__ PASSED [ 63%] tests/test_utils.py::TestSuperLen::test_super_len_with_tell PASSED [ 63%] tests/test_utils.py::TestSuperLen::test_super_len_with_fileno PASSED [ 64%] tests/test_utils.py::TestSuperLen::test_super_len_with_no_matches PASSED [ 64%] tests/test_utils.py::TestToKeyValList::test_valid[value0-expected0] PASSED [ 64%] tests/test_utils.py::TestToKeyValList::test_valid[value1-expected1] PASSED [ 64%] tests/test_utils.py::TestToKeyValList::test_valid[value2-expected2] PASSED [ 64%] tests/test_utils.py::TestToKeyValList::test_valid[None-None] PASSED [ 65%] tests/test_utils.py::TestToKeyValList::test_invalid PASSED [ 65%] tests/test_utils.py::TestUnquoteHeaderValue::test_valid[None-None] PASSED [ 65%] tests/test_utils.py::TestUnquoteHeaderValue::test_valid[Test-Test] PASSED [ 65%] tests/test_utils.py::TestUnquoteHeaderValue::test_valid["Test"-Test] PASSED [ 65%] tests/test_utils.py::TestUnquoteHeaderValue::test_valid["Test\\\\"-Test\\] PASSED [ 65%] tests/test_utils.py::TestUnquoteHeaderValue::test_valid["\\\\Comp\\Res"-\\Comp\\Res] PASSED [ 66%] tests/test_utils.py::TestUnquoteHeaderValue::test_is_filename PASSED [ 66%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://192.168.0.1:5000/] PASSED [ 66%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://192.168.0.1/] PASSED [ 66%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://172.16.1.1/] PASSED [ 66%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://172.16.1.1:5000/] PASSED [ 67%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://localhost.localdomain:5000/v1.0/] PASSED [ 67%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://192.168.0.1:5000/] PASSED [ 67%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://192.168.0.1/] PASSED [ 67%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://172.16.1.1/] PASSED [ 67%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://172.16.1.1:5000/] PASSED [ 67%] tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://localhost.localdomain:5000/v1.0/] PASSED [ 68%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[no_proxy-http://192.168.1.1:5000/] PASSED [ 68%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[no_proxy-http://192.168.1.1/] PASSED [ 68%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[no_proxy-http://www.requests.com/] PASSED [ 68%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[NO_PROXY-http://192.168.1.1:5000/] PASSED [ 68%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[NO_PROXY-http://192.168.1.1/] PASSED [ 69%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[NO_PROXY-http://www.requests.com/] PASSED [ 69%] tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[no_proxy-http://192.168.1.1:5000/] PASSED [ 69%] tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[no_proxy-http://192.168.1.1/] PASSED [ 69%] tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[no_proxy-http://www.requests.com/] PASSED [ 69%] tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[NO_PROXY-http://192.168.1.1:5000/] PASSED [ 70%] tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[NO_PROXY-http://192.168.1.1/] PASSED [ 70%] tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[NO_PROXY-http://www.requests.com/] PASSED [ 70%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://192.168.0.1:5000/] PASSED [ 70%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://192.168.0.1/] PASSED [ 70%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://172.16.1.1/] PASSED [ 70%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://172.16.1.1:5000/] PASSED [ 71%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://localhost.localdomain:5000/v1.0/] PASSED [ 71%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://192.168.0.1:5000/] PASSED [ 71%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://192.168.0.1/] PASSED [ 71%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://172.16.1.1/] PASSED [ 71%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://172.16.1.1:5000/] PASSED [ 72%] tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://localhost.localdomain:5000/v1.0/] PASSED [ 72%] tests/test_utils.py::TestIsIPv4Address::test_valid PASSED [ 72%] tests/test_utils.py::TestIsIPv4Address::test_invalid[8.8.8.8.8] PASSED [ 72%] tests/test_utils.py::TestIsIPv4Address::test_invalid[localhost.localdomain] PASSED [ 72%] tests/test_utils.py::TestIsValidCIDR::test_valid PASSED [ 72%] tests/test_utils.py::TestIsValidCIDR::test_invalid[8.8.8.8] PASSED [ 73%] tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.0/a] PASSED [ 73%] tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.0/128] PASSED [ 73%] tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.0/-1] PASSED [ 73%] tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.999/24] PASSED [ 73%] tests/test_utils.py::TestAddressInNetwork::test_valid PASSED [ 74%] tests/test_utils.py::TestAddressInNetwork::test_invalid PASSED [ 74%] tests/test_utils.py::TestGuessFilename::test_guess_filename_invalid[1] PASSED [ 74%] tests/test_utils.py::TestGuessFilename::test_guess_filename_invalid[value1] PASSED [ 74%] tests/test_utils.py::TestGuessFilename::test_guess_filename_valid[value-bytes] PASSED [ 74%] tests/test_utils.py::TestGuessFilename::test_guess_filename_valid[value-str] PASSED [ 75%] tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[/] PASSED [ 75%] tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[/builddir/build/BUILD/requests-2.22.0/tests/test_utils.py] PASSED [ 75%] tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[/usr/lib/python3.8/site-packages/pytest.py] PASSED [ 75%] tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[/etc/invalid/location] PASSED [ 75%] tests/test_utils.py::TestExtractZippedPaths::test_zipped_paths_extracted PASSED [ 75%] tests/test_utils.py::TestContentEncodingDetection::test_none PASSED [ 76%] tests/test_utils.py::TestContentEncodingDetection::test_pragmas[] PASSED [ 76%] tests/test_utils.py::TestContentEncodingDetection::test_pragmas[] PASSED [ 76%] tests/test_utils.py::TestContentEncodingDetection::test_pragmas[] PASSED [ 76%] tests/test_utils.py::TestContentEncodingDetection::test_pragmas[] PASSED [ 76%] tests/test_utils.py::TestContentEncodingDetection::test_precedence PASSED [ 77%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-32] PASSED [ 77%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-8-sig] PASSED [ 77%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-16] PASSED [ 77%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-8] PASSED [ 77%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-16-be] PASSED [ 77%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-16-le] PASSED [ 78%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-32-be] PASSED [ 78%] tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-32-le] PASSED [ 78%] tests/test_utils.py::TestGuessJSONUTF::test_bad_utf_like_encoding PASSED [ 78%] tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-16-be-utf-16] PASSED [ 78%] tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-16-le-utf-16] PASSED [ 79%] tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-32-be-utf-32] PASSED [ 79%] tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-32-le-utf-32] PASSED [ 79%] tests/test_utils.py::test_get_auth_from_url[http://%25%21%2A%27%28%29%3B%3A%40%26%3D%2B%24%2C%2F%3F%23%5B%5D%20:%25%21%2A%27%28%29%3B%3A%40%26%3D%2B%24%2C%2F%3F%23%5B%5D%20@request.com/url.html#test-auth0] PASSED [ 79%] tests/test_utils.py::test_get_auth_from_url[http://user:pass@complex.url.com/path?query=yes-auth1] PASSED [ 79%] tests/test_utils.py::test_get_auth_from_url[http://user:pass%20pass@complex.url.com/path?query=yes-auth2] PASSED [ 80%] tests/test_utils.py::test_get_auth_from_url[http://user:pass pass@complex.url.com/path?query=yes-auth3] PASSED [ 80%] tests/test_utils.py::test_get_auth_from_url[http://user%25user:pass@complex.url.com/path?query=yes-auth4] PASSED [ 80%] tests/test_utils.py::test_get_auth_from_url[http://user:pass%23pass@complex.url.com/path?query=yes-auth5] PASSED [ 80%] tests/test_utils.py::test_get_auth_from_url[http://complex.url.com/path?query=yes-auth6] PASSED [ 80%] tests/test_utils.py::test_requote_uri_with_unquoted_percents[http://example.com/fiz?buz=%25ppicture-http://example.com/fiz?buz=%25ppicture] PASSED [ 80%] tests/test_utils.py::test_requote_uri_with_unquoted_percents[http://example.com/fiz?buz=%ppicture-http://example.com/fiz?buz=%25ppicture] PASSED [ 81%] tests/test_utils.py::test_unquote_unreserved[http://example.com/?a=%---http://example.com/?a=%--] PASSED [ 81%] tests/test_utils.py::test_unquote_unreserved[http://example.com/?a=%300-http://example.com/?a=00] PASSED [ 81%] tests/test_utils.py::test_dotted_netmask[8-255.0.0.0] PASSED [ 81%] tests/test_utils.py::test_dotted_netmask[24-255.255.255.0] PASSED [ 81%] tests/test_utils.py::test_dotted_netmask[25-255.255.255.128] PASSED [ 82%] tests/test_utils.py::test_select_proxies[hTTp://u:p@Some.Host/path-http://some.host.proxy-proxies0] PASSED [ 82%] tests/test_utils.py::test_select_proxies[hTTp://u:p@Other.Host/path-http://http.proxy-proxies1] PASSED [ 82%] tests/test_utils.py::test_select_proxies[hTTp:///path-http://http.proxy-proxies2] PASSED [ 82%] tests/test_utils.py::test_select_proxies[hTTps://Other.Host-None-proxies3] PASSED [ 82%] tests/test_utils.py::test_select_proxies[file:///etc/motd-None-proxies4] PASSED [ 82%] tests/test_utils.py::test_select_proxies[hTTp://u:p@Some.Host/path-socks5://some.host.proxy-proxies5] PASSED [ 83%] tests/test_utils.py::test_select_proxies[hTTp://u:p@Other.Host/path-socks5://http.proxy-proxies6] PASSED [ 83%] tests/test_utils.py::test_select_proxies[hTTp:///path-socks5://http.proxy-proxies7] PASSED [ 83%] tests/test_utils.py::test_select_proxies[hTTps://Other.Host-socks5://http.proxy-proxies8] PASSED [ 83%] tests/test_utils.py::test_select_proxies[http://u:p@other.host/path-http://http.proxy-proxies9] PASSED [ 83%] tests/test_utils.py::test_select_proxies[http://u:p@some.host/path-http://some.host.proxy-proxies10] PASSED [ 84%] tests/test_utils.py::test_select_proxies[https://u:p@other.host/path-socks5://http.proxy-proxies11] PASSED [ 84%] tests/test_utils.py::test_select_proxies[https://u:p@some.host/path-socks5://http.proxy-proxies12] PASSED [ 84%] tests/test_utils.py::test_select_proxies[https://-socks5://http.proxy-proxies13] PASSED [ 84%] tests/test_utils.py::test_select_proxies[file:///etc/motd-socks5://http.proxy-proxies14] PASSED [ 84%] tests/test_utils.py::test_parse_dict_header[foo="is a fish", bar="as well"-expected0] PASSED [ 85%] tests/test_utils.py::test_parse_dict_header[key_without_value-expected1] PASSED [ 85%] tests/test_utils.py::test__parse_content_type_header[application/xml-expected0] PASSED [ 85%] tests/test_utils.py::test__parse_content_type_header[application/json ; charset=utf-8-expected1] PASSED [ 85%] tests/test_utils.py::test__parse_content_type_header[application/json ; Charset=utf-8-expected2] PASSED [ 85%] tests/test_utils.py::test__parse_content_type_header[text/plain-expected3] PASSED [ 85%] tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; boundary2='something_else' ; no_equals -expected4] PASSED [ 86%] tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; boundary2="something_else" ; no_equals -expected5] PASSED [ 86%] tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; 'boundary2=something_else' ; no_equals -expected6] PASSED [ 86%] tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; "boundary2=something_else" ; no_equals -expected7] PASSED [ 86%] tests/test_utils.py::test__parse_content_type_header[application/json ; ; -expected8] PASSED [ 86%] tests/test_utils.py::test_get_encoding_from_headers[value0-None] PASSED [ 87%] tests/test_utils.py::test_get_encoding_from_headers[value1-utf-8] PASSED [ 87%] tests/test_utils.py::test_get_encoding_from_headers[value2-ISO-8859-1] PASSED [ 87%] tests/test_utils.py::test_iter_slices[-0] PASSED [ 87%] tests/test_utils.py::test_iter_slices[T-1] PASSED [ 87%] tests/test_utils.py::test_iter_slices[Test-4] PASSED [ 87%] tests/test_utils.py::test_iter_slices[Cont-0] PASSED [ 88%] tests/test_utils.py::test_iter_slices[Other--5] PASSED [ 88%] tests/test_utils.py::test_iter_slices[Content-None] PASSED [ 88%] tests/test_utils.py::test_parse_header_links[; rel=front; type="image/jpeg"-expected0] PASSED [ 88%] tests/test_utils.py::test_parse_header_links[-expected1] PASSED [ 88%] tests/test_utils.py::test_parse_header_links[;-expected2] PASSED [ 89%] tests/test_utils.py::test_parse_header_links[; type="image/jpeg",;-expected3] PASSED [ 89%] tests/test_utils.py::test_parse_header_links[-expected4] PASSED [ 89%] tests/test_utils.py::test_prepend_scheme_if_needed[example.com/path-http://example.com/path] PASSED [ 89%] tests/test_utils.py::test_prepend_scheme_if_needed[//example.com/path-http://example.com/path] PASSED [ 89%] tests/test_utils.py::test_to_native_string[T-T0] PASSED [ 90%] tests/test_utils.py::test_to_native_string[T-T1] PASSED [ 90%] tests/test_utils.py::test_to_native_string[T-T2] PASSED [ 90%] tests/test_utils.py::test_urldefragauth[http://u:p@example.com/path?a=1#test-http://example.com/path?a=1] PASSED [ 90%] tests/test_utils.py::test_urldefragauth[http://example.com/path-http://example.com/path] PASSED [ 90%] tests/test_utils.py::test_urldefragauth[//u:p@example.com/path-//example.com/path] PASSED [ 90%] tests/test_utils.py::test_urldefragauth[//example.com/path-//example.com/path] PASSED [ 91%] tests/test_utils.py::test_urldefragauth[example.com/path-//example.com/path] PASSED [ 91%] tests/test_utils.py::test_urldefragauth[scheme:u:p@example.com/path-scheme://example.com/path] PASSED [ 91%] tests/test_utils.py::test_should_bypass_proxies[http://192.168.0.1:5000/-True] PASSED [ 91%] tests/test_utils.py::test_should_bypass_proxies[http://192.168.0.1/-True] PASSED [ 91%] tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.1/-True] PASSED [ 92%] tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.1:5000/-True] PASSED [ 92%] tests/test_utils.py::test_should_bypass_proxies[http://localhost.localdomain:5000/v1.0/-True] PASSED [ 92%] tests/test_utils.py::test_should_bypass_proxies[http://google.com:6000/-True] PASSED [ 92%] tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.12/-False] PASSED [ 92%] tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.12:5000/-False] PASSED [ 92%] tests/test_utils.py::test_should_bypass_proxies[http://google.com:5000/v1.0/-False] PASSED [ 93%] tests/test_utils.py::test_should_bypass_proxies[file:///some/path/on/disk-True] PASSED [ 93%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://172.16.1.1/-172.16.1.1] PASSED [ 93%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://172.16.1.1:5000/-172.16.1.1] PASSED [ 93%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@172.16.1.1-172.16.1.1] PASSED [ 93%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@172.16.1.1:5000-172.16.1.1] PASSED [ 94%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://hostname/-hostname] PASSED [ 94%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://hostname:5000/-hostname] PASSED [ 94%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@hostname-hostname] PASSED [ 94%] tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@hostname:5000-hostname] PASSED [ 94%] tests/test_utils.py::test_add_dict_to_cookiejar[cookiejar0] PASSED [ 95%] tests/test_utils.py::test_add_dict_to_cookiejar[cookiejar1] PASSED [ 95%] tests/test_utils.py::test_unicode_is_ascii[test-True] PASSED [ 95%] tests/test_utils.py::test_unicode_is_ascii[\xe6\xed\xf6\xfb-False] PASSED [ 95%] tests/test_utils.py::test_unicode_is_ascii[\u30b8\u30a7\u30fc\u30d4\u30fc\u30cb\u30c3\u30af-False] PASSED [ 95%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://192.168.0.1:5000/-True] PASSED [ 95%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://192.168.0.1/-True] PASSED [ 96%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.1/-True] PASSED [ 96%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.1:5000/-True] PASSED [ 96%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://localhost.localdomain:5000/v1.0/-True] PASSED [ 96%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.12/-False] PASSED [ 96%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.12:5000/-False] PASSED [ 97%] tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://google.com:5000/v1.0/-False] PASSED [ 97%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://192.168.0.1:5000/-True-None] SKIPPED [ 97%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://192.168.0.1/-True-None] SKIPPED [ 97%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.1/-True-None] SKIPPED [ 97%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.1:5000/-True-None] SKIPPED [ 97%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://localhost.localdomain:5000/v1.0/-True-None] SKIPPED [ 98%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.22/-False-None] SKIPPED [ 98%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.22:5000/-False-None] SKIPPED [ 98%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://google.com:5000/v1.0/-False-None] SKIPPED [ 98%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://mylocalhostname:5000/v1.0/-True-] SKIPPED [ 98%] tests/test_utils.py::test_should_bypass_proxies_win_registry[http://192.168.0.1/-False-] SKIPPED [ 99%] tests/test_utils.py::test_set_environ[no_proxy-192.168.0.0/24,127.0.0.1,localhost.localdomain] PASSED [ 99%] tests/test_utils.py::test_set_environ[no_proxy-None] PASSED [ 99%] tests/test_utils.py::test_set_environ[a_new_key-192.168.0.0/24,127.0.0.1,localhost.localdomain] PASSED [ 99%] tests/test_utils.py::test_set_environ[a_new_key-None] PASSED [ 99%] tests/test_utils.py::test_set_environ_raises_exception PASSED [100%] ============== 527 passed, 12 skipped, 1 xfailed in 62.93 seconds ============== 127.0.0.1 - - [22/Oct/2019 16:09:48] "HEAD /get HTTP/1.1" 200 0 127.0.0.1 - - [22/Oct/2019 16:09:48] "GET /basic-auth/user/pass HTTP/1.1" 401 0 127.0.0.1 - - [22/Oct/2019 16:09:48] "GET /status/404 HTTP/1.1" 404 0 127.0.0.1 - - [22/Oct/2019 16:09:48] "GET /get HTTP/1.1" 200 218 127.0.0.1 - - [22/Oct/2019 16:10:19] "GET /redirect-to?url=http%3A%2F%2Flocalhost%3A-1 HTTP/1.1" 302 0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-requests-2.22.0-7.fc32.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GjURG5 + umask 022 + cd /builddir/build/BUILD + cd requests-2.22.0 + DOCDIR=/builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/share/doc/python3-requests + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/share/doc/python3-requests + cp -pr README.md /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/share/doc/python3-requests + cp -pr HISTORY.md /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/share/doc/python3-requests + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yHWTI6 + umask 022 + cd /builddir/build/BUILD + cd requests-2.22.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/share/licenses/python3-requests + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/share/licenses/python3-requests + cp -pr LICENSE /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch/usr/share/licenses/python3-requests + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-requests = 2.22.0-7.fc32 python3-requests = 2.22.0-7.fc32 python3.8dist(requests) = 2.22 python3dist(requests) = 2.22 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (python3.8dist(urllib3) < 1.25 or python3.8dist(urllib3) >= 1.25.0) (python3.8dist(urllib3) < 1.25.1 or python3.8dist(urllib3) >= 1.25.1.0) python(abi) = 3.8 python3.8dist(chardet) >= 3.0.2 python3.8dist(chardet) < 3.1 python3.8dist(idna) >= 2.5 python3.8dist(idna) < 2.9 python3.8dist(urllib3) >= 1.21.1 python3.8dist(urllib3) < 1.26 Obsoletes: python-requests < 2.22.0-7.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch Wrote: /builddir/build/RPMS/python3-requests-2.22.0-7.fc32.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rq5IL5 + umask 022 + cd /builddir/build/BUILD + cd requests-2.22.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-requests-2.22.0-7.fc32.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0