[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.27 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] qb_builder-0 started "build python-mock.spec" at Mon Oct 31 22:44:10 UTC 2022. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_7.0_base_standard/python-mock-3.0.5-0/python-mock.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j26 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_7.0_base_standard/armv7l/RPMS --repository http://download.tizen.org/snapshots/tizen/7.0-base-tool/tizen-7.0-base-tool_20221029.2/repos/standard/packages/ --repository http://download.tizen.org/snapshots/tizen/7.0-base-tool/tizen-7.0-base-tool_20221029.2/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_7.0_base_standard/python-mock-3.0.5-0/python-mock.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.27/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.27/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_7.0_base_standard/armv7l/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/tizen/7.0-base-tool/tizen-7.0-base-tool_20221029.2/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/tizen/7.0-base-tool/tizen-7.0-base-tool_20221029.2/repos/standard/debug/ [ 3s] expanding package dependencies... [ 3s] copying qemu [ 4s] [ 4s] registering binfmt handlers for cross build [ 4s] write: File exists [ 4s] /proc/sys/fs/binfmt_misc/register: write failed [ 4s] /usr/lib/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 4s] [ 4s] /.build/qemu-reg: No such file or directory [ 4s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 4s] write: File exists [ 4s] /proc/sys/fs/binfmt_misc/register: write failed [ 4s] /usr/lib/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 4s] [ 4s] /usr/lib/build/qemu-reg: binfmt registration failed [ 5s] calculating packages to download... [ 22s] reordering...cycle: libsoftokn3 -> nss [ 22s] breaking dependency nss -> libsoftokn3 [ 22s] reordering done [ 26s] [1/109] keeping libmagic-data-5.41-1.29 [ 26s] [2/109] keeping setup-0.9-1.1 [ 26s] [3/109] keeping filesystem-3.1-1.1 [ 26s] [4/109] keeping glibc-2.30-1.14 [ 26s] [5/109] keeping libatomic-9.2.0-1.13 [ 26s] [6/109] keeping libgcc-9.2.0-1.13 [ 27s] [7/109] keeping bash-3.2.57-1.1 [ 27s] [8/109] keeping cpio-2.8-1.1 [ 27s] [9/109] keeping diffutils-3.3-1.1 [ 27s] [10/109] keeping findutils-4.3.8-1.37 [ 27s] [11/109] keeping gdbm-1.8.3-1.43 [ 27s] [12/109] keeping hostname-3.23-1.1 [ 27s] [13/109] keeping libattr-2.5.1-1.40 [ 27s] [14/109] keeping libblkid-2.37.4-1.1 [ 27s] [15/109] keeping libbz2-1.0.8-1.41 [ 27s] [16/109] keeping libcap-2.24-1.33 [ 27s] [17/109] keeping libfreebl3-3.34.1-1.23 [ 27s] [18/109] keeping libgfortran-9.2.0-1.13 [ 27s] [19/109] keeping libgomp-9.2.0-1.13 [ 27s] [20/109] keeping libitm-9.2.0-1.13 [ 27s] [21/109] keeping libltdl-2.4.6-1.29 [ 27s] [22/109] keeping liblua-5.1.5-1.12 [ 27s] [23/109] keeping liblzma-5.2.5-1.38 [ 27s] [24/109] keeping libopenssl11-1.1.1q-1.19 [ 27s] [25/109] keeping libpcre-8.45-1.2 [ 27s] [26/109] keeping libpopt-1.16-1.31 [ 27s] [27/109] cumulate libpython-2.7.18-1.10 [ 27s] [28/109] keeping libsmack-1.3.1-1.27 [ 27s] [29/109] keeping libsmartcols-2.37.4-1.1 [ 27s] [30/109] keeping libsqlite-3.39.0-1.33 [ 27s] [31/109] keeping libstdc++-9.2.0-1.13 [ 27s] [32/109] keeping libuuid-2.37.4-1.1 [ 27s] [33/109] keeping libzstd1-1.4.5-1.34 [ 27s] [34/109] keeping m4-1.4.19-1.1 [ 27s] [35/109] keeping net-tools-2.0_20121208git-1.1 [ 27s] [36/109] keeping nspr-4.12-1.31 [ 27s] [37/109] keeping patch-2.7.6-1.30 [ 27s] [38/109] keeping pkg-config-0.29.2-1.32 [ 27s] [39/109] keeping sed-4.1c-1.1 [ 27s] [40/109] keeping update-alternatives-1.20.5-1.1 [ 27s] [41/109] keeping which-2.17-1.1 [ 27s] [42/109] keeping zlib-1.2.11-1.40 [ 27s] [43/109] keeping build-compare-2015.04.28-1.11 [ 27s] [44/109] keeping libstdc++-devel-9.2.0-1.13 [ 27s] [45/109] keeping qemu-linux-user-x86_64-cross-5.2.0-1.1 [ 27s] [46/109] keeping terminfo-base-full-6.2-1.25 [ 27s] [47/109] keeping cpp-9.2.0-1.13 [ 27s] [48/109] keeping gcc-c++-9.2.0-1.13 [ 27s] [49/109] keeping binutils-2.33.1-1.23 [ 27s] [50/109] keeping coreutils-6.9-1.7 [ 27s] [51/109] cumulate db4-4.8.30.NC-1.38 [ 27s] [52/109] keeping gawk-3.1.5-1.1 [ 27s] [53/109] keeping grep-2.5.2-1.1 [ 27s] [54/109] keeping libacl-2.2.53-1.38 [ 27s] [55/109] keeping libcc1-9.2.0-1.13 [ 27s] [56/109] keeping libelf-0.178-1.29 [ 27s] [57/109] keeping libmount-2.37.4-1.1 [ 27s] [58/109] keeping libubsan-9.2.0-1.13 [ 27s] [59/109] keeping make-4.3-1.6 [ 27s] [60/109] keeping nss-certs-3.34.1-1.23 [ 27s] [61/109] keeping smack-1.3.1-1.27 [ 27s] [62/109] keeping bzip2-1.0.8-1.41 [ 27s] [63/109] keeping libfdisk-2.37.4-1.1 [ 27s] [64/109] keeping libmagic-5.41-1.29 [ 27s] [65/109] keeping libxml2-2.10.2-1.11 [ 27s] [66/109] keeping perl-5.34.0-1.18 [ 27s] [67/109] keeping xz-5.2.5-1.38 [ 27s] [68/109] keeping build-mkbaselibs-20120927-1.1 [ 27s] [69/109] keeping linux-glibc-devel-3.10-1.43 [ 27s] [70/109] keeping autoconf-2.71-1.52 [ 27s] [71/109] keeping file-5.41-1.29 [ 27s] [72/109] keeping glibc-locale-2.30-1.14 [ 27s] [73/109] keeping tar-1.17-1.1 [ 27s] [74/109] keeping gzip-1.3.12-1.33 [ 27s] [75/109] keeping libncurses6-6.2-1.25 [ 27s] [76/109] keeping pam-1.1.6-1.1 [ 27s] [77/109] keeping tzdata-2021e-1.1 [ 27s] [78/109] keeping libdw-0.178-1.29 [ 27s] [79/109] keeping libarchive-3.5.2-1.27 [ 27s] [80/109] keeping gcc-9.2.0-1.13 [ 27s] [81/109] keeping libncurses-6.2-1.25 [ 27s] [82/109] keeping glibc-devel-2.30-1.14 [ 27s] [83/109] keeping qemu-accel-x86_64-armv7l-0.4-2.1 [ 27s] [84/109] keeping automake-1.16.4-1.34 [ 27s] [85/109] keeping less-466-1.1 [ 27s] [86/109] keeping libreadline-5.2-1.14 [ 27s] [87/109] keeping libasm-0.178-1.29 [ 27s] [88/109] keeping build-20120927-1.1 [ 27s] [89/109] keeping libtool-2.4.6-1.29 [ 27s] [90/109] keeping elfutils-0.178-1.29 [ 27s] [91/109] cumulate python-2.7.18-1.10 [ 27s] [92/109] keeping util-linux-2.37.4-1.1 [ 28s] [93/109] cumulate python-argparse-1.4.0-0 [ 28s] [94/109] cumulate python-funcsigs-1.0.2-0 [ 28s] [95/109] cumulate python-pyparsing-2.2.0-1.1 [ 28s] [96/109] cumulate python-six-1.15.0-1.1 [ 28s] [97/109] cumulate python-appdirs-1.4.0-1.1 [ 28s] [98/109] cumulate python-xml-2.7.18-1.10 [ 28s] [99/109] keeping util-linux-su-2.37.4-1.1 [ 28s] [100/109] cumulate python-packaging-20.8-1.1 [ 28s] [101/109] cumulate python-setuptools-44.1.1-1.1 [ 28s] [102/109] cumulate python-pbr-5.5.1-0 [ 28s] [103/109] cumulate python-linecache2-1.0.0-0 [ 28s] [104/109] cumulate python-traceback2-1.4.0-0 [ 28s] [105/109] cumulate python-unittest2-1.1.0-0 [ 28s] [106/109] keeping nss-3.34.1-1.23 [ 28s] [107/109] keeping libsoftokn3-3.34.1-1.23 [ 28s] [108/109] keeping rpm-4.14.1.1-1.25 [ 28s] [109/109] keeping rpm-build-4.14.1.1-1.25 [ 28s] now installing cumulated packages [ 28s] Preparing... ######################################## [ 28s] Updating / installing... [ 29s] libpython-2.7.18-1.10 ######################################## [ 29s] db4-4.8.30.NC-1.38 ######################################## [ 30s] python-2.7.18-1.10 ######################################## [ 30s] python-six-1.15.0-1.1 ######################################## [ 30s] python-argparse-1.4.0-0 ######################################## [ 30s] python-pyparsing-2.2.0-1.1 ######################################## [ 30s] python-packaging-20.8-1.1 ######################################## [ 30s] python-appdirs-1.4.0-1.1 ######################################## [ 30s] python-xml-2.7.18-1.10 ######################################## [ 30s] python-setuptools-44.1.1-1.1 ######################################## [ 30s] python-pbr-5.5.1-0 ######################################## [ 30s] python-linecache2-1.0.0-0 ######################################## [ 30s] python-traceback2-1.4.0-0 ######################################## [ 31s] python-unittest2-1.1.0-0 ######################################## [ 31s] python-funcsigs-1.0.2-0 ######################################## [ 31s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.27/etc/nsswitch.conf... [ 31s] now finalizing build dir... [ 32s] ----------------------------------------------------------------- [ 32s] ----- building python-mock.spec (user abuild) [ 32s] ----------------------------------------------------------------- [ 32s] ----------------------------------------------------------------- [ 32s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j26' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/python-mock.spec [ 33s] Building target platforms: armv7l-tizen-linux [ 33s] Building for target armv7l-tizen-linux [ 33s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CTnmj4 [ 33s] + umask 022 [ 33s] + cd /home/abuild/rpmbuild/BUILD [ 33s] + cd /home/abuild/rpmbuild/BUILD [ 33s] + rm -rf mock-3.0.5 [ 33s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/mock-3.0.5.tar.gz [ 33s] + /bin/tar -xof - [ 33s] + STATUS=0 [ 33s] + '[' 0 -ne 0 ']' [ 33s] + cd mock-3.0.5 [ 33s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 33s] + rm mock/tests/__main__.py [ 33s] + rm mock/tests/testhelpers_py3.py [ 33s] + exit 0 [ 33s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qtzi94 [ 33s] + umask 022 [ 33s] + cd /home/abuild/rpmbuild/BUILD [ 33s] + cd mock-3.0.5 [ 33s] ++ uname -m [ 33s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 33s] + LANG=C [ 33s] + export LANG [ 33s] + unset DISPLAY [ 33s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 33s] + export CFLAGS [ 33s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 33s] + export CXXFLAGS [ 33s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 33s] + export FFLAGS [ 33s] + LDFLAGS= [ 33s] + export LDFLAGS [ 33s] + cp /home/abuild/rpmbuild/SOURCES/python-mock.manifest . [ 33s] + python setup.py build [ 35s] running build [ 35s] running build_py [ 35s] creating build [ 35s] creating build/lib [ 35s] creating build/lib/mock [ 35s] copying mock/mock.py -> build/lib/mock [ 35s] copying mock/__init__.py -> build/lib/mock [ 35s] + exit 0 [ 35s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NuMMq1 [ 35s] + umask 022 [ 35s] + cd /home/abuild/rpmbuild/BUILD [ 35s] + cd mock-3.0.5 [ 35s] + LANG=C [ 35s] + export LANG [ 35s] + unset DISPLAY [ 35s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm [ 35s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm [ 35s] + python setup.py install --prefix=/usr --root=/home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm [ 36s] running install [ 37s] running build [ 37s] running build_py [ 37s] running install_lib [ 37s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr [ 37s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib [ 37s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7 [ 37s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7/site-packages [ 37s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7/site-packages/mock [ 37s] copying build/lib/mock/mock.py -> /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7/site-packages/mock [ 37s] copying build/lib/mock/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7/site-packages/mock [ 37s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7/site-packages/mock/mock.py to mock.pyc [ 37s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7/site-packages/mock/__init__.py to __init__.pyc [ 37s] running install_egg_info [ 37s] running egg_info [ 37s] creating mock.egg-info [ 37s] writing requirements to mock.egg-info/requires.txt [ 37s] writing mock.egg-info/PKG-INFO [ 37s] writing top-level names to mock.egg-info/top_level.txt [ 37s] writing dependency_links to mock.egg-info/dependency_links.txt [ 37s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 37s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 37s] reading manifest template 'MANIFEST.in' [ 37s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 37s] Copying mock.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/lib/python2.7/site-packages/mock-3.0.5-py2.7.egg-info [ 37s] running install_scripts [ 37s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 3.0.5-0 --unique-debug-src-base python-mock-3.0.5-0.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/mock-3.0.5 [ 37s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-3.0.5/python-mock-debuginfo.manifest [ 37s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-3.0.5/python-mock-debugsource.manifest [ 37s] + /usr/lib/rpm/check-buildroot [ 37s] + /usr/lib/rpm//brp-compress [ 37s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 38s] + /usr/lib/rpm/brp-python-hardlink [ 38s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm [ 38s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.iJBPw2 [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd mock-3.0.5 [ 38s] + python setup.py test [ 40s] running test [ 40s] WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. [ 40s] running egg_info [ 40s] writing requirements to mock.egg-info/requires.txt [ 40s] writing mock.egg-info/PKG-INFO [ 40s] writing top-level names to mock.egg-info/top_level.txt [ 40s] writing dependency_links to mock.egg-info/dependency_links.txt [ 40s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 40s] reading manifest template 'MANIFEST.in' [ 40s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 40s] running build_ext [ 41s] test_attributes_and_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_bound_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_changing_magic_set_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_comparison (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_deleting_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_descriptor_from_class (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_dict_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_dir (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_division (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_divmod_and_rdivmod (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_hash (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_iterable_as_iter_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_len_contains_iter (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_method_reset_mock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_method_type (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_method_wrapping (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_methods_and_spec (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_methods_and_spec_set (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_methods_are_magic_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_methods_fspath (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_methods_isolated_between_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magic_mock_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magicmock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magicmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_magicmock_del (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_matmul (mock.tests.testmagicmethods.TestMockingMagicMethods) ... skipped '@ added in Python 3.5' [ 41s] test_non_default_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_nonzero (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_numeric (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_repr (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_setting_unsupported_magic_method (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_str (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test_unicode (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 41s] test__name__ (mock.tests.testmock.MockTest) ... ok [ 41s] test_adding_child_mock (mock.tests.testmock.MockTest) ... ok [ 41s] test_adding_return_value_mock (mock.tests.testmock.MockTest) ... ok [ 41s] test_all (mock.tests.testmock.MockTest) ... ok [ 41s] test_arg_lists (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_any_call (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_any_call_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_once (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_once_message (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_once_message_not_called (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_once_with (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_once_with_call_list (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_once_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_once_with_message (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_with (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_with_any (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_with_failure_message (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_with_message (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_called_with_method_spec (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_has_calls (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_has_calls_any_order (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_has_calls_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_not_called (mock.tests.testmock.MockTest) ... ok [ 41s] test_assert_not_called_message (mock.tests.testmock.MockTest) ... ok [ 42s] test_attach_mock (mock.tests.testmock.MockTest) ... ok [ 42s] test_attach_mock_return_value (mock.tests.testmock.MockTest) ... ok [ 42s] test_attribute_access_returns_mocks (mock.tests.testmock.MockTest) ... ok [ 42s] test_attribute_deletion (mock.tests.testmock.MockTest) ... ok [ 42s] test_attributes_have_name_and_parent_set (mock.tests.testmock.MockTest) ... ok [ 42s] test_autospec_side_effect (mock.tests.testmock.MockTest) ... ok [ 42s] test_autospec_side_effect_exception (mock.tests.testmock.MockTest) ... ok [ 42s] test_baseexceptional_side_effect (mock.tests.testmock.MockTest) ... ok [ 42s] test_call (mock.tests.testmock.MockTest) ... ok [ 42s] test_call_args_comparison (mock.tests.testmock.MockTest) ... ok [ 42s] test_call_args_two_tuple (mock.tests.testmock.MockTest) ... ok [ 42s] test_calls_equal_with_any (mock.tests.testmock.MockTest) ... ok [ 42s] test_change_return_value_via_delegate (mock.tests.testmock.MockTest) ... ok [ 42s] test_change_side_effect_via_delegate (mock.tests.testmock.MockTest) ... ok [ 42s] test_child_mock_call_equal (mock.tests.testmock.MockTest) ... ok [ 42s] test_class_assignable (mock.tests.testmock.MockTest) ... ok [ 42s] test_configure_mock (mock.tests.testmock.MockTest) ... ok [ 42s] test_constructor (mock.tests.testmock.MockTest) ... ok [ 42s] test_copy (mock.tests.testmock.MockTest) ... ok [ 42s] test_create_autospec_classmethod_and_staticmethod (mock.tests.testmock.MockTest) ... ok [ 42s] test_create_autospec_with_name (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_return_value (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_return_value_and_side_effect (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_return_value_and_side_effect2 (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_return_value_and_side_effect_default (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_side_effect_exception (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_side_effect_function (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_side_effect_iterable (mock.tests.testmock.MockTest) ... ok [ 42s] test_customize_wrapped_object_with_side_effect_iterable_with_default (mock.tests.testmock.MockTest) ... ok [ 42s] test_dir (mock.tests.testmock.MockTest) ... ok [ 42s] test_dir_does_not_include_deleted_attributes (mock.tests.testmock.MockTest) ... ok [ 42s] test_dir_from_spec (mock.tests.testmock.MockTest) ... ok [ 42s] test_exceptional_side_effect (mock.tests.testmock.MockTest) ... ok [ 42s] test_filter_dir (mock.tests.testmock.MockTest) ... ok [ 42s] test_from_spec (mock.tests.testmock.MockTest) ... ok [ 42s] test_isinstance_under_settrace (mock.tests.testmock.MockTest) ... ok [ 42s] test_magic_methods_mock_calls (mock.tests.testmock.MockTest) ... ok [ 42s] test_manager_mock (mock.tests.testmock.MockTest) ... ok [ 42s] test_method_calls_compare_easily (mock.tests.testmock.MockTest) ... ok [ 42s] test_method_calls_recorded (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_add_spec (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_add_spec_magic_methods (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_call_not_equal_leaf (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_call_not_equal_non_leaf (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_call_not_equal_non_leaf_attr (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_call_not_equal_non_leaf_call_versus_attr (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_call_not_equal_non_leaf_params_different (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_call_repr (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_call_repr_loop (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_calls (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_calls_contains (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_calls_create_autospec (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_does_not_raise_on_repeated_attribute_deletion (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_open_after_eof (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_open_alter_readline (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_open_dunder_iter_issue (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_open_reuse_issue_21750 (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_open_write (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_parents (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_raises_when_deleting_nonexistent_attribute (mock.tests.testmock.MockTest) ... ok [ 42s] test_mock_unsafe (mock.tests.testmock.MockTest) ... ok [ 42s] test_name_attribute_of_call (mock.tests.testmock.MockTest) ... ok [ 42s] test_only_allowed_methods_exist (mock.tests.testmock.MockTest) ... ok [ 42s] test_override_tuple_methods (mock.tests.testmock.MockTest) ... ok [ 42s] test_parent_attribute_of_call (mock.tests.testmock.MockTest) ... ok [ 42s] test_parent_propagation_with_create_autospec (mock.tests.testmock.MockTest) ... ok [ 42s] test_repr (mock.tests.testmock.MockTest) ... ok [ 42s] test_repr_with_spec (mock.tests.testmock.MockTest) ... ok [ 42s] test_reset_mock (mock.tests.testmock.MockTest) ... ok [ 42s] test_reset_mock_does_not_raise_on_attr_deletion (mock.tests.testmock.MockTest) ... ok [ 42s] test_reset_mock_on_mock_open_issue_18622 (mock.tests.testmock.MockTest) ... ok [ 42s] test_reset_mock_recursion (mock.tests.testmock.MockTest) ... ok [ 42s] test_reset_return (mock.tests.testmock.MockTest) ... ok [ 42s] test_reset_return_sideeffect (mock.tests.testmock.MockTest) ... ok [ 42s] test_reset_sideeffect (mock.tests.testmock.MockTest) ... ok [ 42s] test_return_value_in_constructor (mock.tests.testmock.MockTest) ... ok [ 42s] test_setting_attribute_with_spec_set (mock.tests.testmock.MockTest) ... ok [ 42s] test_setting_call (mock.tests.testmock.MockTest) ... ok [ 42s] test_side_effect (mock.tests.testmock.MockTest) ... ok [ 42s] test_side_effect_iterator (mock.tests.testmock.MockTest) ... ok [ 42s] test_side_effect_iterator_default (mock.tests.testmock.MockTest) ... ok [ 42s] test_side_effect_iterator_exceptions (mock.tests.testmock.MockTest) ... ok [ 42s] test_side_effect_setting_iterator (mock.tests.testmock.MockTest) ... ok [ 42s] test_sorted_call_signature (mock.tests.testmock.MockTest) ... ok [ 42s] test_spec_class (mock.tests.testmock.MockTest) ... ok [ 42s] test_spec_class_no_object_base (mock.tests.testmock.MockTest) ... ok [ 42s] test_spec_list_subclass (mock.tests.testmock.MockTest) ... ok [ 42s] test_spec_old_style_classes (mock.tests.testmock.MockTest) ... ok [ 42s] test_spec_set_old_style_classes (mock.tests.testmock.MockTest) ... ok [ 42s] test_subclass_with_properties (mock.tests.testmock.MockTest) ... ok [ 42s] test_subclassing (mock.tests.testmock.MockTest) ... ok [ 42s] test_wraps_attributes (mock.tests.testmock.MockTest) ... ok [ 42s] test_wraps_call_with_nondefault_return_value (mock.tests.testmock.MockTest) ... ok [ 42s] test_wraps_calls (mock.tests.testmock.MockTest) ... ok [ 42s] test_wraps_prevents_automatic_creation_of_mocks (mock.tests.testmock.MockTest) ... ok [ 42s] test_attributes (mock.tests.testcallable.TestCallable) ... ok [ 42s] test_create_autospec (mock.tests.testcallable.TestCallable) ... ok [ 42s] test_create_autospec_instance (mock.tests.testcallable.TestCallable) ... ok [ 42s] test_hierarchy (mock.tests.testcallable.TestCallable) ... ok [ 42s] test_non_callable (mock.tests.testcallable.TestCallable) ... ok [ 42s] test_patch_spec (mock.tests.testcallable.TestCallable) ... ok [ 43s] test_patch_spec_callable_class (mock.tests.testcallable.TestCallable) ... ok [ 43s] test_patch_spec_instance (mock.tests.testcallable.TestCallable) ... ok [ 43s] test_patch_spec_set (mock.tests.testcallable.TestCallable) ... ok [ 43s] test_patch_spec_set_instance (mock.tests.testcallable.TestCallable) ... ok [ 43s] test_subclasses (mock.tests.testcallable.TestCallable) ... ok [ 43s] testBases (mock.tests.testsentinel.SentinelTest) ... ok [ 43s] testCopy (mock.tests.testsentinel.SentinelTest) ... ok [ 43s] testDEFAULT (mock.tests.testsentinel.SentinelTest) ... ok [ 43s] testPickle (mock.tests.testsentinel.SentinelTest) ... ok [ 43s] testSentinelName (mock.tests.testsentinel.SentinelTest) ... ok [ 43s] testSentinels (mock.tests.testsentinel.SentinelTest) ... ok [ 43s] test_cant_uncache_sys (mock.tests.testsupport.TestUncache) ... ok [ 43s] test_uncache_non_existent (mock.tests.testsupport.TestUncache) ... ok [ 43s] test_attribute_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_attributes_return_more_mocks_by_default (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_call_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_call_on_defined_sealed_mock_succeeds (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_call_on_sealed_mock_fails (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_existing_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_existing_attributes_can_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_initialized_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_integration_with_spec_att_definition (mock.tests.testsealable.TestSealable) [ 43s] You are not restricted when using mock with spec ... ok [ 43s] test_integration_with_spec_method_definition (mock.tests.testsealable.TestSealable) [ 43s] You need to defin the methods, even if they are in the spec ... ok [ 43s] test_integration_with_spec_method_definition_respects_spec (mock.tests.testsealable.TestSealable) [ 43s] You cannot define methods out of the spec ... ok [ 43s] test_new_attributes_cannot_be_accessed_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_new_attributes_cannot_be_set_on_child_of_seal (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_new_attributes_cannot_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_sealed_exception_has_attribute_name (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_seals_dont_recurse_on_manual_attributes (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_seals_recurse_on_added_attributes (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_seals_recurse_on_magic_methods (mock.tests.testsealable.TestSealable) ... ok [ 43s] test_autospec (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_classmethod (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_function (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_inherits (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_keywords (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_name (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_staticmethod (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_with_new (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_autospec_with_object (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 43s] test_cant_set_kwargs_when_passing_a_mock (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_create_and_specs (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_dotted_but_module_not_loaded (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_falsey_spec (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_get_only_proxy (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_get_set_delete_proxy (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_invalid_target (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_mock_calls_with_patch (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_multiple_patchobject (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_multiple_specs (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_name_preserved (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_nested_patch_failure (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_nested_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_class_decorating (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_create (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_incompatible_with_autospec (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_incompatible_with_new (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_inherit_for_mocks (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_inherit_non_mock (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_keyword_arguments (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_patch (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_patch_object (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_new_callable_spec (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_not_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_object_lookup_is_quite_lazy (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_builtins_without_create (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_class_acts_with_spec_is_inherited (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_class_attribute (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_decorator_resolution (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_test_prefix (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_with_clear (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_with_container_object (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_with_container_object_and_clear (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_with_string (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_dict_with_unicode (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_imports_lazily (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_local (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_create (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_create_mocks (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_create_mocks_different_order (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_create_mocks_patcher (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_decorating_class (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_failure (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_new_callable (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_no_kwargs (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_spec_set (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_stacked_decorators (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_multiple_string_subclasses (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_nested_autospec_repr (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_object_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_object_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_propogrates_exc_on_exit (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_slots (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_spec_set (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_stopall (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_test_prefix (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_with_exception (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_with_spec (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_with_spec_mock_repr (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_with_static_methods (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patch_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_twice (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_with_default_mock (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_with_none (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_with_spec (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_patchobject_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_single_patchobject (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_spec_set_inherit (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_spec_set_true (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_special_attrs (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_specs_false_instead_of_none (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_stop_idempotent (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_stop_without_start (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_stopall_lifo (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_tracebacks (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_wrapped_patch (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_wrapped_patch_dict (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_wrapped_patch_multiple (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_wrapped_patch_object (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_wrapped_several_times_patch (mock.tests.testpatch.PatchTest) ... ok [ 44s] test_dunder_iter_data (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_explicit_mock (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_interleaved_reads (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_mock_open (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_mock_open_context_manager (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_mock_open_context_manager_multiple_times (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_mock_open_read_with_argument (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_overriding_return_values (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_read_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_read_data (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_readline_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_readline_data (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_readlines_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 44s] test_readlines_data (mock.tests.testwith.TestMockOpen) ... ok [ 44s] testContextManagerMocking (mock.tests.testwith.WithTest) ... ok [ 44s] test_context_manager_with_magic_mock (mock.tests.testwith.WithTest) ... ok [ 44s] test_dict_context_manager (mock.tests.testwith.WithTest) ... ok [ 44s] test_double_patch_instance_method (mock.tests.testwith.WithTest) ... ok [ 44s] test_patch_object_with_statement (mock.tests.testwith.WithTest) ... ok [ 44s] test_with_statement (mock.tests.testwith.WithTest) ... ok [ 44s] test_with_statement_as (mock.tests.testwith.WithTest) ... ok [ 44s] test_with_statement_exception (mock.tests.testwith.WithTest) ... ok [ 44s] test_with_statement_imbricated (mock.tests.testwith.WithTest) ... ok [ 45s] test_with_statement_nested (mock.tests.testwith.WithTest) ... ok [ 45s] test_with_statement_same_attribute (mock.tests.testwith.WithTest) ... ok [ 45s] test_with_statement_specified (mock.tests.testwith.WithTest) ... ok [ 45s] test_any (mock.tests.testhelpers.AnyTest) ... ok [ 45s] test_any_and_datetime (mock.tests.testhelpers.AnyTest) ... ok [ 45s] test_any_mock_calls_comparison_order (mock.tests.testhelpers.AnyTest) ... ok [ 45s] test_repr (mock.tests.testhelpers.AnyTest) ... ok [ 45s] test_attribute_call (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_any (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_list (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_ne (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_non_tuples (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_with_args (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_with_args_call_empty_name (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_with_call (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_call_with_name (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_empty__Call (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_extended_call (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_extended_not_equal (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_named_call_with_args (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_named_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_named_empty_call (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_nested_calls_not_equal (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_repr (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_two_args_call (mock.tests.testhelpers.CallTest) ... ok [ 45s] test_attributes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_data_descriptor (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_functions_with_self_in_odd_place (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_getattr_partial_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_on_bound_builtin_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_property (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_slots (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_autospec_socket (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_basic (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_builtin_functions_types (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_builtins (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_class_with_no_init (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_create_autospec_keyword_arguments (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_create_autospec_keyword_only_arguments (mock.tests.testhelpers.SpecSignatureTest) ... skipped 'Keyword only arguments Python 3 specific' [ 45s] test_create_autospec_none (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 45s] test_create_autospec_return_value (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_descriptors (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_function_as_instance_attribute (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_inherit (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_magic_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_method_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_mocking_unbound_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_old_style_class_with_no_init (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_old_style_classes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_recursive (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_signature_callable (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_signature_class (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_signature_noncallable (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_signature_old_style_class (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_skip_attributeerrors (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_as_list (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_function_assert_any_call (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_function_assert_has_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_function_has_identifier_name (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_function_no_name (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_function_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_has_descriptor_returning_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_has_function_not_in_bases (mock.tests.testhelpers.SpecSignatureTest) ... skipped "object.__dir__ doesn't exist in Python 2" [ 46s] test_spec_inheritance_for_classes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_inspect_signature (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_spec_set (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 46s] test_args_list_contains_call_list (mock.tests.testhelpers.TestCallList) ... ok [ 46s] test_call_list_str (mock.tests.testhelpers.TestCallList) ... ok [ 46s] test_call_list_unicode (mock.tests.testhelpers.TestCallList) ... ok [ 46s] test_propertymock (mock.tests.testhelpers.TestCallList) ... ok [ 46s] test_propertymock_returnvalue (mock.tests.testhelpers.TestCallList) ... ok [ 46s] test_call_magic_method (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 46s] test_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 46s] test_non_callable_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 46s] test_non_callable_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 46s] test_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 46s] test_type (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 46s] [ 46s] ---------------------------------------------------------------------- [ 46s] Ran 405 tests in 5.715s [ 46s] [ 46s] OK (skipped=3) [ 47s] + exit 0 [ 47s] Processing files: python-mock-3.0.5-0.noarch [ 47s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 47s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 47s] [ 47s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QlwjL3 [ 47s] + umask 022 [ 47s] + cd /home/abuild/rpmbuild/BUILD [ 47s] + cd mock-3.0.5 [ 47s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/share/licenses/python-mock [ 47s] + export LC_ALL=C [ 47s] + LC_ALL=C [ 47s] + export LICENSEDIR [ 47s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/share/licenses/python-mock [ 47s] + cp -pr LICENSE.txt /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm/usr/share/licenses/python-mock [ 47s] + exit 0 [ 47s] Provides: python-mock = 3.0.5-0 [ 47s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 47s] Requires: python(abi) = 2.7 [ 47s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm [ 47s] Wrote: /home/abuild/rpmbuild/SRPMS/python-mock-3.0.5-0.src.rpm [ 47s] Wrote: /home/abuild/rpmbuild/RPMS/noarch/python-mock-3.0.5-0.noarch.rpm [ 47s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OgTE94 [ 47s] + umask 022 [ 47s] + cd /home/abuild/rpmbuild/BUILD [ 47s] + cd mock-3.0.5 [ 47s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-0.arm [ 47s] + exit 0 [ 47s] ... checking for files with abuild user/group [ 48s] ... creating baselibs [ 48s] [ 48s] qb_builder-0 finished "build python-mock.spec" at Mon Oct 31 22:44:58 UTC 2022. [ 48s]