<86>Apr 27 10:11:43 userdel[2145844]: delete user 'rooter' <86>Apr 27 10:11:43 userdel[2145844]: removed group 'rooter' owned by 'rooter' <86>Apr 27 10:11:43 userdel[2145844]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 27 10:11:43 groupadd[2145903]: group added to /etc/group: name=rooter, GID=1226 <86>Apr 27 10:11:43 groupadd[2145903]: group added to /etc/gshadow: name=rooter <86>Apr 27 10:11:43 groupadd[2145903]: new group: name=rooter, GID=1226 <86>Apr 27 10:11:43 useradd[2146079]: new user: name=rooter, UID=1226, GID=1226, home=/root, shell=/bin/bash, from=none <86>Apr 27 10:11:43 userdel[2146168]: delete user 'builder' <86>Apr 27 10:11:43 groupadd[2146245]: group added to /etc/group: name=builder, GID=1227 <86>Apr 27 10:11:43 groupadd[2146245]: group added to /etc/gshadow: name=builder <86>Apr 27 10:11:43 groupadd[2146245]: new group: name=builder, GID=1227 <86>Apr 27 10:11:43 useradd[2146334]: new user: name=builder, UID=1227, GID=1227, home=/usr/src, shell=/bin/bash, from=none <13>Apr 27 10:11:49 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Apr 27 10:11:49 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Apr 27 10:11:49 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Apr 27 10:11:49 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Apr 27 10:11:49 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 27 10:11:49 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Apr 27 10:11:49 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 27 10:11:49 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 27 10:11:49 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>Apr 27 10:11:49 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Apr 27 10:11:49 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 27 10:11:49 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <13>Apr 27 10:11:49 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <13>Apr 27 10:11:49 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Apr 27 10:11:50 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Apr 27 10:11:50 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Apr 27 10:11:50 rpmi: python3-module-pyproject-installer-0.5.3-alt1 sisyphus+344989.100.3.1 1713974805 installed <13>Apr 27 10:11:50 rpmi: rpm-macros-pyproject-0.0.5-alt1 sisyphus+344989.500.3.1 1713974843 installed <13>Apr 27 10:11:50 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Apr 27 10:11:50 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Apr 27 10:11:50 rpmi: rpm-build-pyproject-0.0.5-alt1 sisyphus+344989.500.3.1 1713974843 installed <13>Apr 27 10:11:53 rpmi: python3-module-system-seed-wheels-0.0.1-alt1 sisyphus+270533.400.6.1 1619683380 installed <13>Apr 27 10:11:53 rpmi: python3-module-packaging-24.0-alt1 sisyphus+342487.100.2.1 1710407438 installed <13>Apr 27 10:11:53 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Apr 27 10:11:53 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Apr 27 10:11:53 rpmi: python3-module-filelock-3.13.4-alt1 sisyphus+344834.100.2.2 1712744464 installed <13>Apr 27 10:11:53 rpmi: python3-module-pytest-8.0.2-alt1 sisyphus+341429.100.2.1 1709025013 installed <13>Apr 27 10:11:53 rpmi: python3-module-pip-wheel-24.0-alt1 sisyphus+340181.100.1.1 1707480859 installed <13>Apr 27 10:11:53 rpmi: python3-module-setuptools-wheel-1:69.5.1-alt1 sisyphus+345209.100.2.1 1713349328 installed <13>Apr 27 10:11:53 rpmi: python3-module-wheel-wheel-0.43.0-alt1 sisyphus+342546.200.3.1 1710867409 installed <13>Apr 27 10:11:53 rpmi: python3-module-system-seed-wheels-wheels-0.0.1-alt1 sisyphus+270533.400.6.1 1619683380 installed <13>Apr 27 10:11:53 rpmi: python3-module-six-1.16.0-alt2 sisyphus+324249.100.1.1 1688484676 installed <13>Apr 27 10:11:53 rpmi: python3-module-snowballstemmer-2.2.0-alt1 sisyphus+319215.100.1.1 1682346633 installed <13>Apr 27 10:11:53 rpmi: python3-module-tomli-2.0.1-alt2 sisyphus+305000.3300.2.1 1660575675 installed <13>Apr 27 10:11:53 rpmi: python3-module-poetry-alt-namespace-0.0.1-alt1 sisyphus+306728.100.1.1 1663083685 installed <13>Apr 27 10:11:53 rpmi: python3-module-platformdirs-4.2.1-alt1 sisyphus+345768.100.2.1 1713977860 installed <13>Apr 27 10:11:53 rpmi: python3-module-lark-1.1.9-alt1 sisyphus+341080.100.1.1 1708359651 installed <13>Apr 27 10:11:53 rpmi: python3-module-fastjsonschema-2.18.1-alt1.1 sisyphus+340398.100.1.1 1707632591 installed <13>Apr 27 10:11:53 rpmi: python3-module-distlib-0.3.8-alt1 sisyphus+336560.100.2.1 1702987353 installed <13>Apr 27 10:11:54 rpmi: python3-module-virtualenv-20.26.0-alt1 sisyphus+345769.100.2.1 1714041403 installed <13>Apr 27 10:11:54 rpmi: python3-module-pycodestyle-2.11.1-alt1 sisyphus+339978.100.1.1 1707292656 installed <13>Apr 27 10:11:54 rpmi: python3-module-apipkg-3.0.1-alt2 sisyphus+323078.100.1.1 1686823905 installed <13>Apr 27 10:11:54 rpmi: python3-module-py-1.11.0-alt1 sisyphus+295927.100.2.1 1646050822 installed <13>Apr 27 10:11:54 rpmi: python3-module-tox-3.27.1-alt4 sisyphus+345209.200.2.1 1713349545 installed <13>Apr 27 10:11:54 rpmi: python3-module-autopep8-2.1.0-alt1 sisyphus+344050.100.1.1 1711809446 installed <13>Apr 27 10:11:54 rpmi: python3-module-poetry-core-1.9.0-alt1 sisyphus+341080.200.1.1 1708359689 installed <13>Apr 27 10:11:54 rpmi: python3-module-pydocstyle-6.3.0-alt2 sisyphus+340012.100.1.1 1707306353 installed <13>Apr 27 10:11:54 rpmi: python3-module-untokenize-0.1.1-alt1.git2d7bcd6 sisyphus+330505.100.1.1 1695885617 installed <13>Apr 27 10:11:54 rpmi: python3-module-mock-5.1.0-alt1 sisyphus+325622.100.1.1 1690382129 installed <13>Apr 27 10:11:54 rpmi: python3-module-charset-normalizer-2.1.1-alt1 sisyphus+311047.100.1.1 1669992940 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-docformatter-1.7.5-alt1.nosrc.rpm (w1.gzdio) Installing python3-module-docformatter-1.7.5-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.49501 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-docformatter-1.7.5 + echo 'Source #0 (python3-module-docformatter-1.7.5.tar):' Source #0 (python3-module-docformatter-1.7.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-docformatter-1.7.5.tar + cd python3-module-docformatter-1.7.5 + /bin/chmod -c -Rf u+rwX,go-w . + /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 --verify pep518 + /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 --verify pep517 + /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 --verify metadata INFO : Building metadata INFO : Building metadata with prepare_metadata_for_build_wheel INFO : Source tree: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5 INFO : Output dir: /usr/src/tmp/tmpj2yv_ctj + /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 --verify check + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.30258 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-docformatter-1.7.5 + 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-docformatter-1.7.5 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/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-docformatter-1.7.5/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: poetry.core.masonry.api INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : poetry.core.masonry.builders.wheel : Building wheel DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/__init__.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/__main__.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/__pkginfo__.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/configuration.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/encode.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/format.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/strings.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/syntax.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/src/docformatter/util.py DEBUG : poetry.core.masonry.builders.builder : Adding: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/LICENSE INFO : poetry.core.masonry.builders.wheel : Built docformatter-1.7.5-py3-none-any.whl INFO : pyproject_installer.build_cmd._build : Built wheel: docformatter-1.7.5-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.66343 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-docformatter-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-docformatter-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-docformatter-1.7.5 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-docformatter-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: docformatter-1.7.5-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-docformatter-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-docformatter-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: docformatter-1.7.5.dist-info/AUTHORS.rst DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: docformatter-1.7.5.dist-info/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: docformatter-1.7.5.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: docformatter-1.7.5.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts DEBUG : pyproject_installer.lib.scripts : Installing console script: docformatter INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-docformatter-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-docformatter-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-docformatter-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-docformatter-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-docformatter-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-docformatter-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-docformatter-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-docformatter-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__init__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__main__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__pkginfo__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/configuration.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/encode.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/format.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/strings.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/syntax.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/util.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-docformatter-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__init__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__main__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__pkginfo__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/configuration.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/encode.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/format.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/strings.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/syntax.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/util.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-docformatter-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__init__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__main__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/__pkginfo__.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/configuration.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/encode.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/format.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/strings.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/syntax.py compile /usr/src/tmp/python3-module-docformatter-buildroot/usr/lib/python3/site-packages/docformatter/util.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/docformatter/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/docformatter/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/docformatter/__pycache__/__main__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/docformatter/__pycache__/__main__.cpython-312.pyc' './usr/lib/python3/site-packages/docformatter/__pycache__/__pkginfo__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/docformatter/__pycache__/__pkginfo__.cpython-312.pyc' './usr/lib/python3/site-packages/docformatter/__pycache__/configuration.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/docformatter/__pycache__/configuration.cpython-312.pyc' './usr/lib/python3/site-packages/docformatter/__pycache__/syntax.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/docformatter/__pycache__/syntax.cpython-312.pyc' './usr/lib/python3/site-packages/docformatter/__pycache__/util.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/docformatter/__pycache__/util.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.66343 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-docformatter-1.7.5 + 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-docformatter-1.7.5/dist/docformatter-1.7.5-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/dist/docformatter-1.7.5-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest', '-vra'] ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.5.0 -- /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/python3-module-docformatter-1.7.5 configfile: pyproject.toml collecting ... collected 277 items tests/formatter/test_do_format_code.py::TestDoFormatCode::test_do_format_code[args0] PASSED [ 0%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_do_format_code_with_module_docstring[args0] PASSED [ 0%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_module_variable[args0] FAILED [ 1%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_class_docstring[args0] FAILED [ 1%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_class_variable[args0] FAILED [ 1%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_do_format_code_keep_newlines_outside_docstring[args0] PASSED [ 2%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_dominant_line_ending_style_preserved[args0] PASSED [ 2%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_additional_empty_line_before_doc[args0] PASSED [ 2%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_extra_newline_following_comment[args0] PASSED [ 3%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_no_docstring[args0] PASSED [ 3%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_class_docstring_remove_blank_line[args0] PASSED [ 3%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_class_docstring_keep_blank_line[args0] PASSED [ 4%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_method_docstring[args0] PASSED [ 4%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_do_not_touch_function_no_docstring[args0] PASSED [ 5%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_do_format_code_keep_newline_for_stub_functions[args0] PASSED [ 5%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_keep_newline_after_shebang[args0] PASSED [ 5%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_keep_newline_after_import[args0] PASSED [ 6%] tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_with_backtick_in_summary[args0] PASSED [ 6%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_one_line_docstring[args0] PASSED [ 6%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_summary_that_ends_in_quote[args0] PASSED [ 7%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_bad_indentation[args0] PASSED [ 7%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_too_much_indentation[args0] PASSED [ 7%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_trailing_whitespace[args0] PASSED [ 8%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_empty_docstring[args0] PASSED [ 8%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_no_period[args0] PASSED [ 9%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_single_quotes[args0] PASSED [ 9%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_single_quotes_multi_line[args0] PASSED [ 9%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_leave_underlined_summaries_alone[args0] PASSED [ 10%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_leave_blank_line_after_variable_def[args0] PASSED [ 10%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_leave_directive_alone[args0] PASSED [ 10%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_leave_blank_line_after_comment[args0] PASSED [ 11%] tests/formatter/test_do_format_docstring.py::TestFormatDocstring::test_format_docstring_with_non_cap_words[args0] PASSED [ 11%] tests/formatter/test_format_black.py::TestFormatWrapBlack::test_format_docstring_black[args0] PASSED [ 11%] tests/formatter/test_format_black.py::TestFormatWrapBlack::test_format_code_strip_blank_lines[args0] PASSED [ 12%] tests/formatter/test_format_black.py::TestFormatWrapBlack::test_format_docstring_black_keep_newline_after_comment[args0] PASSED [ 12%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_should_ignore_non_docstring[args0] PASSED [ 12%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_empty_string[args0] PASSED [ 13%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_tabs[args0] PASSED [ 13%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_mixed_tabs[args0] PASSED [ 14%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_escaped_newlines[args0] PASSED [ 14%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_comments[args0] PASSED [ 14%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_escaped_newline_in_inline_comment[args0] PASSED [ 15%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_raw_docstring_double_quotes[args0] PASSED [ 15%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_raw_docstring_single_quotes[args0] PASSED [ 15%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_unicode_docstring_double_quotes[args0] PASSED [ 16%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_unicode_docstring_single_quotes[args0] PASSED [ 16%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_skip_nested[args0] PASSED [ 16%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_multiple_sentences[args0] PASSED [ 17%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_multiple_sentences_same_line[args0] PASSED [ 17%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_multiple_sentences_multi_line_summary[args0] PASSED [ 18%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_empty_lines[args0] PASSED [ 18%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_empty_lines_class_docstring[args0] PASSED [ 18%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_empty_lines_method_docstring[args0] PASSED [ 19%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_trailing_whitespace[args0] PASSED [ 19%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_parameters_list[args0] PASSED [ 19%] tests/formatter/test_format_code.py::TestFormatCode::test_ignore_code_with_single_quote[args0] PASSED [ 20%] tests/formatter/test_format_code.py::TestFormatCode::test_ignore_code_with_double_quote[args0] PASSED [ 20%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_should_skip_nested_triple_quotes[args0] PASSED [ 20%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_assignment_on_first_line[args0] PASSED [ 21%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_regular_strings_too[args0] PASSED [ 21%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_syntax_error[args0] PASSED [ 22%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_syntax_error_case_slash_r[args0] PASSED [ 22%] tests/formatter/test_format_code.py::TestFormatCode::test_format_code_with_syntax_error_case_slash_r_slash_n[args0] PASSED [ 22%] tests/formatter/test_format_code_ranges.py::TestFormatCodeRanges::test_format_code_range_miss[args0] PASSED [ 23%] tests/formatter/test_format_code_ranges.py::TestFormatCodeRanges::test_format_code_range_hit[args0] PASSED [ 23%] tests/formatter/test_format_code_ranges.py::TestFormatCodeRanges::test_format_code_docstring_length[args0] PASSED [ 23%] tests/formatter/test_format_epytext.py::TestFormatWrapEpytext::test_format_docstring_epytext_style[args0] PASSED [ 24%] tests/formatter/test_format_epytext.py::TestFormatWrapEpytext::test_format_docstring_non_epytext_style[args0] PASSED [ 24%] tests/formatter/test_format_lists.py::TestFormatLists::test_format_docstring_should_ignore_numbered_lists[args0] PASSED [ 24%] tests/formatter/test_format_lists.py::TestFormatLists::test_format_docstring_should_ignore_parameter_lists[args0] PASSED [ 25%] tests/formatter/test_format_lists.py::TestFormatLists::test_format_docstring_should_ignore_colon_parameter_lists[args0] PASSED [ 25%] tests/formatter/test_format_lists.py::TestFormatLists::test_format_docstring_should_leave_list_alone[args0] PASSED [ 25%] tests/formatter/test_format_lists.py::TestFormatLists::test_format_docstring_should_leave_list_alone_with_rest[args0] PASSED [ 26%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style[args0] PASSED [ 26%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_non_sphinx_style[args0] PASSED [ 27%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_remove_excess_whitespace[args0] PASSED [ 27%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_two_directives_in_row[args0] PASSED [ 27%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_field_body_is_blank[args0] PASSED [ 28%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_field_name_included_wrap_length[args0] PASSED [ 28%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_field_body_is_a_link[args0] PASSED [ 28%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_field_name_has_periods[args0] PASSED [ 29%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_ignore_directive[args0] PASSED [ 29%] tests/formatter/test_format_sphinx.py::TestFormatWrapSphinx::test_format_docstring_sphinx_style_recognize_yield[args0] PASSED [ 29%] tests/formatter/test_format_styles.py::TestFormatStyleOptions::test_format_docstring_with_no_post_description_blank[args0] PASSED [ 30%] tests/formatter/test_format_styles.py::TestFormatStyleOptions::test_format_docstring_with_pre_summary_newline[args0] PASSED [ 30%] tests/formatter/test_format_styles.py::TestFormatStyleOptions::test_format_docstring_make_summary_multi_line[args0] PASSED [ 31%] tests/formatter/test_format_styles.py::TestFormatStyleOptions::test_format_docstring_pre_summary_space[args0] PASSED [ 31%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_inline_links[args0] PASSED [ 31%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_short_inline_link[args0] PASSED [ 32%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_long_inline_link[args0] PASSED [ 32%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_only_link[args0] PASSED [ 32%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_target_links[args0] PASSED [ 33%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_simple_link[args0] PASSED [ 33%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_short_link[args0] PASSED [ 33%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_inline_link_retain_spaces[args0] PASSED [ 34%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_link_after_colon[args0] PASSED [ 34%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_keep_inline_link_together[args0] PASSED [ 35%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_keep_inline_link_together_two_paragraphs[args0] PASSED [ 35%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_link_no_delete_words[args0] PASSED [ 35%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_link_no_newline_after_link[args0] PASSED [ 36%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_only_link_in_description[args0] PASSED [ 36%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_no_indent_string_on_newline[args0] PASSED [ 36%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_short_anonymous_link[args0] PASSED [ 37%] tests/formatter/test_format_urls.py::TestFormatWrapURL::test_format_docstring_with_quoted_link[args0] PASSED [ 37%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_unwrap_summary PASSED [ 37%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_with_wrap[args0] PASSED [ 38%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_with_weird_indentation_and_punctuation[args0] PASSED [ 38%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_with_description_wrapping[args0] PASSED [ 38%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_should_ignore_doctests[args0] PASSED [ 39%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_should_ignore_doctests_in_summary[args0] PASSED [ 39%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_should_maintain_indentation_of_doctest[args0] PASSED [ 40%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_force_wrap[args0] PASSED [ 40%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_with_summary_only_and_wrap_and_tab_indentation[args0] PASSED [ 40%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_for_multi_line_summary_alone[args0] PASSED [ 41%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_for_one_line_summary_alone_but_too_long[args0] PASSED [ 41%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_with_class_attributes[args0] PASSED [ 41%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_no_newline_in_summary_with_symbol[args0] PASSED [ 42%] tests/formatter/test_format_wrap.py::TestFormatWrap::test_format_docstring_with_multi_paragraph_description[args0] PASSED [ 42%] tests/test_configuration_functions.py::TestConfigurater::test_initialize_configurator_with_default PASSED [ 42%] tests/test_configuration_functions.py::TestConfigurater::test_initialize_configurator_with_pyproject_toml PASSED [ 43%] tests/test_configuration_functions.py::TestConfigurater::test_initialize_configurator_with_setup_cfg PASSED [ 43%] tests/test_configuration_functions.py::TestConfigurater::test_initialize_configurator_with_tox_ini PASSED [ 44%] tests/test_configuration_functions.py::TestConfigurater::test_unsupported_config_file PASSED [ 44%] tests/test_configuration_functions.py::TestConfigurater::test_cli_override_config_file PASSED [ 44%] tests/test_configuration_functions.py::TestConfigurater::test_only_format_in_line_range PASSED [ 45%] tests/test_configuration_functions.py::TestConfigurater::test_low_line_range_is_zero PASSED [ 45%] tests/test_configuration_functions.py::TestConfigurater::test_low_line_range_greater_than_high_line_range PASSED [ 45%] tests/test_configuration_functions.py::TestConfigurater::test_only_format_in_length_range PASSED [ 46%] tests/test_configuration_functions.py::TestConfigurater::test_low_length_range_is_zero PASSED [ 46%] tests/test_configuration_functions.py::TestConfigurater::test_low_length_range_greater_than_high_length_range PASSED [ 46%] tests/test_configuration_functions.py::TestConfigurater::test_black_defaults[[tool.docformatter]\n] PASSED [ 47%] tests/test_configuration_functions.py::TestConfigurater::test_black_from_pyproject[[tool.docformatter]\nblack = true\nwrap-summaries = 80\n ] PASSED [ 47%] tests/test_configuration_functions.py::TestConfigurater::test_black_from_setup_cfg[[docformatter]\nblack = True\nwrap-descriptions = 80\n] PASSED [ 48%] tests/test_configuration_functions.py::TestConfigurater::test_exclude_from_pyproject_toml[[tool.docformatter]\ncheck = true\ndiff = true\nrecursive = true\nexclude = ["src/", "tests/"]\n] PASSED [ 48%] tests/test_configuration_functions.py::TestConfigurater::test_exclude_from_setup_cfg[[docformatter]\ncheck = true\ndiff = true\nrecursive = true\nexclude = ["src/", "tests/"]\n] PASSED [ 48%] tests/test_configuration_functions.py::TestConfigurater::test_non_capitalize_words PASSED [ 49%] tests/test_configuration_functions.py::TestConfigurater::test_non_cap_from_pyproject_toml[[tool.docformatter]\ncheck = true\ndiff = true\nrecursive = true\nnon-cap = ["qBittorrent", "iPad", "iOS", "eBay"]\n] PASSED [ 49%] tests/test_configuration_functions.py::TestConfigurater::test_non_cap_from_setup_cfg[[docformatter]\ncheck = true\ndiff = true\nrecursive = true\nnon-cap = ["qBittorrent", "iPad", "iOS", "eBay"]\n] PASSED [ 49%] tests/test_docformatter.py::TestMain::test_diff[ def foo():\n """\n Hello world\n """\n] PASSED [ 50%] tests/test_docformatter.py::TestMain::test_diff_with_nonexistent_file PASSED [ 50%] tests/test_docformatter.py::TestMain::test_in_place[show-diff-def foo():\n """\n Hello world\n """\n] PASSED [ 50%] tests/test_docformatter.py::TestMain::test_in_place[no-diff-def foo():\n """\n Hello world\n """\n] PASSED [ 51%] tests/test_docformatter.py::TestMain::test_ignore_hidden_directories[.-.-temporary_directory-def foo():\n """\n Hello world\n """\n] PASSED [ 51%] tests/test_docformatter.py::TestMain::test_io_error_exit_code PASSED [ 51%] tests/test_docformatter.py::TestMain::test_check_mode_correct_docstring[show-diff-Totally fine docstring, do not report anything.] PASSED [ 52%] tests/test_docformatter.py::TestMain::test_check_mode_correct_docstring[no-diff-Totally fine docstring, do not report anything.] PASSED [ 52%] tests/test_docformatter.py::TestMain::test_check_mode_incorrect_docstring[show-diff-\n """\nPrint my path and return error code\n"""\n] PASSED [ 53%] tests/test_docformatter.py::TestMain::test_check_mode_incorrect_docstring[no-diff-\n """\nPrint my path and return error code\n"""\n] PASSED [ 53%] tests/test_docformatter.py::TestMain::test_help_output PASSED [ 53%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end[arguments0- def foo():\n """\n Hello world\n """\n] PASSED [ 54%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end_with_wrapping[arguments0-def foo():\n """\n Hello world this is a summary that will get wrapped\n """\n] PASSED [ 54%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end_with_no_wrapping_long_sentences[arguments0-def foo():\n """Hello world is a long sentence that will not be wrapped because I turned wrapping off.\n\n Hello world is a long sentence that will not be wrapped because I turned wrapping off.\n """\n] PASSED [ 54%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end_with_no_wrapping_short_sentences[arguments0-def foo():\n """Hello world is a long sentence that will not\n be wrapped because I turned wrapping off.\n\n Hello world is a long sentence that will not\n be wrapped because I turned wrapping off.\n """\n] PASSED [ 55%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end_no_wrapping_period[arguments0-def foo():\n """Wrapping is off, but it will still add\n the trailing period """\n] PASSED [ 55%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end_keep_rest_link_one_line[arguments0-def foo():\n """Description from issue #145 that was being improperly wrapped.\n\n .. _linspace API: https://numpy.org/doc/stable/reference/generated/numpy.linspace.html\n .. _arange API: https://numpy.org/doc/stable/reference/generated/numpy.arange.html\n .. _logspace API: https://numpy.org/doc/stable/reference/generated/numpy.logspace.html\n """\n] PASSED [ 55%] tests/test_docformatter.py::TestEndToEnd::test_ignore_already_wrapped_link[arguments0-def foo():\n """Description from issue #150 that was being improperly wrapped.\n\n The text file can be retrieved via the Chrome plugin `Get\n Cookies.txt ` while browsing."""\n] PASSED [ 56%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end_no_excessive_whitespace[arguments0-"""Create a wrapper around a WiX install.\n\n :param tools: ToolCache of available tools.\n :param wix_home: The path of the WiX installation.\n :param bin_install: Is the install a binaries-only install? A full\n MSI install of WiX has a `/bin` folder in the paths; a\n binaries-only install does not.\n :returns: A valid WiX SDK wrapper. If WiX is not available, and was\n not installed, raises MissingToolError.\n """] PASSED [ 56%] tests/test_docformatter.py::TestEndToEnd::test_end_to_end_all_options[arguments0-def foo():\n """Hello world is a long sentence that will be wrapped at 40 characters because I'm using that option\n - My list item\n - My list item\n\n\n """\n] PASSED [ 57%] tests/test_docformatter.py::TestEndToEnd::test_invalid_range[arguments0-] PASSED [ 57%] tests/test_docformatter.py::TestEndToEnd::test_invalid_range[arguments1-] PASSED [ 57%] tests/test_docformatter.py::TestEndToEnd::test_no_arguments[-arguments0] PASSED [ 58%] tests/test_docformatter.py::TestEndToEnd::test_standard_in[-arguments0] PASSED [ 58%] tests/test_docformatter.py::TestEndToEnd::test_standard_in_with_invalid_options[-arguments0] PASSED [ 58%] tests/test_docformatter.py::TestEndToEnd::test_standard_in_with_invalid_options[-arguments1] PASSED [ 59%] tests/test_docformatter.py::TestEndToEnd::test_standard_in_with_invalid_options[-arguments2] PASSED [ 59%] tests/test_docformatter.py::TestEndToEndPyproject::test_no_pre_summary_space_using_pyproject[arguments0-[tool.docformatter]\npre-summary-space = false\n- class TestFoo():\n """Docstring that should not have a pre-summary space."""\n ] FAILED [ 59%] tests/test_docformatter.py::TestEndToEndPyproject::test_pre_summary_space_using_pyproject[arguments0- [tool.docformatter]\n pre-summary-space = true\n -class TestFoo():\n """Docstring that should have a pre-summary space."""\n] PASSED [ 60%] tests/test_docformatter.py::TestEndToEndPyproject::test_no_pre_summary_newline_using_pyproject[arguments0- [tool.docformatter]\n pre-summary-newline = false\n -class TestFoo():\n """Docstring that should not have a pre-summary newline.\n\n This is a multi-line docstring that should not have a\n newline placed before the summary."""\n] PASSED [ 60%] tests/test_docformatter.py::TestEndToEndPyproject::test_pre_summary_newline_using_pyproject[arguments0- [tool.docformatter]\n pre-summary-newline = true\n -class TestFoo():\n """Docstring that should have a pre-summary newline.\n\n This is a multi-line docstring that should have a newline\n placed before the summary."""\n] PASSED [ 61%] tests/test_docformatter.py::TestEndToEndPyproject::test_no_pre_summary_multiline_using_pyproject[arguments0- [tool.docformatter]\n pre-summary-multi-line = false\n - class TestFoo():\n """Really long summary docstring that should not be\n split into a multiline summary."""\n] PASSED [ 61%] tests/test_docformatter.py::TestEndToEndPyproject::test_pre_summary_multiline_using_pyproject[arguments0- [tool.docformatter]\n pre-summary-multi-line = true\n - class TestFoo():\n """Really long summary docstring that should be\n split into a multiline summary."""\n] PASSED [ 61%] tests/test_docformatter.py::TestEndToEndPyproject::test_no_blank_using_pyproject[arguments0- [tool.docformatter]\n blank = false\n -class TestFoo():\n """Summary docstring that is followed by a description.\n \n This is the description and it shouldn't have a blank line\n inserted after it.\n """\n] PASSED [ 62%] tests/test_docformatter.py::TestEndToEndPyproject::test_blank_using_pyproject[arguments0- [tool.docformatter]\n blank = true\n -class TestFoo():\n """Summary docstring that is followed by a description.\n \n This is the description and it should have a blank line\n inserted after it.\n """\n] PASSED [ 62%] tests/test_docformatter.py::TestEndToEndPyproject::test_format_wrap_using_pyproject[arguments0- [tool.docformatter]\n wrap-summaries = 12\n -class foo():\n """Hello world is a long sentence that will be wrapped at 12\n characters because I'm using that option in pyproject.toml."""\n] PASSED [ 62%] tests/test_docformatter.py::TestEndToEndSetupcfg::test_no_pre_summary_space_using_setup_cfg[arguments0-[docformatter]\npre-summary-space = false\n-class TestFoo():\n """ Docstring that should not have a pre-summary space."""\n] PASSED [ 63%] tests/test_docformatter.py::TestEndToEndSetupcfg::test_in_place_using_setup_cfg[arguments0-[docformatter]\nin-place = true\ncheck = false\ndiff = false\n-class TestFoo():\n """ Docstring that should not have a pre-summary space."""\n] PASSED [ 63%] tests/test_docformatter.py::TestEndToEndSetupcfg::test_check_using_setup_cfg[arguments0-[docformatter]\nin-place = true\ncheck = true\ndiff = false\n-class TestFoo():\n """ Docstring that should not have a pre-summary space."""\n] PASSED [ 63%] tests/test_docformatter.py::TestEndToEndSetupcfg::test_check_with_diff_using_setup_cfg[arguments0-[docformatter]\ncheck = true\ndiff = true\n-class TestFoo():\n """ Docstring that should not have a pre-summary space."""\n] PASSED [ 64%] tests/test_encoding_functions.py::TestDetectEncoding::test_detect_encoding_with_explicit_utf_8[# -*- coding: utf-8 -*-\n] PASSED [ 64%] tests/test_encoding_functions.py::TestDetectEncoding::test_detect_encoding_with_non_explicit_setting[# Wow! docformatter is super-cool.\n] PASSED [ 64%] tests/test_encoding_functions.py::TestDetectEncoding::test_detect_encoding_with_bad_encoding[# -*- coding: blah -*-] PASSED [ 65%] tests/test_encoding_functions.py::TestFindNewline::test_find_newline_only_cr PASSED [ 65%] tests/test_encoding_functions.py::TestFindNewline::test_find_newline_only_lf PASSED [ 66%] tests/test_encoding_functions.py::TestFindNewline::test_find_newline_only_crlf PASSED [ 66%] tests/test_encoding_functions.py::TestFindNewline::test_find_newline_cr1_and_lf2 PASSED [ 66%] tests/test_encoding_functions.py::TestFindNewline::test_find_newline_cr1_and_crlf2 PASSED [ 67%] tests/test_encoding_functions.py::TestFindNewline::test_find_newline_should_default_to_lf PASSED [ 67%] tests/test_encoding_functions.py::TestFindNewline::test_find_dominant_newline PASSED [ 67%] tests/test_encoding_functions.py::TestOpenWithEncoding::test_open_with_utf_8_encoding[# -*- coding: utf-8 -*-\n] PASSED [ 68%] tests/test_encoding_functions.py::TestOpenWithEncoding::test_open_with_wrong_encoding[# -*- coding: utf-8 -*-\n] PASSED [ 68%] tests/test_string_functions.py::TestIndenters::test_reindent PASSED [ 68%] tests/test_string_functions.py::TestIndenters::test_reindent_should_expand_tabs_to_indentation PASSED [ 69%] tests/test_string_functions.py::TestIndenters::test_reindent_with_no_indentation_expand_tabs PASSED [ 69%] tests/test_string_functions.py::TestIndenters::test_reindent_should_maintain_indentation PASSED [ 70%] tests/test_string_functions.py::TestIndenters::test_reindent_tab_indentation PASSED [ 70%] tests/test_string_functions.py::TestIndenters::testfind_shortest_indentation PASSED [ 70%] tests/test_string_functions.py::TestNormalizers::test_normalize_summary PASSED [ 71%] tests/test_string_functions.py::TestNormalizers::test_normalize_summary_multiline PASSED [ 71%] tests/test_string_functions.py::TestNormalizers::test_normalize_summary_with_different_punctuation PASSED [ 71%] tests/test_string_functions.py::TestNormalizers::test_normalize_summary_formatted_as_title PASSED [ 72%] tests/test_string_functions.py::TestNormalizers::test_normalize_summary_capitalize_first_letter PASSED [ 72%] tests/test_string_functions.py::TestNormalizers::test_normalize_summary_capitalize_first_letter_with_period PASSED [ 72%] tests/test_string_functions.py::TestNormalizers::test_normalize_summary_dont_capitalize_first_letter_if_variable PASSED [ 73%] tests/test_string_functions.py::TestSplitters::test_split_first_sentence PASSED [ 73%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description PASSED [ 74%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_complex PASSED [ 74%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_more_complex PASSED [ 74%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_list PASSED [ 75%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_list_of_parameters PASSED [ 75%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_capital PASSED [ 75%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_list_on_other_line PASSED [ 76%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_other_symbol PASSED [ 76%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_colon PASSED [ 76%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_exclamation PASSED [ 77%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_question_mark PASSED [ 77%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_quote PASSED [ 77%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_punctuation PASSED [ 78%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_without_punctuation PASSED [ 78%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_abbreviation PASSED [ 79%] tests/test_string_functions.py::TestSplitters::test_split_summary_and_description_with_url PASSED [ 79%] tests/test_string_functions.py::TestStrippers::test_remove_section_header PASSED [ 79%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring[args0] PASSED [ 80%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring_with_triple_single_quotes[args0] PASSED [ 80%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring_with_empty_string[args0] PASSED [ 80%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring_with_raw_string[args0] PASSED [ 81%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring_with_unicode_string[args0] PASSED [ 81%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring_with_unknown[args0] PASSED [ 81%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring_with_single_quotes[args0] PASSED [ 82%] tests/test_strip_docstring.py::TestStripDocstring::test_strip_docstring_with_double_quotes[args0] PASSED [ 82%] tests/test_syntax_functions.py::TestURLHandlers::test_find_in_line_link PASSED [ 83%] tests/test_syntax_functions.py::TestURLHandlers::test_skip_link_with_manual_wrap PASSED [ 83%] tests/test_syntax_functions.py::TestURLHandlers::test_do_clean_link PASSED [ 83%] tests/test_syntax_functions.py::TestreSTHandlers::test_find_in_line_directives PASSED [ 84%] tests/test_syntax_functions.py::TestreSTHandlers::test_find_double_dot_directives PASSED [ 84%] tests/test_syntax_functions.py::TestreSTHandlers::test_find_double_backtick_directives PASSED [ 84%] tests/test_utility_functions.py::TestFindPyFiles::test_is_hidden PASSED [ 85%] tests/test_utility_functions.py::TestFindPyFiles::test_non_recursive_ignore_non_py_files XFAIL [ 85%] tests/test_utility_functions.py::TestFindPyFiles::test_recursive_ignore_non_py_files PASSED [ 85%] tests/test_utility_functions.py::TestFindPyFiles::test_is_excluded PASSED [ 86%] tests/test_utility_functions.py::TestFindPyFiles::test_nothing_is_excluded PASSED [ 86%] tests/test_utility_functions.py::TestHasCorrectLength::test_has_correct_length_none PASSED [ 87%] tests/test_utility_functions.py::TestHasCorrectLength::test_has_correct_length PASSED [ 87%] tests/test_utility_functions.py::TestHasCorrectLength::test_not_correct_length PASSED [ 87%] tests/test_utility_functions.py::TestIsInRange::test_is_in_range_none PASSED [ 88%] tests/test_utility_functions.py::TestIsInRange::test_is_in_range PASSED [ 88%] tests/test_utility_functions.py::TestIsInRange::test_not_in_range PASSED [ 88%] tests/test_utility_functions.py::TestIsProbablySentence::test_is_probably_beginning_of_sentence PASSED [ 89%] tests/test_utility_functions.py::TestIsProbablySentence::test_is_probably_beginning_of_sentence_pydoc_ref PASSED [ 89%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_file_system_link PASSED [ 89%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_miscellaneous_link PASSED [ 90%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_version_control_link PASSED [ 90%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_domain_name_system_link PASSED [ 90%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_file_transfer_protocol_link PASSED [ 91%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_network_command_link PASSED [ 91%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_remote_shell_link PASSED [ 92%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_internet_transfer_protocol_link PASSED [ 92%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_mail_link PASSED [ 92%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_printer_link PASSED [ 93%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_messaging_link PASSED [ 93%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_directory_access_link PASSED [ 93%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_news_link PASSED [ 94%] tests/test_utility_functions.py::TestDoFindLinks::test_do_find_initiation_link PASSED [ 94%] tests/test_utility_functions.py::TestDoSkipLink::test_do_skip_only_link_pattern PASSED [ 94%] tests/test_utility_functions.py::TestDoSkipLink::test_do_skip_already_wrapped_link PASSED [ 95%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list PASSED [ 95%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_with_dashes PASSED [ 96%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_without_special_symbol PASSED [ 96%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_of_parameter_list_with_newline PASSED [ 96%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_strict_wrap PASSED [ 97%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_non_strict_wrap PASSED [ 97%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_sphinx_style PASSED [ 97%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_not_is_some_sort_of_list_sphinx_style PASSED [ 98%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_not_sphinx_style PASSED [ 98%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_literal_block PASSED [ 98%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_rest_header PASSED [ 99%] tests/test_utility_functions.py::TestIsSomeSortOfList::test_is_some_sort_of_list_alembic_header PASSED [ 99%] tests/test_utility_functions.py::TestIsSomeSortOfCode::test_is_some_sort_of_code PASSED [100%] =================================== FAILURES =================================== _ TestDoFormatCode.test_format_code_strip_blank_line_after_module_variable[args0] _ self = test_args = Namespace(in_place=False, check=False, recursive=False, exclude=None, non_cap=None, style='sphinx', rest_section_adorn...ne=False, close_quotes_on_newline=False, line_range=None, length_range=None, non_strict=False, config=None, files=['']) args = [''] @pytest.mark.unit @pytest.mark.parametrize("args", [[""]]) def test_format_code_strip_blank_line_after_module_variable( self, test_args, args, ): """Strip newlines between module variable definition and docstring.""" uut = Formatter( test_args, sys.stderr, sys.stdin, sys.stdout, ) instring = self.TEST_STRINGS["newline_module_variable"]["instring"] outstring = self.TEST_STRINGS["newline_module_variable"]["outstring"] > assert outstring == uut._do_format_code( instring, ) E assert ' CONST = ...r CONST."""\n' == ' CONST = ...NST."""\n ' E E CONST = 123 E """docstring for CONST.""" E - tests/formatter/test_do_format_code.py:108: AssertionError ___________ TestDoFormatCode.test_format_code_class_docstring[args0] ___________ self = test_args = Namespace(in_place=False, check=False, recursive=False, exclude=None, non_cap=None, style='sphinx', rest_section_adorn...ne=False, close_quotes_on_newline=False, line_range=None, length_range=None, non_strict=False, config=None, files=['']) args = [''] @pytest.mark.unit @pytest.mark.parametrize("args", [[""]]) def test_format_code_class_docstring(self, test_args, args): """Format class docstring.""" uut = Formatter( test_args, sys.stderr, sys.stdin, sys.stdout, ) instring = self.TEST_STRINGS["class_docstring"]["instring"] outstring = self.TEST_STRINGS["class_docstring"]["outstring"] > assert outstring == uut._do_format_code( instring, ) E assert ' class Te... """\n' == ' class Te... """\n ' E E class TestClass: E """This is a class docstring. E E :cvar test_int: a class attribute. E ..py.method: big_method() E """ E - tests/formatter/test_do_format_code.py:126: AssertionError _ TestDoFormatCode.test_format_code_strip_blank_line_after_class_variable[args0] _ self = test_args = Namespace(in_place=False, check=False, recursive=False, exclude=None, non_cap=None, style='sphinx', rest_section_adorn...ne=False, close_quotes_on_newline=False, line_range=None, length_range=None, non_strict=False, config=None, files=['']) args = [''] @pytest.mark.unit @pytest.mark.parametrize("args", [[""]]) def test_format_code_strip_blank_line_after_class_variable( self, test_args, args, ): """Strip any newlines between a class variable definition and docstring. See requirement . """ uut = Formatter( test_args, sys.stderr, sys.stdin, sys.stdout, ) instring = self.TEST_STRINGS["newline_class_variable"]["instring"] outstring = self.TEST_STRINGS["newline_class_variable"]["outstring"] > assert outstring == uut._do_format_code( instring, ) E assert ' class Te...cstring."""\n' == ' class Te...ing."""\n ' E E class TestClass: E """This is a class docstring.""" E E test_var = 0 E """This is a class variable docstring.""" E ... E E ...Full output truncated (3 lines hidden), use '-vv' to show tests/formatter/test_do_format_code.py:151: AssertionError _ TestEndToEndPyproject.test_no_pre_summary_space_using_pyproject[arguments0-[tool.docformatter]\npre-summary-space = false\n- class TestFoo():\n """Docstring that should not have a pre-summary space."""\n ] _ self = run_docformatter = temporary_pyproject_toml = '/tmp/pyproject.toml' temporary_file = '/usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/zxqk5p9g.py' arguments = ['--config', '/tmp/pyproject.toml', '/usr/src/RPM/BUILD/python3-module-docformatter-1.7.5/zxqk5p9g.py'] contents = ' class TestFoo():\n """Docstring that should not have a pre-summary space."""\n ' config = '[tool.docformatter]\npre-summary-space = false\n' @pytest.mark.system @pytest.mark.parametrize( "contents", [ '''\ class TestFoo(): """Docstring that should not have a pre-summary space.""" ''' ], ) @pytest.mark.parametrize( "config", [ """\ [tool.docformatter] pre-summary-space = false """ ], ) @pytest.mark.parametrize( "arguments", [ [ "--config", "/tmp/pyproject.toml", ] ], ) def test_no_pre_summary_space_using_pyproject( self, run_docformatter, temporary_pyproject_toml, temporary_file, arguments, contents, config, ): """No pre-summary space using configuration from pyproject.toml. See issue #119. """ > assert '''\ @@ -1,3 +1,2 @@ class TestFoo(): """Docstring that should not have a pre-summary space.""" - ''' == "\n".join( run_docformatter.communicate()[0].decode().replace("\r", "").split("\n")[2:] ) E assert '@@ -1,3 +1,2... \n' == '' E E + @@ -1,3 +1,2 @@ E + class TestFoo(): E + """Docstring that should not have a pre-summary space.""" E + - tests/test_docformatter.py:727: AssertionError ================================== XFAILURES =================================== ____________ TestFindPyFiles.test_non_recursive_ignore_non_py_files ____________ self = @pytest.mark.xfail( reason="function only checks for python files in recursive mode." ) def test_non_recursive_ignore_non_py_files(self): """Only process python (*.py) files.""" sources = ["one.py", "two.py", "three.toml"] test_only_py = list(docformatter.find_py_files(sources, False)) > assert test_only_py == ["one.py", "two.py"] E AssertionError: assert ['one.py', 't...ml', 'two.py'] == ['one.py', 'two.py'] E E At index 1 diff: 'three.toml' != 'two.py' E Left contains one more item: 'two.py' E E Full diff: E [ E 'one.py',... E E ...Full output truncated (3 lines hidden), use '-vv' to show tests/test_utility_functions.py:65: AssertionError =========================== short test summary info ============================ XFAIL tests/test_utility_functions.py::TestFindPyFiles::test_non_recursive_ignore_non_py_files - function only checks for python files in recursive mode. FAILED tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_module_variable[args0] FAILED tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_class_docstring[args0] FAILED tests/formatter/test_do_format_code.py::TestDoFormatCode::test_format_code_strip_blank_line_after_class_variable[args0] FAILED tests/test_docformatter.py::TestEndToEndPyproject::test_no_pre_summary_space_using_pyproject[arguments0-[tool.docformatter]\npre-summary-space = false\n- class TestFoo():\n """Docstring that should not have a pre-summary space."""\n ] =================== 4 failed, 272 passed, 1 xfailed in 6.70s =================== 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/rpm-tmp.66343 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.66343 (%check) Command exited with non-zero status 1 10.29user 1.01system 0:11.64elapsed 97%CPU (0avgtext+0avgdata 31480maxresident)k 0inputs+0outputs (0major+188391minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-docformatter-1.7.5-alt1.src.rpm' failed. Command exited with non-zero status 1 7.77user 2.85system 0:32.02elapsed 33%CPU (0avgtext+0avgdata 126972maxresident)k 6336inputs+0outputs (0major+276284minor)pagefaults 0swaps