Mock Version: 2.14 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-1636993664.298099/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.yktlsm3o:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yktlsm3o:/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', 'f80e0bd9c5fc4c198659a4e6b0e31757', '-D', '/var/lib/mock/epel-8-x86_64-1636993664.298099/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yktlsm3o:/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 sh: /usr/bin/python3.9: No such file or directory sh: /usr/bin/python3.9: No such file or directory sh: /usr/bin/python3.9: No such file or directory sh: /usr/bin/python3.9: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-sure-1.4.11-34.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-1636993664.298099/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.yktlsm3o:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yktlsm3o:/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', '4b1f04336d4b401c92745c31541d939b', '-D', '/var/lib/mock/epel-8-x86_64-1636993664.298099/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yktlsm3o:/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.L3qfNw + 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/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/python3.10-workaround.patch + sed -r -i -e 's|https://docs.python.org/3?|//usr/share/doc/python3-docs/html|' -e '/redis.*https.*readthedocs/d' docs/source/conf.py + rm -rf sure.egg-info + rm -rf /builddir/build/BUILD/python3-python-sure-1.4.11-34.el8 + cp -a . /builddir/build/BUILD/python3-python-sure-1.4.11-34.el8 + find /builddir/build/BUILD/python3-python-sure-1.4.11-34.el8 -name '*.py' + xargs sed -i '1s|^#!/bin/env python|#!/usr/bin/python3.9|' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KxrtRw + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + pushd /builddir/build/BUILD/python3-python-sure-1.4.11-34.el8 ~/build/BUILD/python3-python-sure-1.4.11-34.el8 ~/build/BUILD/sure-1.4.11 + LANG=en_US.utf8 + 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/__init__.py -> build/lib/sure copying sure/core.py -> build/lib/sure copying sure/deprecated.py -> build/lib/sure copying sure/magic.py -> build/lib/sure copying sure/registry.py -> build/lib/sure copying sure/terminal.py -> build/lib/sure copying sure/compat.py -> build/lib/sure copying sure/old.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 + popd ~/build/BUILD/sure-1.4.11 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GkLXFu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64 + cd sure-1.4.11 + pushd /builddir/build/BUILD/python3-python-sure-1.4.11-34.el8 ~/build/BUILD/python3-python-sure-1.4.11-34.el8 ~/build/BUILD/sure-1.4.11 + LANG=en_US.utf8 + 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-34.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/old.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/compat.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/terminal.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/registry.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/magic.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/deprecated.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/core.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure copying build/lib/sure/__init__.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages/sure/old.py to old.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-34.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-34.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-34.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-34.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-34.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-34.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-34.el8.x86_64/usr/lib/python3.9/site-packages/sure/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpizi083rr.py' /usr/bin/python3.9 /tmp/tmpizi083rr.py removing /tmp/tmpizi083rr.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-34.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-34.el8.x86_64/usr/bin/__pycache__ + popd ~/build/BUILD/sure-1.4.11 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.4.11-34.el8 --unique-debug-suffix -1.4.11-34.el8.x86_64 --unique-debug-src-base python-sure-1.4.11-34.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 + /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-34.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.WJZnct + 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-34.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-34.el8.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest-3.9 ============================= test session starts ============================== platform linux -- Python 3.9.2, pytest-6.0.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.17s ======================= + exit 0 Processing files: python39-sure-1.4.11-34.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PeoxUu + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-sure-1.4.11-34.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-34.el8.x86_64/usr/share/licenses/python39-sure + cp -pr COPYING /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/licenses/python39-sure + cp -pr COPYING /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/licenses/python39-sure + exit 0 warning: File listed twice: /usr/share/licenses/python39-sure/COPYING Provides: python3.9dist(sure) = 1.4.11 python39-sure = 1.4.11-34.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) Processing files: python-sure-doc-1.4.11-34.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pEYJgx + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + DOCDIR=/builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/doc/python-sure-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/doc/python-sure-doc + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/doc/python-sure-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/doc/python-sure-doc + cp -pr TODO.rst /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/doc/python-sure-doc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mGuWgu + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/licenses/python-sure-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/licenses/python-sure-doc + cp -pr COPYING /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64/usr/share/licenses/python-sure-doc + exit 0 Provides: python-sure-doc = 1.4.11-34.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64 Wrote: /builddir/build/RPMS/python39-sure-1.4.11-34.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-sure-doc-1.4.11-34.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ESO0dx + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-sure-1.4.11-34.el8.x86_64 + exit 0 Child return code was: 0