Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1639454830.565133/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g1kxdjn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g1kxdjn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4fe7c37abd5847d295c868a57f48bbf1', '-D', '/var/lib/mock/epel-8-x86_64-1639454830.565133/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g1kxdjn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-sure-1.4.11-14.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1639454830.565133/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g1kxdjn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g1kxdjn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '76f081ad52234f0595d01a8e93eac39a', '-D', '/var/lib/mock/epel-8-x86_64-1639454830.565133/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g1kxdjn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mal3tx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sure-1.4.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/sure-1.4.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sure-1.4.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/9f0e834b2e5eea5dfe21d5be4ea6a3df47baf0b9.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/python3.10-workaround.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.J0wBcv + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.9 setup.py build '--executable=/usr/bin/python3.9 -s' running build running build_py creating build creating build/lib creating build/lib/sure copying sure/old.py -> build/lib/sure copying sure/compat.py -> build/lib/sure copying sure/terminal.py -> build/lib/sure copying sure/registry.py -> build/lib/sure copying sure/magic.py -> build/lib/sure copying sure/deprecated.py -> build/lib/sure copying sure/core.py -> build/lib/sure copying sure/__init__.py -> build/lib/sure running egg_info creating sure.egg-info writing sure.egg-info/PKG-INFO writing dependency_links to sure.egg-info/dependency_links.txt writing requirements to sure.egg-info/requires.txt writing top-level names to sure.egg-info/top_level.txt writing manifest file 'sure.egg-info/SOURCES.txt' reading manifest file 'sure.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sure.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Vm5CCt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64 + cd sure-1.4.11 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.9 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/__init__.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/core.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/deprecated.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/magic.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/registry.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/terminal.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/compat.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/old.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/core.py to core.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/deprecated.py to deprecated.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/magic.py to magic.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/registry.py to registry.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/terminal.py to terminal.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/compat.py to compat.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure/old.py to old.cpython-39.pyc writing byte-compilation script '/tmp/tmpn1irdiax.py' /usr/bin/python3.9 /tmp/tmpn1irdiax.py removing /tmp/tmpn1irdiax.py running install_egg_info running egg_info writing sure.egg-info/PKG-INFO writing dependency_links to sure.egg-info/dependency_links.txt writing requirements to sure.egg-info/requires.txt writing top-level names to sure.egg-info/top_level.txt reading manifest file 'sure.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sure.egg-info/SOURCES.txt' Copying sure.egg-info to /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages/sure-1.4.11-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.4.11-14.el8 --unique-debug-suffix -1.4.11-14.el8.x86_64 --unique-debug-src-base python-sure-1.4.11-14.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/sure-1.4.11 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.9 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SL9qwt + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + PATH=/builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest-3.9 ============================= test session starts ============================== platform linux -- Python 3.9.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/sure-1.4.11 collected 142 items tests/test_assertion_builder.py .................................... [ 25%] tests/test_cpython_patches.py .... [ 28%] tests/test_custom_assertions.py ... [ 30%] tests/test_ensure_ctxmgr.py .. [ 31%] tests/test_old_api.py .................................................. [ 66%] ..................................... [ 92%] tests/test_safe_repr.py .... [ 95%] tests/issues/test_issue_104.py . [ 96%] tests/issues/test_issue_134.py . [ 97%] tests/issues/test_issue_136.py . [ 97%] tests/issues/test_issue_139.py . [ 98%] tests/issues/test_issue_19.py . [ 99%] tests/issues/test_issue_48.py . [100%] =============================== warnings summary =============================== tests/test_assertion_builder.py:547 /builddir/build/BUILD/sure-1.4.11/tests/test_assertion_builder.py:547: DeprecationWarning: invalid escape sequence \w ("expect('some string').to.match(r'\w{4} \w{6}') matches regex") tests/test_assertion_builder.py:560 /builddir/build/BUILD/sure-1.4.11/tests/test_assertion_builder.py:560: DeprecationWarning: invalid escape sequence \d "'some string' doesn't match the regular expression /\d{2} \d{4}/") ../../../../usr/lib/python3.9/site-packages/nose/importer.py:12 /usr/lib/python3.9/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses from imp import find_module, load_module, acquire_lock, release_lock tests/test_old_api.py::test_setup_with_context /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:43: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_that_len_greater_than_should_raise_assertion_error /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:207: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_that_len_greater_than_or_equals_should_raise_assertion_error /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:233: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_that_len_lower_than_should_raise_assertion_error /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:257: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_that_len_lower_than_or_equals_should_raise_assertion_error /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:283: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_that_raises /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:431: DeprecationWarning: Please use assertEqual instead. assert_equals(function(3, 5), 'OK') tests/test_old_api.py::test_that_none_contains_string /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:566: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_within_fail /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:660: DeprecationWarning: Please use assertEqual instead. assert_equals('sleepy did not run within five miliseconds', str(e)) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:666: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('one'), 1) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:667: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('two'), 2) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:668: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('three'), 3) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:669: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('four'), 4) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:670: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('five'), 5) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:671: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('six'), 6) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:672: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('seven'), 7) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:673: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('eight'), 8) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:674: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('nine'), 9) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:675: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('ten'), 10) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:676: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('eleven'), 11) tests/test_old_api.py::test_word_to_number /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:677: DeprecationWarning: Please use assertEqual instead. assert_equals(sure.word_to_number('twelve'), 12) tests/test_old_api.py::test_word_to_number_fail /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:686: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_microsecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:698: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(1), 100000) tests/test_old_api.py::test_microsecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:699: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(1), 1) tests/test_old_api.py::test_microsecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:703: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(1), 100000) tests/test_old_api.py::test_microsecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:704: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(1), 1) tests/test_old_api.py::test_milisecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:711: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(1), 1000) tests/test_old_api.py::test_milisecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:712: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(100), 1) tests/test_old_api.py::test_milisecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:716: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(1), 1000) tests/test_old_api.py::test_milisecond_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:717: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(100), 1) tests/test_old_api.py::test_second_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:724: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(1), 1) tests/test_old_api.py::test_second_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:725: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(100000), 1) tests/test_old_api.py::test_second_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:729: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(1), 1) tests/test_old_api.py::test_second_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:730: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(100000), 1) tests/test_old_api.py::test_minute_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:737: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(60), 1) tests/test_old_api.py::test_minute_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:738: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(1), 6000000) tests/test_old_api.py::test_minute_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:742: DeprecationWarning: Please use assertEqual instead. assert_equals(cfrom(60), 1) tests/test_old_api.py::test_minute_unit /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:743: DeprecationWarning: Please use assertEqual instead. assert_equals(cto(1), 6000000) tests/test_old_api.py::test_that_is_a_matcher_should_absorb_callables_to_be_used_as_matcher /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:765: DeprecationWarning: Please use assertEqual instead. assert_equals(that('friend').is_truthful(), 'foobar') tests/test_old_api.py::test_accepts_setup_list /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:783: DeprecationWarning: Please use assertEqual instead. assert_equals( tests/test_old_api.py::test_scenario_is_alias_for_context_on_setup_and_teardown /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:830: DeprecationWarning: Please use assertEqual instead. assert_equals(context.name, "Robert C Martin") tests/test_old_api.py::test_scenario_is_alias_for_context_on_setup_and_teardown /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:823: DeprecationWarning: Please use assertEqual instead. assert_equals(context.name, "Robert C Martin") tests/test_old_api.py::test_scenario_is_alias_for_context_on_setup_and_teardown /builddir/build/BUILD/sure-1.4.11/tests/test_old_api.py:833: DeprecationWarning: Please use assertEqual instead. assert_equals( -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================= 142 passed, 45 warnings in 1.12s ======================= + exit 0 Processing files: python39-sure-1.4.11-14.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.msto7u + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + DOCDIR=/builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/doc/python39-sure + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/doc/python39-sure + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/doc/python39-sure + cp -pr README.rst /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/doc/python39-sure + cp -pr TODO.rst /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/doc/python39-sure + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.b4NXIw + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/licenses/python39-sure + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/licenses/python39-sure + cp -pr COPYING /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64/usr/share/licenses/python39-sure + exit 0 Provides: python3.9dist(sure) = 1.4.11 python39-sure = 1.4.11-14.el8 python3dist(sure) = 1.4.11 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 python3.9dist(mock) python3.9dist(six) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64 Wrote: /builddir/build/RPMS/python39-sure-1.4.11-14.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Vkdb7s + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-sure-1.4.11-14.el8.x86_64 + exit 0 Child return code was: 0