Diff of the two buildlogs: -- --- b1/build.log 2025-01-13 06:39:01.990712571 +0000 +++ b2/build.log 2025-01-13 06:41:55.738791187 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Feb 15 00:59:27 -12 2026 -I: pbuilder-time-stamp: 1771160367 +I: Current time: Mon Jan 13 20:39:04 +14 2025 +I: pbuilder-time-stamp: 1736750344 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying 020_fix-sufix_versions.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2297969/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 13 06:39 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='6cb22beba61841048b537e70501373cb' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2297969' - PS1='# ' - PS2='> ' + INVOCATION_ID=4ada708c85f14932b8575a0919c6ba66 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2594219 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.aMzFo9q5/pbuilderrc_FE3L --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.aMzFo9q5/b1 --logfile b1/build.log python-pook_2.1.3-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.aMzFo9q5/pbuilderrc_Izcd --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.aMzFo9q5/b2 --logfile b2/build.log python-pook_2.1.3-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-29-cloud-arm64 #1 SMP Debian 6.1.123-1 (2025-01-02) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-29-cloud-arm64 #1 SMP Debian 6.1.123-1 (2025-01-02) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2297969/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -304,7 +336,7 @@ Get: 162 http://deb.debian.org/debian trixie/main arm64 python3-sphinxcontrib.jquery all 4.1-5 [7348 B] Get: 163 http://deb.debian.org/debian trixie/main arm64 python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [29.5 kB] Get: 164 http://deb.debian.org/debian trixie/main arm64 python3-xmltodict all 0.13.0-1 [16.7 kB] -Fetched 54.8 MB in 1s (65.6 MB/s) +Fetched 54.8 MB in 0s (202 MB/s) Preconfiguring packages ... Selecting previously unselected package fonts-lato. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19968 files and directories currently installed.) @@ -835,8 +867,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Feb 15 13:00:10 UTC 2026. -Universal Time is now: Sun Feb 15 13:00:10 UTC 2026. +Local time is now: Mon Jan 13 06:39:45 UTC 2025. +Universal Time is now: Mon Jan 13 06:39:45 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... @@ -999,7 +1031,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-pook-2.1.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../python-pook_2.1.3-1_source.changes +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-pook-2.1.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../python-pook_2.1.3-1_source.changes dpkg-buildpackage: info: source package python-pook dpkg-buildpackage: info: source version 2.1.3-1 dpkg-buildpackage: info: source distribution unstable @@ -1111,28 +1147,16 @@ tests/unit/engine_test.py .. [ 15%] tests/unit/exceptions_test.py . [ 16%] tests/unit/interceptors/aiohttp_test.py FFFFFFFFFFFFssssssss [ 25%] -tests/unit/interceptors/httpx_test.py FFFFFFFFFFFFFFF127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 -FFF127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 -FFFFFFFsFFFF [ 37%] +tests/unit/interceptors/httpx_test.py FFFFFFFFFFFFFFFFFFFFFFFFFsFFFF [ 37%] tests/unit/interceptors/module_test.py . [ 38%] -tests/unit/interceptors/urllib3_test.py F127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 -FFFFFFFFFFFFFFF127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 -FFFF127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 -FF........ [ 52%] +tests/unit/interceptors/urllib3_test.py FFFFFFFFFFFFFFFFFFFFFFFF........ [ 52%] F [ 52%] -tests/unit/interceptors/urllib_test.py FFFFF127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 -FFFF127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 -FFF [ 58%] +tests/unit/interceptors/urllib_test.py FFFFFFFFFFFFFF [ 58%] tests/unit/matchers/base_test.py .... [ 60%] tests/unit/matchers/headers_test.py ...........FF............ [ 71%] -tests/unit/matchers/query_test.py F127.0.0.1 - - [15/Feb/2026 01:01:29] "GET /status/404?x HTTP/1.1" 404 0 -F [ 71%] +tests/unit/matchers/query_test.py FF [ 71%] tests/unit/matchers/url_test.py ............................ [ 84%] -tests/unit/mock_engine_test.py ....127.0.0.1 - - [15/Feb/2026 01:01:29] "GET /status/404 HTTP/1.1" 404 0 -x [ 86%] +tests/unit/mock_engine_test.py ....x [ 86%] tests/unit/mock_test.py .FxxF......................... [ 99%] tests/unit/regex_test.py .. [100%] @@ -1205,7 +1229,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1264,7 +1288,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/404 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/404 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _____________________ test_examples[network_mode_httpx.py] _____________________ example = 'network_mode_httpx.py' @@ -1429,7 +1453,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1465,7 +1489,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1483,7 +1507,7 @@ r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) ____________________ test_examples[mock_context_manager.py] ____________________ example = 'mock_context_manager.py' @@ -1564,7 +1588,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1582,7 +1606,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1600,7 +1624,7 @@ r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _________________________ test_examples[decorators.py] _________________________ example = 'decorators.py' @@ -1672,7 +1696,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1690,7 +1714,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1708,7 +1732,7 @@ r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _______________________ test_examples[aiohttp_client.py] _______________________ example = 'aiohttp_client.py' @@ -1741,7 +1765,7 @@ TypeError: 'Timeout' object does not support the context manager protocol ______________________________ test_requests_get _______________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1789,7 +1813,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -2027,7 +2051,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2043,13 +2067,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2131,9 +2155,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -2227,7 +2251,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2251,7 +2275,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2345,12 +2369,12 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ___________________________ test_requests_match_url ____________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2398,7 +2422,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -2636,7 +2660,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2652,13 +2676,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2740,9 +2764,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -2836,7 +2860,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2860,7 +2884,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2954,12 +2978,12 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _______________________ test_requests_match_query_params _______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3007,7 +3031,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/?foo=bar', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -3245,7 +3269,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3261,13 +3285,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3349,9 +3373,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/?foo=bar', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -3445,7 +3469,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -3469,7 +3493,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3563,13 +3587,13 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _________________ TestStandardAiohttp.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3583,12 +3607,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:02] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' -url_500 = 'http://127.0.0.1:39981/status/500' +self = +url_404 = 'http://127.0.0.1:37483/status/404' +url_500 = 'http://127.0.0.1:37483/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -3608,12 +3632,12 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:25] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:02] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:02] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardAiohttp.test_network_mode_hostname ________________ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3685,8 +3709,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -3722,8 +3746,8 @@ _, proto = await self._create_direct_connection(req, traces, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3762,11 +3786,11 @@ /usr/lib/python3/dist-packages/aiohttp/connector.py:1323: ClientConnectorDNSError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:02] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardAiohttp.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -3802,13 +3826,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardAiohttp.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -3825,11 +3849,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -3844,11 +3868,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAiohttp.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -3866,11 +3890,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:25] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardAiohttp.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -3887,11 +3911,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAiohttp.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -3905,11 +3929,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardAiohttp.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -3924,11 +3948,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAiohttp.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -3944,11 +3968,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAiohttp.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -3960,11 +3984,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3978,12 +4002,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:03] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_network_mode ___________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' -url_500 = 'http://127.0.0.1:39981/status/500' +self = +url_404 = 'http://127.0.0.1:37483/status/404' +url_500 = 'http://127.0.0.1:37483/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4003,8 +4027,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:04] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:04] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAsyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -4050,8 +4074,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4120,11 +4144,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:89: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:04] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardAsyncHttpx.test_multiple_network_filters _____________ -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4160,13 +4184,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:04] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardAsyncHttpx.test_json_request ___________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4183,11 +4207,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/404 HTTP/1.1" 404 0 __________________ TestStandardAsyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4202,11 +4226,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAsyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4224,11 +4248,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4245,11 +4269,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAsyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4263,11 +4287,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4282,11 +4306,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_mutli_value_response_headers ___________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4302,11 +4326,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:05] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4318,11 +4342,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:06] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4336,12 +4360,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:06] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' -url_500 = 'http://127.0.0.1:39981/status/500' +self = +url_404 = 'http://127.0.0.1:37483/status/404' +url_500 = 'http://127.0.0.1:37483/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4361,8 +4385,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:06] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:06] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardSyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -4406,8 +4430,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4474,11 +4498,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:89: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:26] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:06] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardSyncHttpx.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4514,12 +4538,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardSyncHttpx.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4536,11 +4561,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4555,11 +4580,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardSyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4576,10 +4601,12 @@ E AssertionError tests/unit/interceptors/base.py:193: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardSyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4596,11 +4623,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardSyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4614,11 +4641,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4633,11 +4660,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:07] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardSyncHttpx.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4653,11 +4680,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardSyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4669,10 +4696,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_sync ___________________________________ -URL = 'http://127.0.0.1:39981/status/404' +URL = 'http://127.0.0.1:37483/status/404' def test_sync(URL): pook.get(URL).times(1).reply(200).body("123") @@ -4685,10 +4712,10 @@ tests/unit/interceptors/httpx_test.py:43: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_json ___________________________________ -URL = 'http://127.0.0.1:39981/status/404' +URL = 'http://127.0.0.1:37483/status/404' def test_json(URL): ( @@ -4707,10 +4734,10 @@ tests/unit/interceptors/httpx_test.py:67: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "POST /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "POST /status/404 HTTP/1.1" 404 0 __________________________ test_streaming[iter_bytes] __________________________ -URL = 'http://127.0.0.1:39981/status/404', response_method = 'iter_bytes' +URL = 'http://127.0.0.1:37483/status/404', response_method = 'iter_bytes' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4727,10 +4754,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_streaming[iter_raw] ___________________________ -URL = 'http://127.0.0.1:39981/status/404', response_method = 'iter_raw' +URL = 'http://127.0.0.1:37483/status/404', response_method = 'iter_raw' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4747,10 +4774,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_redirect_following ____________________________ -URL = 'http://127.0.0.1:39981/status/404' +URL = 'http://127.0.0.1:37483/status/404' def test_redirect_following(URL): urls = [URL, f"{URL}/redirected", f"{URL}/redirected_again"] @@ -4768,11 +4795,11 @@ tests/unit/interceptors/httpx_test.py:93: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4786,12 +4813,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' -url_500 = 'http://127.0.0.1:39981/status/500' +self = +url_404 = 'http://127.0.0.1:37483/status/404' +url_500 = 'http://127.0.0.1:37483/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4811,10 +4838,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardUrllib3.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -4862,7 +4890,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None, headers = {} retries = Retry(total=0, connect=None, read=None, redirect=None, status=None) redirect = False, assert_same_host = False, timeout = <_TYPE_DEFAULT.token: -1> @@ -5098,7 +5126,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5114,14 +5142,14 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -5163,9 +5191,9 @@ self = Retry(total=0, connect=None, read=None, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -5259,19 +5287,19 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:08] "GET /status/401 HTTP/1.1" 401 0 ------------------------------ Captured log call ------------------------------- -WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / ______________ TestStandardUrllib3.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -5307,13 +5335,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardUrllib3.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -5330,11 +5358,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -5349,11 +5377,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardUrllib3.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -5371,11 +5399,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardUrllib3.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -5392,11 +5420,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardUrllib3.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -5410,11 +5438,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -5429,11 +5457,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardUrllib3.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -5449,11 +5477,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardUrllib3.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -5465,11 +5493,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -5483,12 +5511,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' -url_500 = 'http://127.0.0.1:39981/status/500' +self = +url_404 = 'http://127.0.0.1:37483/status/404' +url_500 = 'http://127.0.0.1:37483/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -5508,11 +5536,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardRequests.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5560,7 +5588,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -5798,7 +5826,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5814,13 +5842,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -5902,9 +5930,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -5998,14 +6026,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -6037,7 +6065,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -6131,15 +6159,15 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:09] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardRequests.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6175,13 +6203,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardRequests.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6197,10 +6225,12 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardRequests.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6215,11 +6245,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardRequests.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6237,11 +6267,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6258,11 +6288,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardRequests.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6275,10 +6305,12 @@ E AssertionError tests/unit/interceptors/base.py:217: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6293,11 +6325,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6312,10 +6344,12 @@ E AssertionError tests/unit/interceptors/base.py:239: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6327,10 +6361,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ____________________________ test_post_with_headers ____________________________ -URL = 'http://127.0.0.1:39981/foo' +URL = 'http://127.0.0.1:37483/foo' @pytest.mark.pook def test_post_with_headers(URL): @@ -6339,15 +6373,15 @@ resp = http.request("POST", URL) > assert resp.status == 200 E assert 404 == 200 -E + where 404 = .status +E + where 404 = .status tests/unit/interceptors/urllib3_test.py:112: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "POST /foo HTTP/1.1" 404 207 +127.0.0.1 - - [13/Jan/2025 20:41:10] "POST /foo HTTP/1.1" 404 207 _____________________ TestUrllib.test_activate_deactivate ______________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -6361,12 +6395,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_network_mode _________________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' -url_500 = 'http://127.0.0.1:39981/status/500' +self = +url_404 = 'http://127.0.0.1:37483/status/404' +url_500 = 'http://127.0.0.1:37483/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -6386,14 +6420,14 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestUrllib.test_network_mode_hostname _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6485,8 +6519,8 @@ During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -6522,10 +6556,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6577,11 +6611,11 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:10] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestUrllib.test_multiple_network_filters ___________________ -self = -url_401 = 'http://127.0.0.1:39981/status/401' +self = +url_401 = 'http://127.0.0.1:37483/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6617,13 +6651,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/401 HTTP/1.1" 401 0 _________________________ TestUrllib.test_json_request _________________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6640,11 +6674,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 ________________________ TestUrllib.test_json_response _________________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6658,10 +6692,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 __________________ TestUrllib.test_json_request_and_response ___________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6678,10 +6714,12 @@ E AssertionError tests/unit/interceptors/base.py:193: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_header_sent __________________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6695,10 +6733,12 @@ E ValueError: not enough values to unpack (expected 3, got 2) tests/unit/interceptors/base.py:205: ValueError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestUrllib.test_mocked_response_headers ____________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6710,11 +6750,11 @@ tests/unit/interceptors/base.py:215: ValueError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestUrllib.test_mutli_value_headers ______________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6729,11 +6769,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_mutli_value_response_headers _________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6747,11 +6787,11 @@ tests/unit/interceptors/base.py:237: ValueError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:28] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_unmatched_headers_none_sent __________________ -self = -url_404 = 'http://127.0.0.1:39981/status/404' +self = +url_404 = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6762,13 +6802,15 @@ E Failed: DID NOT RAISE tests/unit/interceptors/base.py:247: Failed +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:11] "GET /status/404 HTTP/1.1" 404 0 _______________________________ test_urllib_ssl ________________________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6835,7 +6877,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -6891,11 +6933,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6948,10 +6990,10 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ______________________________ test_urllib_clear _______________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -7062,10 +7104,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -7306,7 +7348,7 @@ tests/unit/matchers/headers_test.py:171: AssertionError ______________________ test_param_exists_empty_disallowed ______________________ -URL = 'http://127.0.0.1:39981/status/404' +URL = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_param_exists_empty_disallowed(URL): @@ -7329,10 +7371,10 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) @@ -7340,10 +7382,10 @@ /usr/lib/python3.13/urllib/request.py:613: HTTPError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:29] "GET /status/404?x HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:12] "GET /status/404?x HTTP/1.1" 404 0 _______________________ test_param_exists_empty_allowed ________________________ -URL = 'http://127.0.0.1:39981/status/404' +URL = 'http://127.0.0.1:37483/status/404' @pytest.mark.pook def test_param_exists_empty_allowed(URL): @@ -7365,16 +7407,18 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: NOT FOUND /usr/lib/python3.13/urllib/request.py:613: HTTPError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:13] "GET /status/404?x HTTP/1.1" 404 0 ________________________ test_mock_constructor[params] _________________________ param_kwargs = {'params': {'x': '1'}}, query_string = '?x=1' @@ -7443,7 +7487,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -7533,7 +7577,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -7795,7 +7839,7 @@ FAILED tests/unit/matchers/query_test.py::test_param_exists_empty_allowed - u... FAILED tests/unit/mock_test.py::test_mock_constructor[params] - pook.exceptio... FAILED tests/unit/mock_test.py::test_mock_constructor[param_exists_has_value] -===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 22.26s ====== +===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 31.01s ====== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-pook-2.1.3/.pybuild/cpython3_3.13_pook/build; python3.13 -m pytest tests I: pybuild pybuild:308: cp -r /build/reproducible-path/python-pook-2.1.3/examples /build/reproducible-path/python-pook-2.1.3/.pybuild/cpython3_3.12_pook/build ; rm -f /build/reproducible-path/python-pook-2.1.3/.pybuild/cpython3_3.12_pook/build/examples/mocket_example.py I: pybuild base:311: cd /build/reproducible-path/python-pook-2.1.3/.pybuild/cpython3_3.12_pook/build; python3.12 -m pytest tests @@ -7813,34 +7857,16 @@ tests/unit/engine_test.py .. [ 15%] tests/unit/exceptions_test.py . [ 16%] tests/unit/interceptors/aiohttp_test.py FFFFFFFFFFFFssssssss [ 25%] -tests/unit/interceptors/httpx_test.py FFFFFFFFFFF127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 -FFFF127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/401 HTTP/1.1" 401 0 -FF127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 -FFFFFFFFsFFF127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -F [ 37%] +tests/unit/interceptors/httpx_test.py FFFFFFFFFFFFFFFFFFFFFFFFFsFFFF [ 37%] tests/unit/interceptors/module_test.py . [ 38%] -tests/unit/interceptors/urllib3_test.py FFFFF127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -FFFFFF127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -FFFFFFF........ [ 52%] +tests/unit/interceptors/urllib3_test.py FFFFFFFFFFFFFFFFFFFFFFFF........ [ 52%] F [ 52%] -tests/unit/interceptors/urllib_test.py 127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 -FFFF127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 -FFFFF127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 -FFFF [ 58%] +tests/unit/interceptors/urllib_test.py FFFFFFFFFFFFFF [ 58%] tests/unit/matchers/base_test.py .... [ 60%] tests/unit/matchers/headers_test.py ...........FF............ [ 71%] -tests/unit/matchers/query_test.py 127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404?x HTTP/1.1" 404 0 -F127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404?x HTTP/1.1" 404 0 -F [ 71%] +tests/unit/matchers/query_test.py FF [ 71%] tests/unit/matchers/url_test.py ............................ [ 84%] -tests/unit/mock_engine_test.py ....127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 -x [ 86%] +tests/unit/mock_engine_test.py ....x [ 86%] tests/unit/mock_test.py .FxxF......................... [ 99%] tests/unit/regex_test.py .. [100%] @@ -7895,7 +7921,7 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -7927,7 +7953,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/404 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/404 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _____________________ test_examples[network_mode_httpx.py] _____________________ example = 'network_mode_httpx.py' @@ -8061,7 +8087,7 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -8087,7 +8113,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -8109,7 +8135,7 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) ____________________ test_examples[mock_context_manager.py] ____________________ example = 'mock_context_manager.py' @@ -8172,7 +8198,7 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -8186,7 +8212,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -8208,7 +8234,7 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _________________________ test_examples[decorators.py] _________________________ example = 'decorators.py' @@ -8262,7 +8288,7 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -8276,7 +8302,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -8298,7 +8324,7 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _______________________ test_examples[aiohttp_client.py] _______________________ example = 'aiohttp_client.py' @@ -8330,7 +8356,7 @@ TypeError: 'Timeout' object does not support the context manager protocol ______________________________ test_requests_get _______________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -8378,7 +8404,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -8616,7 +8642,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -8632,13 +8658,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -8720,9 +8746,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -8816,7 +8842,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -8840,7 +8866,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -8934,12 +8960,12 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ___________________________ test_requests_match_url ____________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -8987,7 +9013,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -9225,7 +9251,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -9241,13 +9267,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -9329,9 +9355,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -9425,7 +9451,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -9449,7 +9475,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -9543,12 +9569,12 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _______________________ test_requests_match_query_params _______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -9596,7 +9622,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/?foo=bar', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -9834,7 +9860,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -9850,13 +9876,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -9938,9 +9964,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/?foo=bar', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -10034,7 +10060,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -10058,7 +10084,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -10152,13 +10178,13 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _________________ TestStandardAiohttp.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -10172,12 +10198,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:43] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' -url_500 = 'http://127.0.0.1:43761/status/500' +self = +url_404 = 'http://127.0.0.1:36477/status/404' +url_500 = 'http://127.0.0.1:36477/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -10197,12 +10223,12 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:43] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:43] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardAiohttp.test_network_mode_hostname ________________ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -10274,8 +10300,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -10311,8 +10337,8 @@ _, proto = await self._create_direct_connection(req, traces, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -10351,11 +10377,11 @@ /usr/lib/python3/dist-packages/aiohttp/connector.py:1323: ClientConnectorDNSError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:43] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardAiohttp.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -10391,13 +10417,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardAiohttp.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -10414,11 +10440,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -10433,11 +10459,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAiohttp.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -10455,11 +10481,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardAiohttp.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -10476,11 +10502,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAiohttp.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -10494,11 +10520,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardAiohttp.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -10513,11 +10539,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAiohttp.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -10533,11 +10559,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAiohttp.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -10549,11 +10575,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -10567,12 +10593,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_network_mode ___________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' -url_500 = 'http://127.0.0.1:43761/status/500' +self = +url_404 = 'http://127.0.0.1:36477/status/404' +url_500 = 'http://127.0.0.1:36477/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -10592,8 +10618,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAsyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -10639,8 +10665,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -10709,11 +10735,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:89: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardAsyncHttpx.test_multiple_network_filters _____________ -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -10749,13 +10775,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:48] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardAsyncHttpx.test_json_request ___________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -10772,11 +10798,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 __________________ TestStandardAsyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -10791,11 +10817,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAsyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -10813,11 +10839,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -10834,11 +10860,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAsyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -10852,11 +10878,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -10871,11 +10897,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_mutli_value_response_headers ___________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -10891,11 +10917,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -10906,10 +10932,12 @@ E Failed: DID NOT RAISE tests/unit/interceptors/base.py:247: Failed +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -10923,12 +10951,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' -url_500 = 'http://127.0.0.1:43761/status/500' +self = +url_404 = 'http://127.0.0.1:36477/status/404' +url_500 = 'http://127.0.0.1:36477/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -10948,8 +10976,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardSyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -10993,8 +11021,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -11061,11 +11089,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:89: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:44] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardSyncHttpx.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -11101,12 +11129,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardSyncHttpx.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -11123,11 +11152,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -11141,10 +11170,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardSyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -11162,11 +11193,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardSyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -11183,11 +11214,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardSyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -11201,11 +11232,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -11220,11 +11251,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardSyncHttpx.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -11240,11 +11271,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardSyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -11256,10 +11287,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_sync ___________________________________ -URL = 'http://127.0.0.1:43761/status/404' +URL = 'http://127.0.0.1:36477/status/404' def test_sync(URL): pook.get(URL).times(1).reply(200).body("123") @@ -11272,10 +11303,10 @@ tests/unit/interceptors/httpx_test.py:43: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_json ___________________________________ -URL = 'http://127.0.0.1:43761/status/404' +URL = 'http://127.0.0.1:36477/status/404' def test_json(URL): ( @@ -11294,10 +11325,10 @@ tests/unit/interceptors/httpx_test.py:67: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:49] "POST /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "POST /status/404 HTTP/1.1" 404 0 __________________________ test_streaming[iter_bytes] __________________________ -URL = 'http://127.0.0.1:43761/status/404', response_method = 'iter_bytes' +URL = 'http://127.0.0.1:36477/status/404', response_method = 'iter_bytes' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -11314,10 +11345,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_streaming[iter_raw] ___________________________ -URL = 'http://127.0.0.1:43761/status/404', response_method = 'iter_raw' +URL = 'http://127.0.0.1:36477/status/404', response_method = 'iter_raw' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -11334,10 +11365,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_redirect_following ____________________________ -URL = 'http://127.0.0.1:43761/status/404' +URL = 'http://127.0.0.1:36477/status/404' def test_redirect_following(URL): urls = [URL, f"{URL}/redirected", f"{URL}/redirected_again"] @@ -11354,10 +11385,12 @@ E + where 404 = .status_code tests/unit/interceptors/httpx_test.py:93: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -11371,12 +11404,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' -url_500 = 'http://127.0.0.1:43761/status/500' +self = +url_404 = 'http://127.0.0.1:36477/status/404' +url_500 = 'http://127.0.0.1:36477/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -11396,11 +11429,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardUrllib3.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -11448,7 +11481,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None, headers = {} retries = Retry(total=0, connect=None, read=None, redirect=None, status=None) redirect = False, assert_same_host = False, timeout = <_TYPE_DEFAULT.token: -1> @@ -11684,7 +11717,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -11700,14 +11733,14 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -11749,9 +11782,9 @@ self = Retry(total=0, connect=None, read=None, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -11845,19 +11878,19 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 ------------------------------ Captured log call ------------------------------- -WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:870 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / ______________ TestStandardUrllib3.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -11893,13 +11926,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardUrllib3.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -11916,11 +11949,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -11934,10 +11967,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardUrllib3.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -11954,10 +11989,12 @@ E AssertionError tests/unit/interceptors/base.py:193: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardUrllib3.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -11973,10 +12010,12 @@ E AssertionError tests/unit/interceptors/base.py:207: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardUrllib3.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -11990,11 +12029,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -12008,10 +12047,12 @@ E AssertionError tests/unit/interceptors/base.py:228: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardUrllib3.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -12026,10 +12067,12 @@ E AssertionError tests/unit/interceptors/base.py:239: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardUrllib3.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -12040,10 +12083,12 @@ E Failed: DID NOT RAISE tests/unit/interceptors/base.py:247: Failed +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -12057,12 +12102,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' -url_500 = 'http://127.0.0.1:43761/status/500' +self = +url_404 = 'http://127.0.0.1:36477/status/404' +url_500 = 'http://127.0.0.1:36477/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -12082,11 +12127,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardRequests.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -12134,7 +12179,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -12372,7 +12417,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -12388,13 +12433,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -12476,9 +12521,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -12572,14 +12617,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -12611,7 +12656,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -12705,15 +12750,15 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardRequests.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -12749,13 +12794,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardRequests.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -12772,11 +12817,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardRequests.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -12790,10 +12835,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardRequests.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -12811,11 +12858,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -12832,11 +12879,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardRequests.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -12850,11 +12897,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -12869,11 +12916,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -12889,11 +12936,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:45] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -12905,10 +12952,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 ____________________________ test_post_with_headers ____________________________ -URL = 'http://127.0.0.1:43761/foo' +URL = 'http://127.0.0.1:36477/foo' @pytest.mark.pook def test_post_with_headers(URL): @@ -12917,15 +12964,15 @@ resp = http.request("POST", URL) > assert resp.status == 200 E assert 404 == 200 -E + where 404 = .status +E + where 404 = .status tests/unit/interceptors/urllib3_test.py:112: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "POST /foo HTTP/1.1" 404 207 +127.0.0.1 - - [13/Jan/2025 20:41:46] "POST /foo HTTP/1.1" 404 207 _____________________ TestUrllib.test_activate_deactivate ______________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -12938,11 +12985,13 @@ E AssertionError tests/unit/interceptors/base.py:74: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_network_mode _________________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' -url_500 = 'http://127.0.0.1:43761/status/500' +self = +url_404 = 'http://127.0.0.1:36477/status/404' +url_500 = 'http://127.0.0.1:36477/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -12962,14 +13011,14 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestUrllib.test_network_mode_hostname _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): @@ -13061,8 +13110,8 @@ During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -13098,10 +13147,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): @@ -13153,11 +13202,11 @@ /usr/lib/python3.12/urllib/request.py:1347: URLError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:50] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestUrllib.test_multiple_network_filters ___________________ -self = -url_401 = 'http://127.0.0.1:43761/status/401' +self = +url_401 = 'http://127.0.0.1:36477/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -13193,13 +13242,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/401 HTTP/1.1" 401 0 _________________________ TestUrllib.test_json_request _________________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -13215,10 +13264,12 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 ________________________ TestUrllib.test_json_response _________________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -13232,10 +13283,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 __________________ TestUrllib.test_json_request_and_response ___________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -13253,11 +13306,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_header_sent __________________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -13272,11 +13325,11 @@ tests/unit/interceptors/base.py:205: ValueError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestUrllib.test_mocked_response_headers ____________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -13288,11 +13341,11 @@ tests/unit/interceptors/base.py:215: ValueError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestUrllib.test_mutli_value_headers ______________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -13307,11 +13360,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_mutli_value_response_headers _________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -13324,10 +13377,12 @@ E ValueError: not enough values to unpack (expected 3, got 2) tests/unit/interceptors/base.py:237: ValueError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_unmatched_headers_none_sent __________________ -self = -url_404 = 'http://127.0.0.1:43761/status/404' +self = +url_404 = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -13339,14 +13394,14 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [15/Feb/2026 01:01:51] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404 HTTP/1.1" 404 0 _______________________________ test_urllib_ssl ________________________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): @@ -13413,7 +13468,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -13469,11 +13524,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): @@ -13526,10 +13581,10 @@ /usr/lib/python3.12/urllib/request.py:1347: URLError ______________________________ test_urllib_clear _______________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): @@ -13640,10 +13695,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.12'} def do_open(self, http_class, req, **http_conn_args): @@ -13884,7 +13939,7 @@ tests/unit/matchers/headers_test.py:171: AssertionError ______________________ test_param_exists_empty_disallowed ______________________ -URL = 'http://127.0.0.1:43761/status/404' +URL = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_param_exists_empty_disallowed(URL): @@ -13907,19 +13962,21 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: NOT FOUND /usr/lib/python3.12/urllib/request.py:639: HTTPError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:46] "GET /status/404?x HTTP/1.1" 404 0 _______________________ test_param_exists_empty_allowed ________________________ -URL = 'http://127.0.0.1:43761/status/404' +URL = 'http://127.0.0.1:36477/status/404' @pytest.mark.pook def test_param_exists_empty_allowed(URL): @@ -13941,16 +13998,18 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: NOT FOUND /usr/lib/python3.12/urllib/request.py:639: HTTPError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [13/Jan/2025 20:41:47] "GET /status/404?x HTTP/1.1" 404 0 ________________________ test_mock_constructor[params] _________________________ param_kwargs = {'params': {'x': '1'}}, query_string = '?x=1' @@ -14019,7 +14078,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -14109,7 +14168,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -14371,7 +14430,7 @@ FAILED tests/unit/matchers/query_test.py::test_param_exists_empty_allowed - u... FAILED tests/unit/mock_test.py::test_mock_constructor[params] - pook.exceptio... FAILED tests/unit/mock_test.py::test_mock_constructor[param_exists_has_value] -===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 21.51s ====== +===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 27.95s ====== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-pook-2.1.3/.pybuild/cpython3_3.12_pook/build; python3.12 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make[1]: Leaving directory '/build/reproducible-path/python-pook-2.1.3' @@ -14409,12 +14468,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2594219/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2297969 and its subdirectories -I: Current time: Sun Feb 15 01:02:00 -12 2026 -I: pbuilder-time-stamp: 1771160520 +I: removing directory /srv/workspace/pbuilder/2594219 and its subdirectories +I: Current time: Mon Jan 13 20:41:54 +14 2025 +I: pbuilder-time-stamp: 1736750514