Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'], chrootPath='/var/lib/mock/roe1-build-2420-595/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=86400uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-mock.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'} and shell False warning: bogus date in %changelog: Tue Sep 20 2020 liuweibo - 4.0.2-3 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-mock-4.0.3-1.oe1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'], chrootPath='/var/lib/mock/roe1-build-2420-595/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=86400uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-mock.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'} and shell False warning: bogus date in %changelog: Tue Sep 20 2020 liuweibo - 4.0.2-3 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kq9q3K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-4.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-4.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-4.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FRdF9K + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + CFLAGS='-O2 -g' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/openEuler/openEuler-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/mock copying mock/mock.py -> build/lib/mock copying mock/backports.py -> build/lib/mock copying mock/__init__.py -> build/lib/mock + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OThNPL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch ++ dirname /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch + cd mock-4.0.3 + CFLAGS='-O2 -g' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/openEuler/openEuler-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr creating /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib creating /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7 creating /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages creating /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock copying build/lib/mock/mock.py -> /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock copying build/lib/mock/backports.py -> /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock copying build/lib/mock/__init__.py -> /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock byte-compiling /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock/mock.py to mock.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock/backports.py to backports.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock/__init__.py to __init__.cpython-37.pyc writing byte-compilation script '/tmp/tmp2a9kjloc.py' /usr/bin/python3 /tmp/tmp2a9kjloc.py removing /tmp/tmp2a9kjloc.py running install_egg_info running egg_info writing mock.egg-info/PKG-INFO writing dependency_links to mock.egg-info/dependency_links.txt writing requirements to mock.egg-info/requires.txt writing top-level names to mock.egg-info/top_level.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mock.egg-info/SOURCES.txt' Copying mock.egg-info to /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7/site-packages/mock-4.0.3-py3.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -i --build-id-seed 4.0.3-1.oe1 --unique-debug-suffix -4.0.3-1.oe1.noarch --unique-debug-src-base python-mock-4.0.3-1.oe1.noarch -S debugsourcefiles.list /builddir/build/BUILD/mock-4.0.3 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/openEuler/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/lib/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.G80mYK + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + /usr/bin/python3 setup.py test running test running egg_info writing mock.egg-info/PKG-INFO writing dependency_links to mock.egg-info/dependency_links.txt writing requirements to mock.egg-info/requires.txt writing top-level names to mock.egg-info/top_level.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mock.egg-info/SOURCES.txt' running build_ext test_add_return_value (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_add_return_value' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_add_side_effect_coroutine (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_add_side_effect_coroutine' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_add_side_effect_exception (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_add_side_effect_exception' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_add_side_effect_exception_iterable (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_add_side_effect_exception_iterable' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_add_side_effect_iterable (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_add_side_effect_iterable' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_add_side_effect_normal_function (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_add_side_effect_normal_function' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_await_args_list_order (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_await_args_list_order' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_return_value_AsyncMock (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_return_value_AsyncMock' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_return_value_awaitable (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_return_value_awaitable' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_side_effect_awaitable_values (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_side_effect_awaitable_values' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_side_effect_is_AsyncMock (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_side_effect_is_AsyncMock' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_wraps_coroutine (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_wraps_coroutine' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_wraps_normal_function (mock.tests.testasync.AsyncArguments) ... /usr/lib64/python3.7/unittest/case.py:645: RuntimeWarning: coroutine 'AsyncArguments.test_wraps_normal_function' was never awaited testMethod() RuntimeWarning: Enable tracemalloc to get the object allocation traceback ok test_create_autospec (mock.tests.testasync.AsyncAutospecTest) ... ok test_create_autospec_awaitable_class (mock.tests.testasync.AsyncAutospecTest) ... ok test_create_autospec_instance (mock.tests.testasync.AsyncAutospecTest) ... ok test_is_AsyncMock_patch (mock.tests.testasync.AsyncAutospecTest) ... ok test_patch_with_autospec (mock.tests.testasync.AsyncAutospecTest) ... ok test_context_manager_raise_exception_by_default (mock.tests.testasync.AsyncContextManagerTest) ... ok test_mock_customize_async_context_manager (mock.tests.testasync.AsyncContextManagerTest) ... ok test_mock_customize_async_context_manager_with_coroutine (mock.tests.testasync.AsyncContextManagerTest) ... Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Task was destroyed but it is pending! source_traceback: Object created at (most recent call last): File "setup.py", line 9, in long_description=open('README.rst').read(), File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run self.run_tests() File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests exit=False, File "/usr/lib64/python3.7/unittest/main.py", line 101, in __init__ self.runTests() File "/usr/lib64/python3.7/unittest/main.py", line 271, in runTests self.result = testRunner.run(self.test) File "/usr/lib64/python3.7/unittest/runner.py", line 176, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib64/python3.7/unittest/suite.py", line 122, in run test(result) File "/usr/lib64/python3.7/unittest/case.py", line 693, in __call__ return self.run(*args, **kwds) File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 78, in run self._setupAsyncioLoop() File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 60, in _setupAsyncioLoop self._asyncioCallsTask = loop.create_task(self._asyncioLoopRunner(fut)) task: wait_for=()] created at /usr/lib64/python3.7/asyncio/base_events.py:391> created at /builddir/build/BUILD/mock-4.0.3/mock/backports.py:60> Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/mock-4.0.3/mock/backports.py", line 49, in _asyncioLoopRunner query = await queue.get() File "/usr/lib64/python3.7/asyncio/queues.py", line 161, in get getter.cancel() # Just in case getter is not done yet. File "/usr/lib64/python3.7/asyncio/base_events.py", line 683, in call_soon self._check_closed() File "/usr/lib64/python3.7/asyncio/base_events.py", line 475, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed ok test_mock_supports_async_context_manager (mock.tests.testasync.AsyncContextManagerTest) ... ok test_set_return_value_of_aenter (mock.tests.testasync.AsyncContextManagerTest) ... ok test_aiter_set_return_value (mock.tests.testasync.AsyncIteratorTest) ... ok test_mock_aiter_and_anext_asyncmock (mock.tests.testasync.AsyncIteratorTest) ... ok test_mock_async_for (mock.tests.testasync.AsyncIteratorTest) ... ok test_async_magic_methods_return_async_mocks (mock.tests.testasync.AsyncMagicMethods) ... ok test_asyncmock_has_sync_magic_methods (mock.tests.testasync.AsyncMagicMethods) ... ok test_magic_methods_are_async_functions (mock.tests.testasync.AsyncMagicMethods) ... ok test_magicmock_has_async_magic_methods (mock.tests.testasync.AsyncMagicMethods) ... ok test_sync_magic_methods_return_magic_mocks (mock.tests.testasync.AsyncMagicMethods) ... ok test_assert_any_wait (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_awaited (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_awaited_but_not_called (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_awaited_once (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_awaited_once_with (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_awaited_with (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_called_and_awaited_at_same_time (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_called_but_not_awaited (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_called_once_and_awaited_twice (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_called_then_awaited (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_called_twice_and_awaited_once (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_has_awaits_no_order (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_has_awaits_not_matching_spec_error (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_has_awaits_ordered (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_has_calls_not_awaits (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_has_mock_calls_on_async_mock_no_spec (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_has_mock_calls_on_async_mock_with_spec (mock.tests.testasync.AsyncMockAssert) ... ok test_assert_not_awaited (mock.tests.testasync.AsyncMockAssert) ... ok test_async_arg_lists (mock.tests.testasync.AsyncMockAssert) ... ok test_async_method_calls_recorded (mock.tests.testasync.AsyncMockAssert) ... ok test_awaits_asserts_with_any (mock.tests.testasync.AsyncMockAssert) ... ok test_awaits_asserts_with_spec_and_any (mock.tests.testasync.AsyncMockAssert) ... ok test_future_isfuture (mock.tests.testasync.AsyncMockTest) ... ok test_isawaitable (mock.tests.testasync.AsyncMockTest) ... ok test_iscoroutinefunction_default (mock.tests.testasync.AsyncMockTest) ... ok test_iscoroutinefunction_function (mock.tests.testasync.AsyncMockTest) ... ok test_iscoroutinefunction_normal_function (mock.tests.testasync.AsyncMockTest) ... ok test_async_def_cm (mock.tests.testasync.AsyncPatchCMTest) ... ok test_is_AsyncMock_cm (mock.tests.testasync.AsyncPatchCMTest) ... ok test_is_async_cm (mock.tests.testasync.AsyncPatchCMTest) ... ok test_is_async_function_cm (mock.tests.testasync.AsyncPatchCMTest) ... ok test_async_def_patch (mock.tests.testasync.AsyncPatchDecoratorTest) ... ok test_is_AsyncMock_patch (mock.tests.testasync.AsyncPatchDecoratorTest) ... ok test_is_AsyncMock_patch_classmethod (mock.tests.testasync.AsyncPatchDecoratorTest) ... ok test_is_AsyncMock_patch_staticmethod (mock.tests.testasync.AsyncPatchDecoratorTest) ... ok test_is_async_patch (mock.tests.testasync.AsyncPatchDecoratorTest) ... ok test_is_coroutine_function_patch (mock.tests.testasync.AsyncPatchDecoratorTest) ... ok test_is_AsyncMock_patch (mock.tests.testasync.AsyncSpecSetTest) ... ok test_is_async_AsyncMock (mock.tests.testasync.AsyncSpecSetTest) ... ok test_is_child_AsyncMock (mock.tests.testasync.AsyncSpecSetTest) ... ok test_magicmock_lambda_spec (mock.tests.testasync.AsyncSpecSetTest) ... ok test_spec_as_normal_kw_AsyncMock (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_as_normal_positional_AsyncMock (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_async_attributes (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_async_mock (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_mock_type_kw (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_mock_type_positional (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_normal_methods_on_class (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_normal_methods_on_class_with_mock (mock.tests.testasync.AsyncSpecTest) ... ok test_spec_parent_not_async_attribute_is (mock.tests.testasync.AsyncSpecTest) ... ok test_target_async_spec_not (mock.tests.testasync.AsyncSpecTest) ... ok test_target_not_async_spec_is (mock.tests.testasync.AsyncSpecTest) ... ok test_any (mock.tests.testhelpers.AnyTest) ... ok test_any_and_datetime (mock.tests.testhelpers.AnyTest) ... ok test_any_and_spec_set (mock.tests.testhelpers.AnyTest) ... ok test_any_mock_calls_comparison_order (mock.tests.testhelpers.AnyTest) ... ok test_any_no_spec (mock.tests.testhelpers.AnyTest) ... ok test_repr (mock.tests.testhelpers.AnyTest) ... ok test_attribute_call (mock.tests.testhelpers.CallTest) ... ok test_call (mock.tests.testhelpers.CallTest) ... ok test_call_any (mock.tests.testhelpers.CallTest) ... ok test_call_list (mock.tests.testhelpers.CallTest) ... ok test_call_ne (mock.tests.testhelpers.CallTest) ... ok test_call_non_tuples (mock.tests.testhelpers.CallTest) ... ok test_call_with_args (mock.tests.testhelpers.CallTest) ... ok test_call_with_args_call_empty_name (mock.tests.testhelpers.CallTest) ... ok test_call_with_call (mock.tests.testhelpers.CallTest) ... ok test_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok test_call_with_name (mock.tests.testhelpers.CallTest) ... ok test_dunder_call (mock.tests.testhelpers.CallTest) ... ok test_empty__Call (mock.tests.testhelpers.CallTest) ... ok test_extended_call (mock.tests.testhelpers.CallTest) ... ok test_extended_not_equal (mock.tests.testhelpers.CallTest) ... ok test_named_call_with_args (mock.tests.testhelpers.CallTest) ... ok test_named_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok test_named_empty_call (mock.tests.testhelpers.CallTest) ... ok test_nested_calls_not_equal (mock.tests.testhelpers.CallTest) ... ok test_repr (mock.tests.testhelpers.CallTest) ... ok test_two_args_call (mock.tests.testhelpers.CallTest) ... ok test_attributes (mock.tests.testhelpers.SpecSignatureTest) ... ok test_autospec_data_descriptor (mock.tests.testhelpers.SpecSignatureTest) ... ok test_autospec_functions_with_self_in_odd_place (mock.tests.testhelpers.SpecSignatureTest) ... ok test_autospec_getattr_partial_function (mock.tests.testhelpers.SpecSignatureTest) ... ok test_autospec_on_bound_builtin_function (mock.tests.testhelpers.SpecSignatureTest) ... ok test_autospec_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok test_basic (mock.tests.testhelpers.SpecSignatureTest) ... ok test_builtin_functions_types (mock.tests.testhelpers.SpecSignatureTest) ... ok test_builtins (mock.tests.testhelpers.SpecSignatureTest) ... ok test_class_with_no_init (mock.tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_keyword_arguments (mock.tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_keyword_only_arguments (mock.tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_none (mock.tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_return_value (mock.tests.testhelpers.SpecSignatureTest) ... ok test_descriptors (mock.tests.testhelpers.SpecSignatureTest) ... ok test_function (mock.tests.testhelpers.SpecSignatureTest) ... ok test_function_as_instance_attribute (mock.tests.testhelpers.SpecSignatureTest) ... ok test_inherit (mock.tests.testhelpers.SpecSignatureTest) ... ok test_magic_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok test_method_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok test_mocking_unbound_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok test_recursive (mock.tests.testhelpers.SpecSignatureTest) ... ok test_signature_callable (mock.tests.testhelpers.SpecSignatureTest) ... ok test_signature_class (mock.tests.testhelpers.SpecSignatureTest) ... ok test_signature_noncallable (mock.tests.testhelpers.SpecSignatureTest) ... ok test_skip_attributeerrors (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_as_list (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_function_assert_any_call (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_function_assert_has_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_function_no_name (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_function_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_has_descriptor_returning_function (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_has_function_not_in_bases (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_inheritance_for_classes (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_inspect_signature (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_inspect_signature_annotations (mock.tests.testhelpers.SpecSignatureTest) ... ok test_spec_set (mock.tests.testhelpers.SpecSignatureTest) ... ok test_args_list_contains_call_list (mock.tests.testhelpers.TestCallList) ... ok test_call_list_str (mock.tests.testhelpers.TestCallList) ... ok test_propertymock (mock.tests.testhelpers.TestCallList) ... ok test_propertymock_returnvalue (mock.tests.testhelpers.TestCallList) ... ok test_call_magic_method (mock.tests.testhelpers.TestCallablePredicate) ... ok test_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok test_non_callable_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok test_non_callable_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok test_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok test_type (mock.tests.testhelpers.TestCallablePredicate) ... ok test_dunder_iter_data (mock.tests.testwith.TestMockOpen) ... ok test_explicit_mock (mock.tests.testwith.TestMockOpen) ... ok test_interleaved_reads (mock.tests.testwith.TestMockOpen) ... ok test_mock_open (mock.tests.testwith.TestMockOpen) ... ok test_mock_open_context_manager (mock.tests.testwith.TestMockOpen) ... ok test_mock_open_context_manager_multiple_times (mock.tests.testwith.TestMockOpen) ... ok test_mock_open_read_with_argument (mock.tests.testwith.TestMockOpen) ... ok test_next_data (mock.tests.testwith.TestMockOpen) ... ok test_overriding_return_values (mock.tests.testwith.TestMockOpen) ... ok test_read_bytes (mock.tests.testwith.TestMockOpen) ... ok test_read_data (mock.tests.testwith.TestMockOpen) ... ok test_readline_bytes (mock.tests.testwith.TestMockOpen) ... ok test_readline_data (mock.tests.testwith.TestMockOpen) ... ok test_readlines_bytes (mock.tests.testwith.TestMockOpen) ... ok test_readlines_data (mock.tests.testwith.TestMockOpen) ... ok testContextManagerMocking (mock.tests.testwith.WithTest) ... ok test_context_manager_with_magic_mock (mock.tests.testwith.WithTest) ... ok test_dict_context_manager (mock.tests.testwith.WithTest) ... ok test_double_patch_instance_method (mock.tests.testwith.WithTest) ... ok test_patch_object_with_statement (mock.tests.testwith.WithTest) ... ok test_with_statement (mock.tests.testwith.WithTest) ... ok test_with_statement_as (mock.tests.testwith.WithTest) ... ok test_with_statement_exception (mock.tests.testwith.WithTest) ... ok test_with_statement_imbricated (mock.tests.testwith.WithTest) ... ok test_with_statement_nested (mock.tests.testwith.WithTest) ... ok test_with_statement_same_attribute (mock.tests.testwith.WithTest) ... ok test_with_statement_specified (mock.tests.testwith.WithTest) ... ok test_attribute_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok test_attributes_return_more_mocks_by_default (mock.tests.testsealable.TestSealable) ... ok test_call_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok test_call_on_defined_sealed_mock_succeeds (mock.tests.testsealable.TestSealable) ... ok test_call_on_sealed_mock_fails (mock.tests.testsealable.TestSealable) ... ok test_existing_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok test_existing_attributes_can_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok test_initialized_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok test_integration_with_spec_att_definition (mock.tests.testsealable.TestSealable) You are not restricted when using mock with spec ... ok test_integration_with_spec_method_definition (mock.tests.testsealable.TestSealable) You need to defin the methods, even if they are in the spec ... ok test_integration_with_spec_method_definition_respects_spec (mock.tests.testsealable.TestSealable) You cannot define methods out of the spec ... ok test_new_attributes_cannot_be_accessed_on_seal (mock.tests.testsealable.TestSealable) ... ok test_new_attributes_cannot_be_set_on_child_of_seal (mock.tests.testsealable.TestSealable) ... ok test_new_attributes_cannot_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok test_sealed_exception_has_attribute_name (mock.tests.testsealable.TestSealable) ... ok test_seals_dont_recurse_on_manual_attributes (mock.tests.testsealable.TestSealable) ... ok test_seals_recurse_on_added_attributes (mock.tests.testsealable.TestSealable) ... ok test_seals_recurse_on_magic_methods (mock.tests.testsealable.TestSealable) ... ok test_autospec (mock.tests.testpatch.PatchTest) ... ok test_autospec_classmethod (mock.tests.testpatch.PatchTest) ... ok test_autospec_function (mock.tests.testpatch.PatchTest) ... ok test_autospec_inherits (mock.tests.testpatch.PatchTest) ... ok test_autospec_keywords (mock.tests.testpatch.PatchTest) ... ok test_autospec_name (mock.tests.testpatch.PatchTest) ... ok test_autospec_staticmethod (mock.tests.testpatch.PatchTest) ... ok test_autospec_with_new (mock.tests.testpatch.PatchTest) ... ok test_autospec_with_object (mock.tests.testpatch.PatchTest) ... ok test_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok test_cant_set_kwargs_when_passing_a_mock (mock.tests.testpatch.PatchTest) ... ok test_create_and_specs (mock.tests.testpatch.PatchTest) ... ok test_dotted_but_module_not_loaded (mock.tests.testpatch.PatchTest) ... ok test_falsey_spec (mock.tests.testpatch.PatchTest) ... ok test_get_only_proxy (mock.tests.testpatch.PatchTest) ... ok test_get_set_delete_proxy (mock.tests.testpatch.PatchTest) ... ok test_invalid_target (mock.tests.testpatch.PatchTest) ... ok test_mock_calls_with_patch (mock.tests.testpatch.PatchTest) ... ok test_multiple_patchobject (mock.tests.testpatch.PatchTest) ... ok test_multiple_specs (mock.tests.testpatch.PatchTest) ... ok test_name_preserved (mock.tests.testpatch.PatchTest) ... ok test_nested_patch_failure (mock.tests.testpatch.PatchTest) ... ok test_nested_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok test_new_callable_class_decorating (mock.tests.testpatch.PatchTest) ... ok test_new_callable_create (mock.tests.testpatch.PatchTest) ... ok test_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok test_new_callable_incompatible_with_autospec (mock.tests.testpatch.PatchTest) ... ok test_new_callable_incompatible_with_new (mock.tests.testpatch.PatchTest) ... ok test_new_callable_inherit_for_mocks (mock.tests.testpatch.PatchTest) ... ok test_new_callable_inherit_non_mock (mock.tests.testpatch.PatchTest) ... ok test_new_callable_keyword_arguments (mock.tests.testpatch.PatchTest) ... ok test_new_callable_patch (mock.tests.testpatch.PatchTest) ... ok test_new_callable_patch_object (mock.tests.testpatch.PatchTest) ... ok test_new_callable_spec (mock.tests.testpatch.PatchTest) ... ok test_not_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok test_object_lookup_is_quite_lazy (mock.tests.testpatch.PatchTest) ... ok test_patch (mock.tests.testpatch.PatchTest) ... ok test_patch_and_patch_dict_stopall (mock.tests.testpatch.PatchTest) ... ok test_patch_builtins_without_create (mock.tests.testpatch.PatchTest) ... ok test_patch_class_acts_with_spec_is_inherited (mock.tests.testpatch.PatchTest) ... ok test_patch_class_attribute (mock.tests.testpatch.PatchTest) ... ok test_patch_class_decorator (mock.tests.testpatch.PatchTest) ... ok test_patch_dict (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_as_context_manager (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_class_decorator (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_decorator_resolution (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_keyword_args (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_start_stop (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_stop_without_start (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_stopall (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_test_prefix (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_with_clear (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_with_container_object (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_with_container_object_and_clear (mock.tests.testpatch.PatchTest) ... ok test_patch_dict_with_string (mock.tests.testpatch.PatchTest) ... ok test_patch_imports_lazily (mock.tests.testpatch.PatchTest) ... ok test_patch_keyword_args (mock.tests.testpatch.PatchTest) ... ok test_patch_local (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_create (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_create_mocks (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_create_mocks_different_order (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_create_mocks_patcher (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_decorating_class (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_failure (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_new_callable (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_no_kwargs (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_spec_set (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_stacked_decorators (mock.tests.testpatch.PatchTest) ... ok test_patch_multiple_string_subclasses (mock.tests.testpatch.PatchTest) ... ok test_patch_nested_autospec_repr (mock.tests.testpatch.PatchTest) ... ok test_patch_object_keyword_args (mock.tests.testpatch.PatchTest) ... ok test_patch_object_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok test_patch_orderdict (mock.tests.testpatch.PatchTest) ... ok test_patch_propagates_exc_on_exit (mock.tests.testpatch.PatchTest) ... ok test_patch_slots (mock.tests.testpatch.PatchTest) ... ok test_patch_spec_set (mock.tests.testpatch.PatchTest) ... ok test_patch_start_stop (mock.tests.testpatch.PatchTest) ... ok test_patch_stopall (mock.tests.testpatch.PatchTest) ... ok test_patch_test_prefix (mock.tests.testpatch.PatchTest) ... ok test_patch_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok test_patch_with_exception (mock.tests.testpatch.PatchTest) ... ok test_patch_with_spec (mock.tests.testpatch.PatchTest) ... ok test_patch_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok test_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok test_patch_with_spec_mock_repr (mock.tests.testpatch.PatchTest) ... ok test_patch_with_static_methods (mock.tests.testpatch.PatchTest) ... ok test_patch_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok test_patchobject_class_decorator (mock.tests.testpatch.PatchTest) ... ok test_patchobject_start_stop (mock.tests.testpatch.PatchTest) ... ok test_patchobject_twice (mock.tests.testpatch.PatchTest) ... ok test_patchobject_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok test_patchobject_with_default_mock (mock.tests.testpatch.PatchTest) ... ok test_patchobject_with_none (mock.tests.testpatch.PatchTest) ... ok test_patchobject_with_spec (mock.tests.testpatch.PatchTest) ... ok test_patchobject_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok test_patchobject_with_string_as_target (mock.tests.testpatch.PatchTest) ... ok test_patchobject_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok test_single_patchobject (mock.tests.testpatch.PatchTest) ... ok test_spec_set_inherit (mock.tests.testpatch.PatchTest) ... ok test_spec_set_true (mock.tests.testpatch.PatchTest) ... ok test_special_attrs (mock.tests.testpatch.PatchTest) ... ok test_specs_false_instead_of_none (mock.tests.testpatch.PatchTest) ... ok test_stop_idempotent (mock.tests.testpatch.PatchTest) ... ok test_stop_without_start (mock.tests.testpatch.PatchTest) ... ok test_stopall_lifo (mock.tests.testpatch.PatchTest) ... ok test_tracebacks (mock.tests.testpatch.PatchTest) ... ok test_attributes (mock.tests.testcallable.TestCallable) ... ok test_create_autospec (mock.tests.testcallable.TestCallable) ... ok test_create_autospec_instance (mock.tests.testcallable.TestCallable) ... ok test_hierarchy (mock.tests.testcallable.TestCallable) ... ok test_non_callable (mock.tests.testcallable.TestCallable) ... ok test_patch_spec (mock.tests.testcallable.TestCallable) ... ok test_patch_spec_callable_class (mock.tests.testcallable.TestCallable) ... ok test_patch_spec_instance (mock.tests.testcallable.TestCallable) ... ok test_patch_spec_set (mock.tests.testcallable.TestCallable) ... ok test_patch_spec_set_instance (mock.tests.testcallable.TestCallable) ... ok test_subclasses (mock.tests.testcallable.TestCallable) ... ok test__name__ (mock.tests.testmock.MockTest) ... ok test_adding_child_mock (mock.tests.testmock.MockTest) ... ok test_adding_return_value_mock (mock.tests.testmock.MockTest) ... ok test_all (mock.tests.testmock.MockTest) ... ok test_arg_lists (mock.tests.testmock.MockTest) ... ok test_assert_any_call (mock.tests.testmock.MockTest) ... ok test_assert_any_call_with_function_spec (mock.tests.testmock.MockTest) ... ok test_assert_called (mock.tests.testmock.MockTest) ... ok test_assert_called_exception_message (mock.tests.testmock.MockTest) ... ok test_assert_called_once (mock.tests.testmock.MockTest) ... ok test_assert_called_once_message (mock.tests.testmock.MockTest) ... ok test_assert_called_once_message_not_called (mock.tests.testmock.MockTest) ... ok test_assert_called_once_with (mock.tests.testmock.MockTest) ... ok test_assert_called_once_with_call_list (mock.tests.testmock.MockTest) ... ok test_assert_called_once_with_function_spec (mock.tests.testmock.MockTest) ... ok test_assert_called_once_with_message (mock.tests.testmock.MockTest) ... ok test_assert_called_with (mock.tests.testmock.MockTest) ... ok test_assert_called_with_any (mock.tests.testmock.MockTest) ... ok test_assert_called_with_failure_message (mock.tests.testmock.MockTest) ... ok test_assert_called_with_function_spec (mock.tests.testmock.MockTest) ... ok test_assert_called_with_message (mock.tests.testmock.MockTest) ... ok test_assert_called_with_method_spec (mock.tests.testmock.MockTest) ... ok test_assert_has_calls (mock.tests.testmock.MockTest) ... ok test_assert_has_calls_any_order (mock.tests.testmock.MockTest) ... ok test_assert_has_calls_nested_spec (mock.tests.testmock.MockTest) ... ok test_assert_has_calls_nested_without_spec (mock.tests.testmock.MockTest) ... ok test_assert_has_calls_not_matching_spec_error (mock.tests.testmock.MockTest) ... ok test_assert_has_calls_with_function_spec (mock.tests.testmock.MockTest) ... ok test_assert_not_called (mock.tests.testmock.MockTest) ... ok test_assert_not_called_message (mock.tests.testmock.MockTest) ... ok test_attach_mock (mock.tests.testmock.MockTest) ... ok test_attach_mock_patch_autospec (mock.tests.testmock.MockTest) ... ok test_attach_mock_patch_autospec_signature (mock.tests.testmock.MockTest) ... ok test_attach_mock_return_value (mock.tests.testmock.MockTest) ... ok test_attribute_access_returns_mocks (mock.tests.testmock.MockTest) ... ok test_attribute_deletion (mock.tests.testmock.MockTest) ... ok test_attributes_have_name_and_parent_set (mock.tests.testmock.MockTest) ... ok test_autospec_side_effect (mock.tests.testmock.MockTest) ... ok test_autospec_side_effect_exception (mock.tests.testmock.MockTest) ... ok test_baseexceptional_side_effect (mock.tests.testmock.MockTest) ... ok test_bool_not_called_when_passing_spec_arg (mock.tests.testmock.MockTest) ... ok test_call (mock.tests.testmock.MockTest) ... ok test_call_args_comparison (mock.tests.testmock.MockTest) ... ok test_call_args_two_tuple (mock.tests.testmock.MockTest) ... ok test_calls_equal_with_any (mock.tests.testmock.MockTest) ... ok test_change_return_value_via_delegate (mock.tests.testmock.MockTest) ... ok test_change_side_effect_via_delegate (mock.tests.testmock.MockTest) ... ok test_child_mock_call_equal (mock.tests.testmock.MockTest) ... ok test_class_assignable (mock.tests.testmock.MockTest) ... ok test_configure_mock (mock.tests.testmock.MockTest) ... ok test_constructor (mock.tests.testmock.MockTest) ... ok test_copy (mock.tests.testmock.MockTest) ... ok test_create_autospec_classmethod_and_staticmethod (mock.tests.testmock.MockTest) ... ok test_create_autospec_with_name (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_return_value (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_return_value_and_side_effect (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_return_value_and_side_effect2 (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_return_value_and_side_effect_default (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_side_effect_exception (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_side_effect_function (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_side_effect_iterable (mock.tests.testmock.MockTest) ... ok test_customize_wrapped_object_with_side_effect_iterable_with_default (mock.tests.testmock.MockTest) ... ok test_dir (mock.tests.testmock.MockTest) ... ok test_dir_does_not_include_deleted_attributes (mock.tests.testmock.MockTest) ... ok test_dir_from_spec (mock.tests.testmock.MockTest) ... ok test_exceptional_side_effect (mock.tests.testmock.MockTest) ... ok test_filter_dir (mock.tests.testmock.MockTest) ... ok test_from_spec (mock.tests.testmock.MockTest) ... ok test_isinstance_under_settrace (mock.tests.testmock.MockTest) ... ok test_magic_method_wraps_class (mock.tests.testmock.MockTest) ... ok test_magic_method_wraps_dict (mock.tests.testmock.MockTest) ... ok test_magic_methods_mock_calls (mock.tests.testmock.MockTest) ... ok test_manager_mock (mock.tests.testmock.MockTest) ... ok test_method_calls_compare_easily (mock.tests.testmock.MockTest) ... ok test_method_calls_recorded (mock.tests.testmock.MockTest) ... ok test_mock_add_spec (mock.tests.testmock.MockTest) ... ok test_mock_add_spec_magic_methods (mock.tests.testmock.MockTest) ... ok test_mock_call_not_equal_leaf (mock.tests.testmock.MockTest) ... ok test_mock_call_not_equal_non_leaf (mock.tests.testmock.MockTest) ... ok test_mock_call_not_equal_non_leaf_attr (mock.tests.testmock.MockTest) ... ok test_mock_call_not_equal_non_leaf_call_versus_attr (mock.tests.testmock.MockTest) ... ok test_mock_call_not_equal_non_leaf_params_different (mock.tests.testmock.MockTest) ... ok test_mock_call_repr (mock.tests.testmock.MockTest) ... ok test_mock_call_repr_loop (mock.tests.testmock.MockTest) ... ok test_mock_calls (mock.tests.testmock.MockTest) ... ok test_mock_calls_contains (mock.tests.testmock.MockTest) ... ok test_mock_calls_create_autospec (mock.tests.testmock.MockTest) ... ok test_mock_does_not_raise_on_repeated_attribute_deletion (mock.tests.testmock.MockTest) ... ok test_mock_open_after_eof (mock.tests.testmock.MockTest) ... ok test_mock_open_alter_readline (mock.tests.testmock.MockTest) ... ok test_mock_open_dunder_iter_issue (mock.tests.testmock.MockTest) ... ok test_mock_open_next_with_readline_with_return_value (mock.tests.testmock.MockTest) ... ok test_mock_open_reuse_issue_21750 (mock.tests.testmock.MockTest) ... ok test_mock_open_using_next (mock.tests.testmock.MockTest) ... ok test_mock_open_write (mock.tests.testmock.MockTest) ... ok test_mock_parents (mock.tests.testmock.MockTest) ... ok test_mock_raises_when_deleting_nonexistent_attribute (mock.tests.testmock.MockTest) ... ok test_mock_unsafe (mock.tests.testmock.MockTest) ... ok test_name_attribute_of_call (mock.tests.testmock.MockTest) ... ok test_only_allowed_methods_exist (mock.tests.testmock.MockTest) ... ok test_ordered_call_signature (mock.tests.testmock.MockTest) ... ok test_override_tuple_methods (mock.tests.testmock.MockTest) ... ok test_parent_attribute_of_call (mock.tests.testmock.MockTest) ... ok test_parent_propagation_with_autospec_attach_mock (mock.tests.testmock.MockTest) ... ok test_parent_propagation_with_create_autospec (mock.tests.testmock.MockTest) ... ok test_repr (mock.tests.testmock.MockTest) ... ok test_repr_with_spec (mock.tests.testmock.MockTest) ... ok test_reset_mock (mock.tests.testmock.MockTest) ... ok test_reset_mock_does_not_raise_on_attr_deletion (mock.tests.testmock.MockTest) ... ok test_reset_mock_on_mock_open_issue_18622 (mock.tests.testmock.MockTest) ... ok test_reset_mock_recursion (mock.tests.testmock.MockTest) ... ok test_reset_return (mock.tests.testmock.MockTest) ... ok test_reset_return_sideeffect (mock.tests.testmock.MockTest) ... ok test_reset_return_with_children (mock.tests.testmock.MockTest) ... ok test_reset_return_with_children_side_effect (mock.tests.testmock.MockTest) ... ok test_reset_sideeffect (mock.tests.testmock.MockTest) ... ok test_return_value_in_constructor (mock.tests.testmock.MockTest) ... ok test_setting_attribute_with_spec_set (mock.tests.testmock.MockTest) ... ok test_setting_call (mock.tests.testmock.MockTest) ... ok test_side_effect (mock.tests.testmock.MockTest) ... ok test_side_effect_iterator (mock.tests.testmock.MockTest) ... ok test_side_effect_iterator_default (mock.tests.testmock.MockTest) ... ok test_side_effect_iterator_exceptions (mock.tests.testmock.MockTest) ... ok test_side_effect_setting_iterator (mock.tests.testmock.MockTest) ... ok test_spec_class (mock.tests.testmock.MockTest) ... ok test_spec_class_no_object_base (mock.tests.testmock.MockTest) ... ok test_spec_list_subclass (mock.tests.testmock.MockTest) ... ok test_subclass_with_properties (mock.tests.testmock.MockTest) ... ok test_subclassing (mock.tests.testmock.MockTest) ... ok test_wraps_attributes (mock.tests.testmock.MockTest) ... ok test_wraps_call_with_nondefault_return_value (mock.tests.testmock.MockTest) ... ok test_wraps_calls (mock.tests.testmock.MockTest) ... ok test_wraps_prevents_automatic_creation_of_mocks (mock.tests.testmock.MockTest) ... ok testBases (mock.tests.testsentinel.SentinelTest) ... ok testCopy (mock.tests.testsentinel.SentinelTest) ... ok testDEFAULT (mock.tests.testsentinel.SentinelTest) ... ok testPickle (mock.tests.testsentinel.SentinelTest) ... ok testSentinelName (mock.tests.testsentinel.SentinelTest) ... ok testSentinels (mock.tests.testsentinel.SentinelTest) ... ok test_asyncmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_attributes_and_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_bound_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_changing_magic_set_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_comparison (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_deleting_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_descriptor_from_class (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_dict_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_dir (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_division (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_divmod_and_rdivmod (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_hash (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_iterable_as_iter_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_len_contains_iter (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_method_reset_mock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_method_type (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_method_wrapping (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_and_spec (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_and_spec_set (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_are_magic_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_fspath (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_isolated_between_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_mock_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magicmock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magicmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magicmock_del (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_matmul (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_nonzero (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_numeric (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_repr (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_setting_unsupported_magic_method (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok test_str (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok ---------------------------------------------------------------------- Ran 494 tests in 18.927s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-mock-4.0.3-1.oe1.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yJxmcL + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/share/licenses/python3-mock + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/share/licenses/python3-mock + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch/usr/share/licenses/python3-mock + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-mock = 4.0.3-1.oe1 python3-mock = 4.0.3-1.oe1 python3.7dist(mock) = 4.0.3 python3dist(mock) = 4.0.3 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.7 Obsoletes: python-mock < 4.0.3-1.oe1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch Wrote: /builddir/build/RPMS/python3-mock-4.0.3-1.oe1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Mf4jkO + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-mock-4.0.3-1.oe1.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0