<86>Aug 1 07:54:58 userdel[109112]: delete user 'rooter' <86>Aug 1 07:54:58 userdel[109112]: removed group 'rooter' owned by 'rooter' <86>Aug 1 07:54:58 userdel[109112]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 1 07:54:58 groupadd[109144]: group added to /etc/group: name=rooter, GID=1865 <86>Aug 1 07:54:58 groupadd[109144]: group added to /etc/gshadow: name=rooter <86>Aug 1 07:54:58 groupadd[109144]: new group: name=rooter, GID=1865 <86>Aug 1 07:54:58 useradd[109166]: new user: name=rooter, UID=1865, GID=1865, home=/root, shell=/bin/bash, from=none <86>Aug 1 07:54:58 userdel[109207]: delete user 'builder' <86>Aug 1 07:54:58 userdel[109207]: removed group 'builder' owned by 'builder' <86>Aug 1 07:54:58 userdel[109207]: removed shadow group 'builder' owned by 'builder' <86>Aug 1 07:54:58 groupadd[109239]: group added to /etc/group: name=builder, GID=1866 <86>Aug 1 07:54:58 groupadd[109239]: group added to /etc/gshadow: name=builder <86>Aug 1 07:54:58 groupadd[109239]: new group: name=builder, GID=1866 <86>Aug 1 07:54:58 useradd[109274]: new user: name=builder, UID=1866, GID=1866, home=/usr/src, shell=/bin/bash, from=none <13>Aug 1 07:55:01 rpmi: libgdbm6-1.26-alt1 sisyphus+418729.200.2.1 1779276077 installed <13>Aug 1 07:55:01 rpmi: libgdbm_compat4-1.26-alt1 sisyphus+418729.200.2.1 1779276077 installed <13>Aug 1 07:55:01 rpmi: libsqlite3-3.50.4-alt1 sisyphus+391668.100.1.1 1754321138 installed <13>Aug 1 07:55:01 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Aug 1 07:55:01 rpmi: libexpat-2.7.4-alt1 sisyphus+407132.100.1.1 1770196717 installed <13>Aug 1 07:55:02 rpmi: openssl-config-3.5.0-alt1 sisyphus+399237.100.1.1 1762346864 installed <13>Aug 1 07:55:02 rpmi: libp11-kit-1:0.26.2-alt3.g0eedd4d sisyphus+424637.100.1.1 1783530782 installed <13>Aug 1 07:55:02 rpmi: libtasn1-4.21.0-alt2 sisyphus+420751.100.1.1 1781163748 installed <13>Aug 1 07:55:02 rpmi: rpm-macros-alternatives-0.5.3-alt1 sisyphus+371878.100.1.1 1737988822 installed <13>Aug 1 07:55:02 rpmi: alternatives-0.5.3-alt1 sisyphus+371878.100.1.1 1737988822 installed <13>Aug 1 07:55:02 rpmi: ca-certificates-2026.04.22-alt1 sisyphus+415942.100.6.1 1777316293 installed <13>Aug 1 07:55:02 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Aug 1 07:55:02 rpmi: p11-kit-trust-1:0.26.2-alt3.g0eedd4d sisyphus+424637.100.1.1 1783530782 installed <13>Aug 1 07:55:02 rpmi: libcrypto3-3.5.7-alt1 sisyphus+425332.100.3.1 1784733668 installed <13>Aug 1 07:55:02 rpmi: libssl3-3.5.7-alt1 sisyphus+425332.100.3.1 1784733668 installed <13>Aug 1 07:55:02 rpmi: python3-modules-sqlite3-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:55:02 rpmi: python3-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:55:03 rpmi: python3-base-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:55:03 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Aug 1 07:55:03 rpmi: python3-module-pyproject-installer-0.6.0-alt1 sisyphus+424779.100.1.1 1783678406 installed <13>Aug 1 07:55:03 rpmi: rpm-macros-pyproject-0.2.3-alt1 sisyphus+408007.100.1.1 1770890019 installed <13>Aug 1 07:55:03 rpmi: tests-for-installed-python3-pkgs-0.1.29-alt1 sisyphus+398029.2500.12.1 1762716341 installed <13>Aug 1 07:55:03 rpmi: rpm-build-python3-0.1.29-alt1 sisyphus+398029.2500.12.1 1762716341 installed <13>Aug 1 07:55:03 rpmi: rpm-build-pyproject-0.2.3-alt1 sisyphus+408007.100.1.1 1770890019 installed <13>Aug 1 07:55:06 rpmi: python3-module-packaging-26.2-alt1 sisyphus+416502.100.2.1 1777385153 installed <13>Aug 1 07:55:06 rpmi: python3-module-more-itertools-11.1.0-alt1 sisyphus+419223.100.2.1 1779891386 installed <13>Aug 1 07:55:06 rpmi: python3-module-markupsafe-1:3.0.3-alt1 sisyphus+423624.700.33.1 1784228296 installed <13>Aug 1 07:55:06 rpmi: libnettle8-3.10.1-alt1 sisyphus+372008.100.1.1 1738078268 installed <13>Aug 1 07:55:06 rpmi: python3-module-jaraco.functools-4.6.0-alt1 sisyphus+425293.100.1.2 1784631981 installed <13>Aug 1 07:55:06 rpmi: python3-module-Pygments-2.20.0-alt1 sisyphus+413985.100.1.1 1775208360 installed <13>Aug 1 07:55:06 rpmi: libunistring2-0.9.10-alt2 sisyphus+421685.300.1.1 1781712773 installed <13>Aug 1 07:55:06 rpmi: libidn2-2.3.8-alt1 sisyphus+393466.100.1.1 1756397195 installed <13>Aug 1 07:55:06 rpmi: libhogweed6-3.10.1-alt1 sisyphus+372008.100.1.1 1738078268 installed <13>Aug 1 07:55:06 rpmi: libgnutls30-3.8.13-alt1 sisyphus+417120.100.1.1 1777925773 installed <13>Aug 1 07:55:06 rpmi: libngtcp2.16-1.24.0-alt1 sisyphus+423453.200.1.1 1782826325 installed <13>Aug 1 07:55:06 rpmi: libngtcp2_crypto_gnutls8-1.24.0-alt1 sisyphus+423453.200.1.1 1782826325 installed <13>Aug 1 07:55:06 rpmi: python3-module-jinja2-3.1.6-alt2 sisyphus+413629.100.1.1 1774945546 installed <13>Aug 1 07:55:06 rpmi: python3-module-werkzeug-3.1.8-alt1 sisyphus+413975.100.1.1 1775205023 installed <13>Aug 1 07:55:06 rpmi: python3-module-wheel-0.47.0-alt1 sisyphus+416101.100.1.1 1776938753 installed <13>Aug 1 07:55:06 rpmi: python3-module-vcs-versioning-2.2.3-alt1 sisyphus+427539.100.2.1 1785443297 installed <13>Aug 1 07:55:06 rpmi: python3-module-pluggy-1.6.0-alt1.1 sisyphus+413474.300.2.1 1774829688 installed <13>Aug 1 07:55:06 rpmi: python3-module-platformdirs-4.10.0-alt1 sisyphus+419460.100.1.1 1779982322 installed <13>Aug 1 07:55:06 rpmi: python3-module-shellingham-1.5.4-alt1 sisyphus+332574.100.1.1 1698135363 installed <13>Aug 1 07:55:06 rpmi: python3-module-typing_extensions-4.16.0-alt1 sisyphus+426470.2600.5.1 1785153849 installed <13>Aug 1 07:55:06 rpmi: python3-module-uc-micro-py-2.0.0-alt1 sisyphus+411114.100.1.1 1773327270 installed <13>Aug 1 07:55:06 rpmi: python3-module-linkify-it-py-2.1.0-alt1.1 sisyphus+413476.100.1.1 1774817789 installed <13>Aug 1 07:55:06 rpmi: python3-module-mdurl-0.1.2-alt1 sisyphus+318894.1000.3.1 1682420700 installed <13>Aug 1 07:55:06 rpmi: python3-module-markdown-it-4.0.0-alt1 sisyphus+394327.100.1.1 1757330325 installed <13>Aug 1 07:55:07 rpmi: python3-module-rich-15.0.0-alt1 sisyphus+415092.100.2.1 1776162196 installed <13>Aug 1 07:55:07 rpmi: python3-module-jaraco.context-6.1.2-alt1 sisyphus+412384.100.1.1 1774283927 installed <13>Aug 1 07:55:07 rpmi: python3-module-iniconfig-2.3.0-alt1 sisyphus+397749.100.2.1 1761040670 installed <13>Aug 1 07:55:07 rpmi: python3-module-itsdangerous-2.2.0-alt1 sisyphus+345793.200.2.1 1714032239 installed <13>Aug 1 07:55:07 rpmi: python3-module-click-8.4.2-alt1 sisyphus+422757.100.2.1 1782720497 installed <13>Aug 1 07:55:07 rpmi: python3-module-blinker-1.9.0-alt1.1 sisyphus+413479.700.1.1 1774818100 installed <13>Aug 1 07:55:07 rpmi: python3-module-annotated_doc-0.0.5-alt1 sisyphus+427370.300.1.1 1785267228 installed <13>Aug 1 07:55:07 rpmi: python3-module-typer-0.27.0-alt1 sisyphus+426477.440.2.1 1784895769 installed <13>Aug 1 07:55:07 rpmi: python3-module-typer-slim-0.27.0-alt1 sisyphus+426477.440.2.1 1784895769 installed <13>Aug 1 07:55:07 rpmi: python3-module-jaraco.text-4.2.0-alt1 sisyphus+408107.100.3.1 1771429608 installed <13>Aug 1 07:55:07 rpmi: python3-module-pkg-resources-1:80.10.2-alt2.1 sisyphus+413485.1000.2.3 1774838477 installed <13>Aug 1 07:55:07 rpmi: python3-module-pycparser-2.23-alt1 sisyphus+410417.100.1.1 1772989663 installed <13>Aug 1 07:55:07 rpmi: python3-module-cffi-2.1.0-alt1 sisyphus+423624.540.33.1 1784228272 installed <13>Aug 1 07:55:07 rpmi: mercurial-7.2-alt1 sisyphus+423624.2100.33.1 1784228930 installed <13>Aug 1 07:55:07 rpmi: libpython3-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:55:08 rpmi: python3-dev-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:55:08 rpmi: python3-module-setuptools-1:83.0.0-alt1 sisyphus+424341.100.2.1 1783427124 installed <13>Aug 1 07:55:08 rpmi: libssh2-1.11.1-alt3 sisyphus+423435.100.3.1 1783610329 installed <13>Aug 1 07:55:08 rpmi: publicsuffix-list-dafsa-20260624-alt1 sisyphus+422796.100.1.1 1782491537 installed <13>Aug 1 07:55:08 rpmi: libpsl-0.22.0-alt1 sisyphus+422792.100.2.1 1782496716 installed <13>Aug 1 07:55:08 rpmi: libnghttp3.9-1.17.0-alt1 sisyphus+423453.100.1.1 1782826279 installed <13>Aug 1 07:55:08 rpmi: libnghttp2-1.69.0-alt1 sisyphus+415699.100.1.1 1776681037 installed <13>Aug 1 07:55:08 rpmi: openldap-common-2.6.13-alt1 sisyphus+411252.300.5.1 1773745238 installed <13>Aug 1 07:55:08 rpmi: libbrotlicommon-1.2.0-alt1 sisyphus+398493.100.1.1 1761628653 installed <13>Aug 1 07:55:08 rpmi: libbrotlidec-1.2.0-alt1 sisyphus+398493.100.1.1 1761628653 installed <13>Aug 1 07:55:08 rpmi: libxxhash-0.8.3-alt1 sisyphus+384704.100.1.1 1747741286 installed <13>Aug 1 07:55:08 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Aug 1 07:55:09 rpmi: rsync-3.2.7-alt6 sisyphus+425473.100.1.2 1784634301 installed <13>Aug 1 07:55:09 rpmi: openssh-common-9.6p1-alt7 sisyphus+423567.100.3.1 1785329711 installed <13>Aug 1 07:55:09 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Aug 1 07:55:09 rpmi: liblmdb-0.9.35-alt1 sisyphus+408541.100.2.1 1771588201 installed <13>Aug 1 07:55:09 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Aug 1 07:55:09 rpmi: libcom_err-1.47.4.0.2.a9f48-alt1 sisyphus+416421.100.2.1 1777378671 installed <86>Aug 1 07:55:09 groupadd[125708]: group added to /etc/group: name=_keytab, GID=999 <86>Aug 1 07:55:09 groupadd[125708]: group added to /etc/gshadow: name=_keytab <86>Aug 1 07:55:09 groupadd[125708]: new group: name=_keytab, GID=999 <13>Aug 1 07:55:09 rpmi: libkrb5-1.22.2-alt2 sisyphus+426323.100.1.2 1784761603 installed <86>Aug 1 07:55:09 groupadd[125841]: group added to /etc/group: name=sasl, GID=998 <86>Aug 1 07:55:09 groupadd[125841]: group added to /etc/gshadow: name=sasl <86>Aug 1 07:55:09 groupadd[125841]: new group: name=sasl, GID=998 <13>Aug 1 07:55:09 rpmi: libsasl2-3-2.1.28-alt5 sisyphus+419937.100.1.1 1780468454 installed <13>Aug 1 07:55:09 rpmi: libldap2-2.6.13-alt1 sisyphus+411252.300.5.1 1773745182 installed <13>Aug 1 07:55:09 rpmi: libcurl-8.21.0-alt1 sisyphus+422578.100.1.2 1782295668 installed <13>Aug 1 07:55:09 rpmi: libcbor0.14-0.14.0-alt1 sisyphus+414519.100.3.1 1775927176 installed <13>Aug 1 07:55:09 rpmi: libfido2_1-1.17.0-alt1 sisyphus+415374.100.1.1 1776337779 installed <13>Aug 1 07:55:09 rpmi: libedit3-3.1.20250104-alt1 sisyphus+384216.200.2.1 1747315132 installed <86>Aug 1 07:55:09 groupadd[126076]: group added to /etc/group: name=sshagent, GID=997 <86>Aug 1 07:55:09 groupadd[126076]: group added to /etc/gshadow: name=sshagent <86>Aug 1 07:55:09 groupadd[126076]: new group: name=sshagent, GID=997 <13>Aug 1 07:55:09 rpmi: openssh-clients-9.6p1-alt7 sisyphus+423567.100.3.1 1785329711 installed <13>Aug 1 07:55:09 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Aug 1 07:55:09 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Aug 1 07:55:09 rpmi: git-core-2.50.1-alt1 sisyphus+379199.100.1.1 1752058634 installed <13>Aug 1 07:55:09 rpmi: python3-module-setuptools_scm-10.2.1-alt1 sisyphus+427539.200.2.1 1785443345 installed <13>Aug 1 07:55:09 rpmi: python3-module-flask-3.1.3-alt3 sisyphus+419857.100.1.1 1780401657 installed <13>Aug 1 07:55:09 rpmi: python3-module-pytest-9.0.3-alt1 sisyphus+414567.100.1.1 1775647126 installed <13>Aug 1 07:55:09 rpmi: python3-module-mock-5.2.0-alt1 sisyphus+376793.100.1.1 1741087496 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-pytest-flask-1.3.0-alt1.nosrc.rpm (w1.gzdio) Installing python3-module-pytest-flask-1.3.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpmb-tmp.K5HApX + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-pytest-flask-1.3.0 + echo 'Source #0 (python3-module-pytest-flask-1.3.0.tar):' Source #0 (python3-module-pytest-flask-1.3.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-pytest-flask-1.3.0.tar + cd python3-module-pytest-flask-1.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + '[' '!' -d .git ']' + git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m hint: hint: Disable this message with "git config set advice.defaultBranchName false" Initialized empty Git repository in /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.git/ + git config user.email author@example.com + git config user.name author + git add . + git commit -m release [master (root-commit) 1ec9ce0] release 40 files changed, 3086 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/deploy.yml create mode 100644 .github/workflows/test.yml create mode 100644 .gitignore create mode 100644 .pre-commit-config.yaml create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.rst create mode 100644 LICENSE create mode 100644 README.rst create mode 100644 RELEASING.rst create mode 100644 docs/Makefile create mode 100644 docs/changelog.rst create mode 100644 docs/conf.py create mode 100644 docs/contributing.rst create mode 100644 docs/features.rst create mode 100644 docs/index.rst create mode 100644 docs/make.bat create mode 100644 docs/tutorial.rst create mode 100644 pyproject.toml create mode 100644 requirements/docs.txt create mode 100644 requirements/main.txt create mode 100644 requirements/test.txt create mode 100644 setup.cfg create mode 100755 setup.py create mode 100644 src/pytest_flask/__init__.py create mode 100644 src/pytest_flask/_internal.py create mode 100644 src/pytest_flask/fixtures.py create mode 100644 src/pytest_flask/live_server.py create mode 100644 src/pytest_flask/plugin.py create mode 100644 src/pytest_flask/pytest_compat.py create mode 100755 tests/conftest.py create mode 100755 tests/test_fixtures.py create mode 100644 tests/test_internal.py create mode 100644 tests/test_json_response.py create mode 100755 tests/test_live_server.py create mode 100755 tests/test_markers.py create mode 100644 tests/test_response_overwriting.py create mode 100644 tox.ini + git tag 1.3.0 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync pep518 --verify --verify-exclude 'wheel$' INFO : Syncing sources INFO : Syncing source pep518 INFO : Source pep518 is in sync INFO : Synced 1 sources (0 updated, 1 in sync) + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync pep517 --verify --verify-exclude 'wheel$' INFO : Syncing sources INFO : Syncing source pep517 INFO : Updated source pep517 INFO : Synced 1 sources (1 updated, 0 in sync) + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show metadata + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync metadata --verify INFO : Syncing sources INFO : Syncing source metadata INFO : Building metadata INFO : Building metadata with prepare_metadata_for_build_wheel INFO : Source tree: /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0 INFO : Output dir: /usr/src/tmp/tmp2ipbtp8f INFO : Source metadata is in sync INFO : Synced 1 sources (0 updated, 1 in sync) + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show check + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync check --verify INFO : Syncing sources INFO : Syncing source check INFO : Source check is in sync INFO : Synced 1 sources (0 updated, 1 in sync) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpmb-tmp.vwCIi1 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pytest-flask-1.3.0 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: setuptools.build_meta INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} /usr/lib/python3/site-packages/setuptools/_distutils/dist.py:288: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() INFO : root : running bdist_wheel INFO : root : running build INFO : root : running build_py INFO : root : creating build/lib/pytest_flask INFO : root : copying src/pytest_flask/_version.py -> build/lib/pytest_flask INFO : root : copying src/pytest_flask/pytest_compat.py -> build/lib/pytest_flask INFO : root : copying src/pytest_flask/plugin.py -> build/lib/pytest_flask INFO : root : copying src/pytest_flask/live_server.py -> build/lib/pytest_flask INFO : root : copying src/pytest_flask/fixtures.py -> build/lib/pytest_flask INFO : root : copying src/pytest_flask/_internal.py -> build/lib/pytest_flask INFO : root : copying src/pytest_flask/__init__.py -> build/lib/pytest_flask INFO : root : installing to build/bdist.linux-i686/wheel INFO : root : running install INFO : root : running install_lib INFO : root : creating build/bdist.linux-i686/wheel INFO : root : creating build/bdist.linux-i686/wheel/pytest_flask INFO : root : copying build/lib/pytest_flask/__init__.py -> build/bdist.linux-i686/wheel/./pytest_flask INFO : root : copying build/lib/pytest_flask/_internal.py -> build/bdist.linux-i686/wheel/./pytest_flask INFO : root : copying build/lib/pytest_flask/fixtures.py -> build/bdist.linux-i686/wheel/./pytest_flask INFO : root : copying build/lib/pytest_flask/live_server.py -> build/bdist.linux-i686/wheel/./pytest_flask INFO : root : copying build/lib/pytest_flask/plugin.py -> build/bdist.linux-i686/wheel/./pytest_flask INFO : root : copying build/lib/pytest_flask/pytest_compat.py -> build/bdist.linux-i686/wheel/./pytest_flask INFO : root : copying build/lib/pytest_flask/_version.py -> build/bdist.linux-i686/wheel/./pytest_flask INFO : root : running install_egg_info INFO : root : running egg_info INFO : root : creating src/pytest_flask.egg-info INFO : root : writing src/pytest_flask.egg-info/PKG-INFO INFO : root : writing dependency_links to src/pytest_flask.egg-info/dependency_links.txt INFO : root : writing entry points to src/pytest_flask.egg-info/entry_points.txt INFO : root : writing requirements to src/pytest_flask.egg-info/requires.txt INFO : root : writing top-level names to src/pytest_flask.egg-info/top_level.txt INFO : root : writing manifest file 'src/pytest_flask.egg-info/SOURCES.txt' INFO : root : adding license file 'LICENSE' INFO : root : writing manifest file 'src/pytest_flask.egg-info/SOURCES.txt' INFO : root : Copying src/pytest_flask.egg-info to build/bdist.linux-i686/wheel/./pytest_flask-1.3.0-py3.14.egg-info INFO : root : running install_scripts INFO : root : creating build/bdist.linux-i686/wheel/pytest_flask-1.3.0.dist-info/WHEEL INFO : wheel : creating '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/dist/.tmp-o0lu3_9o/pytest_flask-1.3.0-py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it INFO : wheel : adding 'pytest_flask/__init__.py' INFO : wheel : adding 'pytest_flask/_internal.py' INFO : wheel : adding 'pytest_flask/_version.py' INFO : wheel : adding 'pytest_flask/fixtures.py' INFO : wheel : adding 'pytest_flask/live_server.py' INFO : wheel : adding 'pytest_flask/plugin.py' INFO : wheel : adding 'pytest_flask/pytest_compat.py' INFO : wheel : adding 'pytest_flask-1.3.0.dist-info/licenses/LICENSE' INFO : wheel : adding 'pytest_flask-1.3.0.dist-info/METADATA' INFO : wheel : adding 'pytest_flask-1.3.0.dist-info/WHEEL' INFO : wheel : adding 'pytest_flask-1.3.0.dist-info/entry_points.txt' INFO : wheel : adding 'pytest_flask-1.3.0.dist-info/top_level.txt' INFO : wheel : adding 'pytest_flask-1.3.0.dist-info/RECORD' INFO : root : removing build/bdist.linux-i686/wheel INFO : pyproject_installer.build_cmd._build : Built wheel: pytest_flask-1.3.0-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpmb-tmp.WISdz7 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-pytest-flask-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-pytest-flask-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-pytest-flask-1.3.0 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-pytest-flask-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: pytest_flask-1.3.0-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-pytest-flask-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_flask-1.3.0.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_flask-1.3.0.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_flask-1.3.0.dist-info/top_level.txt DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_flask-1.3.0.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Extracting wheel INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-pytest-flask-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-pytest-flask-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-pytest-flask-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-pytest-flask-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-pytest-flask-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-pytest-flask-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-pytest-flask-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-pytest-flask-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/__init__.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/_internal.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/_version.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/fixtures.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/live_server.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/plugin.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/pytest_compat.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-pytest-flask-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/__init__.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/_internal.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/_version.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/fixtures.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/live_server.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/plugin.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/pytest_compat.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pytest-flask-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/__init__.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/_internal.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/_version.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/fixtures.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/live_server.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/plugin.py compile /usr/src/tmp/python3-module-pytest-flask-buildroot/usr/lib/python3/site-packages/pytest_flask/pytest_compat.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pytest_flask/__pycache__/__init__.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/__init__.cpython-314.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/__init__.cpython-314.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/__init__.cpython-314.opt-1.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/_internal.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/_internal.cpython-314.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/_version.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/_version.cpython-314.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/_version.cpython-314.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/_version.cpython-314.opt-1.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/fixtures.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/fixtures.cpython-314.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/live_server.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/live_server.cpython-314.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/plugin.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/plugin.cpython-314.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/pytest_compat.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/pytest_compat.cpython-314.pyc' './usr/lib/python3/site-packages/pytest_flask/__pycache__/pytest_compat.cpython-314.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_flask/__pycache__/pytest_compat.cpython-314.opt-1.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpmb-tmp.1Ng1by + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pytest-flask-1.3.0 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest -vra INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/dist/pytest_flask-1.3.0-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/dist/pytest_flask-1.3.0-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest', '-vra'] ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0 configfile: tox.ini plugins: flask-1.3.0 collecting ... collected 35 items tests/test_fixtures.py::TestFixtures::test_config_access PASSED [ 2%] tests/test_fixtures.py::TestFixtures::test_client PASSED [ 5%] tests/test_fixtures.py::TestFixtures::test_accept_json PASSED [ 8%] tests/test_fixtures.py::TestFixtures::test_accept_jsonp PASSED [ 11%] tests/test_fixtures.py::TestFixtures::test_accept_mimetype[application/json] PASSED [ 14%] tests/test_fixtures.py::TestFixtures::test_accept_mimetype[text/html] PASSED [ 17%] tests/test_fixtures.py::TestFixtures::test_accept_any[*] PASSED [ 20%] tests/test_fixtures.py::TestFixtures::test_accept_any[*/*] PASSED [ 22%] tests/test_fixtures.py::TestClientClass::test_client_attribute PASSED [ 25%] tests/test_internal.py::TestInternal::test_deprecation_decorator PASSED [ 28%] tests/test_json_response.py::TestJSONResponse::test_json_response PASSED [ 31%] tests/test_json_response.py::TestJSONResponse::test_json_response_compare_to_status_code PASSED [ 34%] tests/test_json_response.py::TestJSONResponse::test_mismatching_eq_comparison PASSED [ 37%] tests/test_live_server.py::TestLiveServer::test_init ERROR [ 40%] tests/test_live_server.py::TestLiveServer::test_server_is_alive ERROR [ 42%] tests/test_live_server.py::TestLiveServer::test_server_listening ERROR [ 45%] tests/test_live_server.py::TestLiveServer::test_url_for ERROR [ 48%] tests/test_live_server.py::TestLiveServer::test_set_application_server_name ERROR [ 51%] tests/test_live_server.py::TestLiveServer::test_rewrite_application_server_name FAILED [ 54%] tests/test_live_server.py::TestLiveServer::test_prevent_starting_live_server PASSED [ 57%] tests/test_live_server.py::TestLiveServer::test_start_live_server FAILED [ 60%] tests/test_live_server.py::TestLiveServer::test_stop_cleanly_join_exception ERROR [ 62%] tests/test_live_server.py::TestLiveServer::test_clean_stop_live_server[True] FAILED [ 65%] tests/test_live_server.py::TestLiveServer::test_clean_stop_live_server[False] FAILED [ 68%] tests/test_live_server.py::TestLiveServer::test_add_endpoint_to_live_server FAILED [ 71%] tests/test_live_server.py::TestLiveServer::test_concurrent_requests_to_live_server SKIPPED [ 74%] tests/test_live_server.py::TestLiveServer::test_live_server_fixed_port[5000] FAILED [ 77%] tests/test_live_server.py::TestLiveServer::test_live_server_fixed_port[5001] FAILED [ 80%] tests/test_live_server.py::TestLiveServer::test_live_server_fixed_host[127.0.0.1] FAILED [ 82%] tests/test_live_server.py::TestLiveServer::test_live_server_fixed_host[0.0.0.0] FAILED [ 85%] tests/test_live_server.py::TestLiveServer::test_respect_wait_timeout PASSED [ 88%] tests/test_markers.py::TestOptionMarker::test_not_debug_app PASSED [ 91%] tests/test_markers.py::TestOptionMarker::test_update_application_config PASSED [ 94%] tests/test_markers.py::TestOptionMarker::test_application_config_teardown PASSED [ 97%] tests/test_response_overwriting.py::TestResponseOverwriting::test_dont_rewrite_existing_implementation PASSED [100%] ==================================== ERRORS ==================================== __________________ ERROR at setup of TestLiveServer.test_init __________________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf6e77310> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() .run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf60be0a0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d26c88> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError ____________ ERROR at setup of TestLiveServer.test_server_is_alive _____________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf6e77310> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() .run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf60be0a0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d26c88> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError ____________ ERROR at setup of TestLiveServer.test_server_listening ____________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf6e77310> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() .run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf60be0a0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d26c88> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError ________________ ERROR at setup of TestLiveServer.test_url_for _________________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf6e77310> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() .run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf60be0a0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d26c88> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError ______ ERROR at setup of TestLiveServer.test_set_application_server_name _______ request = > app = pytestconfig = <_pytest.config.Config object at 0xf6e77310> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() .run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf60be0a0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d26c88> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError ______ ERROR at setup of TestLiveServer.test_stop_cleanly_join_exception _______ request = > app = pytestconfig = <_pytest.config.Config object at 0xf6e77310> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() .run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf60be0a0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d26c88> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =================================== FAILURES =================================== _____________ TestLiveServer.test_rewrite_application_server_name ______________ self = appdir = def test_rewrite_application_server_name(self, appdir): appdir.create_test_module( """ import pytest @pytest.mark.options(server_name='example.com:5000') def test_a(live_server): assert live_server.app.config['SERVER_NAME'] == \\ 'example.com:%d' % live_server.port """ ) result = appdir.runpytest("-v", "-o", "live_server_scope=function") > result.stdout.fnmatch_lines(["*PASSED*"]) E Failed: nomatch: '*PASSED*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_rewrite_application_server_name0' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_a ERROR [100%]' E and: '' E and: '==================================== ERRORS ====================================' E and: '___________________________ ERROR at setup of test_a ___________________________' E and: '' E and: "request = >" E and: '' E and: ' @pytest.fixture(autouse=True)' E and: ' def _push_request_context(request):' E and: ' """During tests execution request context has been pushed, e.g. `url_for`,' E and: ' `session`, etc. can be used in tests as is::' E and: ' ' E and: ' def test_app(app, client):' E and: " assert client.get(url_for('myview')).status_code == 200" E and: ' ' E and: ' """' E and: ' if "app" not in request.fixturenames:' E and: ' return' E and: ' ' E and: ' app = getfixturevalue(request, "app")' E and: ' ' E and: ' # Get application bound to the live server if ``live_server`` fixture' E and: ' # is applied. Live server application has an explicit ``SERVER_NAME``,' E and: ' # so ``url_for`` function generates a complete URL for endpoint which' E and: ' # includes application port as well.' E and: ' if "live_server" in request.fixturenames:' E and: '> app = getfixturevalue(request, "live_server").app' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/plugin.py:100: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/pytest_compat.py:3: in getfixturevalue' E and: ' return request.getfixturevalue(value)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: in live_server' E and: ' server.start()' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5cfab18>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c6b238>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '=========================== short test summary info ============================' E and: "ERROR tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local o..." E and: '=============================== 1 error in 0.03s ===============================' E remains unmatched: '*PASSED*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:49: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_rewrite_application_server_name0 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_a ERROR [100%] ==================================== ERRORS ==================================== ___________________________ ERROR at setup of test_a ___________________________ request = > @pytest.fixture(autouse=True) def _push_request_context(request): """During tests execution request context has been pushed, e.g. `url_for`, `session`, etc. can be used in tests as is:: def test_app(app, client): assert client.get(url_for('myview')).status_code == 200 """ if "app" not in request.fixturenames: return app = getfixturevalue(request, "app") # Get application bound to the live server if ``live_server`` fixture # is applied. Live server application has an explicit ``SERVER_NAME``, # so ``url_for`` function generates a complete URL for endpoint which # includes application port as well. if "live_server" in request.fixturenames: > app = getfixturevalue(request, "live_server").app ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/plugin.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/pytest_compat.py:3: in getfixturevalue return request.getfixturevalue(value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: in live_server server.start() /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5cfab18>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c6b238> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =========================== short test summary info ============================ ERROR tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local o... =============================== 1 error in 0.03s =============================== ____________________ TestLiveServer.test_start_live_server _____________________ self = appdir = def test_start_live_server(self, appdir): appdir.create_test_module( """ import pytest def test_a(live_server): assert live_server._process assert live_server._process.is_alive() """ ) result = appdir.runpytest("-v", "--start-live-server") > result.stdout.fnmatch_lines(["*passed*"]) E Failed: nomatch: '*passed*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_start_live_server0' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_a ERROR [100%]' E and: '' E and: '==================================== ERRORS ====================================' E and: '___________________________ ERROR at setup of test_a ___________________________' E and: '' E and: "request = >" E and: "app = " E and: 'pytestconfig = <_pytest.config.Config object at 0xf5cc1d40>' E and: '' E and: ' @pytest.fixture(scope=_determine_scope)' E and: ' def live_server(request, app, pytestconfig): # pragma: no cover' E and: ' """Run application in a separate process.' E and: ' ' E and: ' When the ``live_server`` fixture is applied, the ``url_for`` function' E and: ' works as expected::' E and: ' ' E and: ' def test_server_is_up_and_running(live_server):' E and: " index_url = url_for('index', _external=True)" E and: " assert index_url == 'http://localhost:5000/'" E and: ' ' E and: ' res = urllib2.urlopen(index_url)' E and: ' assert res.code == 200' E and: ' ' E and: ' """' E and: ' # Set or get a port' E and: ' port = app.config.get("LIVESERVER_PORT", None)' E and: ' if not port:' E and: ' port = pytestconfig.getvalue("live_server_port")' E and: ' ' E and: ' if port == 0:' E and: ' # Bind to an open port' E and: ' s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)' E and: ' s.bind(("", 0))' E and: ' port = s.getsockname()[1]' E and: ' s.close()' E and: ' ' E and: ' host = pytestconfig.getvalue("live_server_host")' E and: ' ' E and: ' # Explicitly set application ``SERVER_NAME`` for test suite' E and: ' original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain"' E and: ' final_server_name = _rewrite_server_name(original_server_name, str(port))' E and: ' app.config["SERVER_NAME"] = final_server_name' E and: ' ' E and: ' wait = request.config.getvalue("live_server_wait")' E and: ' clean_stop = request.config.getvalue("live_server_clean_stop")' E and: ' server = LiveServer(app, host, port, wait, clean_stop)' E and: ' if request.config.getvalue("start_live_server"):' E and: '> server.start()' E and: '' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5dc4eb0>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c8a4f8>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '=========================== short test summary info ============================' E and: "ERROR tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local o..." E and: '=============================== 1 error in 0.03s ===============================' E remains unmatched: '*passed*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:77: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_start_live_server0 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_a ERROR [100%] ==================================== ERRORS ==================================== ___________________________ ERROR at setup of test_a ___________________________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf5cc1d40> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5dc4eb0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c8a4f8> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =========================== short test summary info ============================ ERROR tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local o... =============================== 1 error in 0.03s =============================== _______________ TestLiveServer.test_clean_stop_live_server[True] _______________ self = appdir = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf5d51848> clean_stop = True @pytest.mark.parametrize("clean_stop", [True, False]) def test_clean_stop_live_server(self, appdir, monkeypatch, clean_stop): """Ensure the fixture is trying to cleanly stop the server. Because this is tricky to test, we are checking that the _stop_cleanly() internal function was called and reported success. """ from pytest_flask.fixtures import LiveServer original_stop_cleanly_func = LiveServer._stop_cleanly stop_cleanly_result = [] def mocked_stop_cleanly(*args, **kwargs): result = original_stop_cleanly_func(*args, **kwargs) stop_cleanly_result.append(result) return result monkeypatch.setattr(LiveServer, "_stop_cleanly", mocked_stop_cleanly) appdir.create_test_module( """ import pytest from flask import url_for def test_a(live_server, client): @live_server.app.route('/') def index(): return 'got it', 200 live_server.start() res = client.get(url_for('index', _external=True)) assert res.status_code == 200 assert b'got it' in res.data """ ) args = [] if clean_stop else ["--no-live-server-clean-stop"] result = appdir.runpytest_inprocess("-v", "--no-start-live-server", *args) > result.stdout.fnmatch_lines("*1 passed*") E Failed: nomatch: '*1 passed*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_clean_stop_live_server0' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_a FAILED [100%]' E and: '' E and: '=================================== FAILURES ===================================' E and: '____________________________________ test_a ____________________________________' E and: '' E and: 'live_server = ' E and: "client = >" E and: '' E and: ' def test_a(live_server, client):' E and: " @live_server.app.route('/')" E and: ' def index():' E and: " return 'got it', 200" E and: ' ' E and: '> live_server.start()' E and: '' E and: 'tests/test_app.py:11: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5c61028>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5cc47b8>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '---------------------------- Captured log teardown -----------------------------' E and: 'ERROR root:live_server.py:98 Failed to join the live server process: TypeError("\'NoneType\' object cannot be interpreted as an integer")' E and: '=========================== short test summary info ============================' E and: "FAILED tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local ..." E and: '============================== 1 failed in 0.03s ===============================' E remains unmatched: '*1 passed*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:126: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_clean_stop_live_server0 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_a FAILED [100%] =================================== FAILURES =================================== ____________________________________ test_a ____________________________________ live_server = client = > def test_a(live_server, client): @live_server.app.route('/') def index(): return 'got it', 200 > live_server.start() tests/test_app.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5c61028>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5cc47b8> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError ---------------------------- Captured log teardown ----------------------------- ERROR root:live_server.py:98 Failed to join the live server process: TypeError("'NoneType' object cannot be interpreted as an integer") =========================== short test summary info ============================ FAILED tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local ... ============================== 1 failed in 0.03s =============================== ------------------------------ Captured log call ------------------------------- ERROR root:live_server.py:98 Failed to join the live server process: TypeError("'NoneType' object cannot be interpreted as an integer") ______________ TestLiveServer.test_clean_stop_live_server[False] _______________ self = appdir = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf5c6ef10> clean_stop = False @pytest.mark.parametrize("clean_stop", [True, False]) def test_clean_stop_live_server(self, appdir, monkeypatch, clean_stop): """Ensure the fixture is trying to cleanly stop the server. Because this is tricky to test, we are checking that the _stop_cleanly() internal function was called and reported success. """ from pytest_flask.fixtures import LiveServer original_stop_cleanly_func = LiveServer._stop_cleanly stop_cleanly_result = [] def mocked_stop_cleanly(*args, **kwargs): result = original_stop_cleanly_func(*args, **kwargs) stop_cleanly_result.append(result) return result monkeypatch.setattr(LiveServer, "_stop_cleanly", mocked_stop_cleanly) appdir.create_test_module( """ import pytest from flask import url_for def test_a(live_server, client): @live_server.app.route('/') def index(): return 'got it', 200 live_server.start() res = client.get(url_for('index', _external=True)) assert res.status_code == 200 assert b'got it' in res.data """ ) args = [] if clean_stop else ["--no-live-server-clean-stop"] result = appdir.runpytest_inprocess("-v", "--no-start-live-server", *args) > result.stdout.fnmatch_lines("*1 passed*") E Failed: nomatch: '*1 passed*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_clean_stop_live_server1' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_a FAILED [100%]' E and: '' E and: '=================================== FAILURES ===================================' E and: '____________________________________ test_a ____________________________________' E and: '' E and: 'live_server = ' E and: "client = >" E and: '' E and: ' def test_a(live_server, client):' E and: " @live_server.app.route('/')" E and: ' def index():' E and: " return 'got it', 200" E and: ' ' E and: '> live_server.start()' E and: '' E and: 'tests/test_app.py:11: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5bf3ed8>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d58340>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '=========================== short test summary info ============================' E and: "FAILED tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local ..." E and: '============================== 1 failed in 0.03s ===============================' E remains unmatched: '*1 passed*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:126: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_clean_stop_live_server1 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_a FAILED [100%] =================================== FAILURES =================================== ____________________________________ test_a ____________________________________ live_server = client = > def test_a(live_server, client): @live_server.app.route('/') def index(): return 'got it', 200 > live_server.start() tests/test_app.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5bf3ed8>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d58340> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =========================== short test summary info ============================ FAILED tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local ... ============================== 1 failed in 0.03s =============================== _______________ TestLiveServer.test_add_endpoint_to_live_server ________________ self = appdir = def test_add_endpoint_to_live_server(self, appdir): appdir.create_test_module( """ import pytest from flask import url_for def test_a(live_server, client): @live_server.app.route('/new-endpoint') def new_endpoint(): return 'got it', 200 live_server.start() res = client.get(url_for('new_endpoint', _external=True)) assert res.status_code == 200 assert b'got it' in res.data """ ) result = appdir.runpytest("-v", "--no-start-live-server") > result.stdout.fnmatch_lines(["*passed*"]) E Failed: nomatch: '*passed*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_add_endpoint_to_live_server0' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_a FAILED [100%]' E and: '' E and: '=================================== FAILURES ===================================' E and: '____________________________________ test_a ____________________________________' E and: '' E and: 'live_server = ' E and: "client = >" E and: '' E and: ' def test_a(live_server, client):' E and: " @live_server.app.route('/new-endpoint')" E and: ' def new_endpoint():' E and: " return 'got it', 200" E and: ' ' E and: '> live_server.start()' E and: '' E and: 'tests/test_app.py:11: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5c93e10>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d13b28>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '---------------------------- Captured log teardown -----------------------------' E and: 'ERROR root:live_server.py:98 Failed to join the live server process: TypeError("\'NoneType\' object cannot be interpreted as an integer")' E and: '=========================== short test summary info ============================' E and: "FAILED tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local ..." E and: '============================== 1 failed in 0.03s ===============================' E remains unmatched: '*passed*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:152: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_add_endpoint_to_live_server0 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_a FAILED [100%] =================================== FAILURES =================================== ____________________________________ test_a ____________________________________ live_server = client = > def test_a(live_server, client): @live_server.app.route('/new-endpoint') def new_endpoint(): return 'got it', 200 > live_server.start() tests/test_app.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5c93e10>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d13b28> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError ---------------------------- Captured log teardown ----------------------------- ERROR root:live_server.py:98 Failed to join the live server process: TypeError("'NoneType' object cannot be interpreted as an integer") =========================== short test summary info ============================ FAILED tests/test_app.py::test_a - _pickle.PicklingError: Can't pickle local ... ============================== 1 failed in 0.03s =============================== ------------------------------ Captured log call ------------------------------- ERROR root:live_server.py:98 Failed to join the live server process: TypeError("'NoneType' object cannot be interpreted as an integer") _______________ TestLiveServer.test_live_server_fixed_port[5000] _______________ self = , port = 5000 appdir = @pytest.mark.parametrize("port", [5000, 5001]) def test_live_server_fixed_port(self, port, appdir): appdir.create_test_module( """ import pytest def test_port(live_server): assert live_server.port == %d """ % port ) result = appdir.runpytest("-v", "--live-server-port", str(port)) > result.stdout.fnmatch_lines(["*PASSED*"]) E Failed: nomatch: '*PASSED*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_port0' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_port ERROR [100%]' E and: '' E and: '==================================== ERRORS ====================================' E and: '_________________________ ERROR at setup of test_port __________________________' E and: '' E and: "request = >" E and: "app = " E and: 'pytestconfig = <_pytest.config.Config object at 0xf5cc1be0>' E and: '' E and: ' @pytest.fixture(scope=_determine_scope)' E and: ' def live_server(request, app, pytestconfig): # pragma: no cover' E and: ' """Run application in a separate process.' E and: ' ' E and: ' When the ``live_server`` fixture is applied, the ``url_for`` function' E and: ' works as expected::' E and: ' ' E and: ' def test_server_is_up_and_running(live_server):' E and: " index_url = url_for('index', _external=True)" E and: " assert index_url == 'http://localhost:5000/'" E and: ' ' E and: ' res = urllib2.urlopen(index_url)' E and: ' assert res.code == 200' E and: ' ' E and: ' """' E and: ' # Set or get a port' E and: ' port = app.config.get("LIVESERVER_PORT", None)' E and: ' if not port:' E and: ' port = pytestconfig.getvalue("live_server_port")' E and: ' ' E and: ' if port == 0:' E and: ' # Bind to an open port' E and: ' s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)' E and: ' s.bind(("", 0))' E and: ' port = s.getsockname()[1]' E and: ' s.close()' E and: ' ' E and: ' host = pytestconfig.getvalue("live_server_host")' E and: ' ' E and: ' # Explicitly set application ``SERVER_NAME`` for test suite' E and: ' original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain"' E and: ' final_server_name = _rewrite_server_name(original_server_name, str(port))' E and: ' app.config["SERVER_NAME"] = final_server_name' E and: ' ' E and: ' wait = request.config.getvalue("live_server_wait")' E and: ' clean_stop = request.config.getvalue("live_server_clean_stop")' E and: ' server = LiveServer(app, host, port, wait, clean_stop)' E and: ' if request.config.getvalue("start_live_server"):' E and: '> server.start()' E and: '' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5c48280>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c58fa0>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '=========================== short test summary info ============================' E and: "ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca..." E and: '=============================== 1 error in 0.03s ===============================' E remains unmatched: '*PASSED*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:196: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_port0 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_port ERROR [100%] ==================================== ERRORS ==================================== _________________________ ERROR at setup of test_port __________________________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf5cc1be0> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5c48280>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c58fa0> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =========================== short test summary info ============================ ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca... =============================== 1 error in 0.03s =============================== _______________ TestLiveServer.test_live_server_fixed_port[5001] _______________ self = , port = 5001 appdir = @pytest.mark.parametrize("port", [5000, 5001]) def test_live_server_fixed_port(self, port, appdir): appdir.create_test_module( """ import pytest def test_port(live_server): assert live_server.port == %d """ % port ) result = appdir.runpytest("-v", "--live-server-port", str(port)) > result.stdout.fnmatch_lines(["*PASSED*"]) E Failed: nomatch: '*PASSED*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_port1' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_port ERROR [100%]' E and: '' E and: '==================================== ERRORS ====================================' E and: '_________________________ ERROR at setup of test_port __________________________' E and: '' E and: "request = >" E and: "app = " E and: 'pytestconfig = <_pytest.config.Config object at 0xf5da5450>' E and: '' E and: ' @pytest.fixture(scope=_determine_scope)' E and: ' def live_server(request, app, pytestconfig): # pragma: no cover' E and: ' """Run application in a separate process.' E and: ' ' E and: ' When the ``live_server`` fixture is applied, the ``url_for`` function' E and: ' works as expected::' E and: ' ' E and: ' def test_server_is_up_and_running(live_server):' E and: " index_url = url_for('index', _external=True)" E and: " assert index_url == 'http://localhost:5000/'" E and: ' ' E and: ' res = urllib2.urlopen(index_url)' E and: ' assert res.code == 200' E and: ' ' E and: ' """' E and: ' # Set or get a port' E and: ' port = app.config.get("LIVESERVER_PORT", None)' E and: ' if not port:' E and: ' port = pytestconfig.getvalue("live_server_port")' E and: ' ' E and: ' if port == 0:' E and: ' # Bind to an open port' E and: ' s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)' E and: ' s.bind(("", 0))' E and: ' port = s.getsockname()[1]' E and: ' s.close()' E and: ' ' E and: ' host = pytestconfig.getvalue("live_server_host")' E and: ' ' E and: ' # Explicitly set application ``SERVER_NAME`` for test suite' E and: ' original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain"' E and: ' final_server_name = _rewrite_server_name(original_server_name, str(port))' E and: ' app.config["SERVER_NAME"] = final_server_name' E and: ' ' E and: ' wait = request.config.getvalue("live_server_wait")' E and: ' clean_stop = request.config.getvalue("live_server_clean_stop")' E and: ' server = LiveServer(app, host, port, wait, clean_stop)' E and: ' if request.config.getvalue("start_live_server"):' E and: '> server.start()' E and: '' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5b717f8>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d58708>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '=========================== short test summary info ============================' E and: "ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca..." E and: '=============================== 1 error in 0.03s ===============================' E remains unmatched: '*PASSED*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:196: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_port1 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_port ERROR [100%] ==================================== ERRORS ==================================== _________________________ ERROR at setup of test_port __________________________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf5da5450> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5b717f8>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d58708> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =========================== short test summary info ============================ ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca... =============================== 1 error in 0.03s =============================== ____________ TestLiveServer.test_live_server_fixed_host[127.0.0.1] _____________ self = host = '127.0.0.1' appdir = @pytest.mark.parametrize("host", ["127.0.0.1", "0.0.0.0"]) def test_live_server_fixed_host(self, host, appdir): appdir.create_test_module( """ import pytest def test_port(live_server): assert live_server.host == '%s' """ % host ) result = appdir.runpytest("-v", "--live-server-host", str(host)) > result.stdout.fnmatch_lines(["*PASSED*"]) E Failed: nomatch: '*PASSED*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_host0' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_port ERROR [100%]' E and: '' E and: '==================================== ERRORS ====================================' E and: '_________________________ ERROR at setup of test_port __________________________' E and: '' E and: "request = >" E and: "app = " E and: 'pytestconfig = <_pytest.config.Config object at 0xf5cc1190>' E and: '' E and: ' @pytest.fixture(scope=_determine_scope)' E and: ' def live_server(request, app, pytestconfig): # pragma: no cover' E and: ' """Run application in a separate process.' E and: ' ' E and: ' When the ``live_server`` fixture is applied, the ``url_for`` function' E and: ' works as expected::' E and: ' ' E and: ' def test_server_is_up_and_running(live_server):' E and: " index_url = url_for('index', _external=True)" E and: " assert index_url == 'http://localhost:5000/'" E and: ' ' E and: ' res = urllib2.urlopen(index_url)' E and: ' assert res.code == 200' E and: ' ' E and: ' """' E and: ' # Set or get a port' E and: ' port = app.config.get("LIVESERVER_PORT", None)' E and: ' if not port:' E and: ' port = pytestconfig.getvalue("live_server_port")' E and: ' ' E and: ' if port == 0:' E and: ' # Bind to an open port' E and: ' s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)' E and: ' s.bind(("", 0))' E and: ' port = s.getsockname()[1]' E and: ' s.close()' E and: ' ' E and: ' host = pytestconfig.getvalue("live_server_host")' E and: ' ' E and: ' # Explicitly set application ``SERVER_NAME`` for test suite' E and: ' original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain"' E and: ' final_server_name = _rewrite_server_name(original_server_name, str(port))' E and: ' app.config["SERVER_NAME"] = final_server_name' E and: ' ' E and: ' wait = request.config.getvalue("live_server_wait")' E and: ' clean_stop = request.config.getvalue("live_server_clean_stop")' E and: ' server = LiveServer(app, host, port, wait, clean_stop)' E and: ' if request.config.getvalue("start_live_server"):' E and: '> server.start()' E and: '' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5c183e8>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c0a970>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '=========================== short test summary info ============================' E and: "ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca..." E and: '=============================== 1 error in 0.03s ===============================' E remains unmatched: '*PASSED*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:211: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_host0 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_port ERROR [100%] ==================================== ERRORS ==================================== _________________________ ERROR at setup of test_port __________________________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf5cc1190> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5c183e8>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5c0a970> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =========================== short test summary info ============================ ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca... =============================== 1 error in 0.03s =============================== _____________ TestLiveServer.test_live_server_fixed_host[0.0.0.0] ______________ self = , host = '0.0.0.0' appdir = @pytest.mark.parametrize("host", ["127.0.0.1", "0.0.0.0"]) def test_live_server_fixed_host(self, host, appdir): appdir.create_test_module( """ import pytest def test_port(live_server): assert live_server.host == '%s' """ % host ) result = appdir.runpytest("-v", "--live-server-host", str(host)) > result.stdout.fnmatch_lines(["*PASSED*"]) E Failed: nomatch: '*PASSED*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_host1' E and: 'plugins: flask-1.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'tests/test_app.py::test_port ERROR [100%]' E and: '' E and: '==================================== ERRORS ====================================' E and: '_________________________ ERROR at setup of test_port __________________________' E and: '' E and: "request = >" E and: "app = " E and: 'pytestconfig = <_pytest.config.Config object at 0xf5d40df0>' E and: '' E and: ' @pytest.fixture(scope=_determine_scope)' E and: ' def live_server(request, app, pytestconfig): # pragma: no cover' E and: ' """Run application in a separate process.' E and: ' ' E and: ' When the ``live_server`` fixture is applied, the ``url_for`` function' E and: ' works as expected::' E and: ' ' E and: ' def test_server_is_up_and_running(live_server):' E and: " index_url = url_for('index', _external=True)" E and: " assert index_url == 'http://localhost:5000/'" E and: ' ' E and: ' res = urllib2.urlopen(index_url)' E and: ' assert res.code == 200' E and: ' ' E and: ' """' E and: ' # Set or get a port' E and: ' port = app.config.get("LIVESERVER_PORT", None)' E and: ' if not port:' E and: ' port = pytestconfig.getvalue("live_server_port")' E and: ' ' E and: ' if port == 0:' E and: ' # Bind to an open port' E and: ' s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)' E and: ' s.bind(("", 0))' E and: ' port = s.getsockname()[1]' E and: ' s.close()' E and: ' ' E and: ' host = pytestconfig.getvalue("live_server_host")' E and: ' ' E and: ' # Explicitly set application ``SERVER_NAME`` for test suite' E and: ' original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain"' E and: ' final_server_name = _rewrite_server_name(original_server_name, str(port))' E and: ' app.config["SERVER_NAME"] = final_server_name' E and: ' ' E and: ' wait = request.config.getvalue("live_server_wait")' E and: ' clean_stop = request.config.getvalue("live_server_clean_stop")' E and: ' server = LiveServer(app, host, port, wait, clean_stop)' E and: ' if request.config.getvalue("start_live_server"):' E and: '> server.start()' E and: '' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: ' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '/usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start' E and: ' self._process.start()' E and: '/usr/lib/python3.14/multiprocessing/process.py:121: in start' E and: ' self._popen = self._Popen(self)' E and: ' ^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:230: in _Popen' E and: ' return _default_context.get_context().Process._Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/context.py:306: in _Popen' E and: ' return Popen(process_obj)' E and: ' ^^^^^^^^^^^^^^^^^^' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__' E and: ' super().__init__(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__' E and: ' self._launch(process_obj)' E and: '/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch' E and: ' reduction.dump(process_obj, buf)' E and: '_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' E and: '' E and: "obj = " E and: 'file = <_io.BytesIO object at 0xf5c090c8>, protocol = None' E and: '' E and: ' def dump(obj, file, protocol=None):' E and: " '''Replacement for pickle.dump() using ForkingPickler.'''" E and: '> ForkingPickler(file, protocol).dump(obj)' E and: "E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d1aa20>" E and: "E when serializing dict item '_target'" E and: 'E when serializing multiprocessing.context.Process state' E and: 'E when serializing multiprocessing.context.Process object' E and: '' E and: '/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError' E and: '=========================== short test summary info ============================' E and: "ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca..." E and: '=============================== 1 error in 0.03s ===============================' E remains unmatched: '*PASSED*' /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/tests/test_live_server.py:211: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_live_server_fixed_host1 plugins: flask-1.3.0 collecting ... collected 1 item tests/test_app.py::test_port ERROR [100%] ==================================== ERRORS ==================================== _________________________ ERROR at setup of test_port __________________________ request = > app = pytestconfig = <_pytest.config.Config object at 0xf5d40df0> @pytest.fixture(scope=_determine_scope) def live_server(request, app, pytestconfig): # pragma: no cover """Run application in a separate process. When the ``live_server`` fixture is applied, the ``url_for`` function works as expected:: def test_server_is_up_and_running(live_server): index_url = url_for('index', _external=True) assert index_url == 'http://localhost:5000/' res = urllib2.urlopen(index_url) assert res.code == 200 """ # Set or get a port port = app.config.get("LIVESERVER_PORT", None) if not port: port = pytestconfig.getvalue("live_server_port") if port == 0: # Bind to an open port s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) port = s.getsockname()[1] s.close() host = pytestconfig.getvalue("live_server_host") # Explicitly set application ``SERVER_NAME`` for test suite original_server_name = app.config["SERVER_NAME"] or "localhost.localdomain" final_server_name = _rewrite_server_name(original_server_name, str(port)) app.config["SERVER_NAME"] = final_server_name wait = request.config.getvalue("live_server_wait") clean_stop = request.config.getvalue("live_server_clean_stop") server = LiveServer(app, host, port, wait, clean_stop) if request.config.getvalue("start_live_server"): > server.start() /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/src/RPM/BUILD/python3-module-pytest-flask-1.3.0/.run_venv/lib/python3/site-packages/pytest_flask/live_server.py:46: in start self._process.start() /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:230: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:306: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = file = <_io.BytesIO object at 0xf5c090c8>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object .worker at 0xf5d1aa20> E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =========================== short test summary info ============================ ERROR tests/test_app.py::test_port - _pickle.PicklingError: Can't pickle loca... =============================== 1 error in 0.03s =============================== =============================== warnings summary =============================== ../../../../lib/python3/site-packages/_pytest/config/__init__.py:1434 /usr/lib/python3/site-packages/_pytest/config/__init__.py:1434: PytestConfigWarning: Unknown config option: pep8ignore self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") ../../../../lib/python3/site-packages/_pytest/config/__init__.py:1434 /usr/lib/python3/site-packages/_pytest/config/__init__.py:1434: PytestConfigWarning: Unknown config option: pep8maxlinelength self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] tests/test_live_server.py:155: this test hangs in the original code ERROR tests/test_live_server.py::TestLiveServer::test_init - _pickle.Pickling... ERROR tests/test_live_server.py::TestLiveServer::test_server_is_alive - _pick... ERROR tests/test_live_server.py::TestLiveServer::test_server_listening - _pic... ERROR tests/test_live_server.py::TestLiveServer::test_url_for - _pickle.Pickl... ERROR tests/test_live_server.py::TestLiveServer::test_set_application_server_name ERROR tests/test_live_server.py::TestLiveServer::test_stop_cleanly_join_exception FAILED tests/test_live_server.py::TestLiveServer::test_rewrite_application_server_name FAILED tests/test_live_server.py::TestLiveServer::test_start_live_server - Fa... FAILED tests/test_live_server.py::TestLiveServer::test_clean_stop_live_server[True] FAILED tests/test_live_server.py::TestLiveServer::test_clean_stop_live_server[False] FAILED tests/test_live_server.py::TestLiveServer::test_add_endpoint_to_live_server FAILED tests/test_live_server.py::TestLiveServer::test_live_server_fixed_port[5000] FAILED tests/test_live_server.py::TestLiveServer::test_live_server_fixed_port[5001] FAILED tests/test_live_server.py::TestLiveServer::test_live_server_fixed_host[127.0.0.1] FAILED tests/test_live_server.py::TestLiveServer::test_live_server_fixed_host[0.0.0.0] ======== 9 failed, 19 passed, 1 skipped, 2 warnings, 6 errors in 0.80s ========= INFO : Command's result: FAILURE INFO : Command's error: Command '['python3', '-m', 'pytest', '-vra']' returned non-zero exit status 1. error: Bad exit status from /usr/src/tmp/rpmb-tmp.1Ng1by (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpmb-tmp.1Ng1by (%check) Command exited with non-zero status 1 6.73user 0.95system 0:07.64elapsed 100%CPU (0avgtext+0avgdata 42088maxresident)k 0inputs+0outputs (0major+183313minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-pytest-flask-1.3.0-alt1.src.rpm' failed. Command exited with non-zero status 1 4.89user 3.04system 0:24.96elapsed 31%CPU (0avgtext+0avgdata 144720maxresident)k 160inputs+0outputs (0major+297732minor)pagefaults 0swaps