Mock Version: 2.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python2-more-itertools.spec'], chrootPath='/var/lib/mock/1298615-epel-8-x86_64-1583746707.121774/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kh6z7j_:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kh6z7j_:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ed7772bba049450684a6152943474138', '-D', '/var/lib/mock/1298615-epel-8-x86_64-1583746707.121774/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kh6z7j_:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python2-more-itertools.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python2-more-itertools-5.0.0-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python2-more-itertools.spec'], chrootPath='/var/lib/mock/1298615-epel-8-x86_64-1583746707.121774/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kh6z7j_:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kh6z7j_:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd89f36bbf7dd4324a33cb7e38017f14a', '-D', '/var/lib/mock/1298615-epel-8-x86_64-1583746707.121774/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kh6z7j_:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python2-more-itertools.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iI6RiM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf more-itertools-5.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/more-itertools-5.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd more-itertools-5.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yFOdlo + umask 022 + cd /builddir/build/BUILD + cd more-itertools-5.0.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/more_itertools copying more_itertools/more.py -> build/lib/more_itertools copying more_itertools/__init__.py -> build/lib/more_itertools copying more_itertools/recipes.py -> build/lib/more_itertools creating build/lib/more_itertools/tests copying more_itertools/tests/test_recipes.py -> build/lib/more_itertools/tests copying more_itertools/tests/test_more.py -> build/lib/more_itertools/tests copying more_itertools/tests/__init__.py -> build/lib/more_itertools/tests running egg_info writing requirements to more_itertools.egg-info/requires.txt writing more_itertools.egg-info/PKG-INFO writing top-level names to more_itertools.egg-info/top_level.txt writing dependency_links to more_itertools.egg-info/dependency_links.txt reading manifest file 'more_itertools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'fabfile.py' writing manifest file 'more_itertools.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aDK6k3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64 + cd more-itertools-5.0.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr creating /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools creating /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests copying build/lib/more_itertools/tests/__init__.py -> /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests copying build/lib/more_itertools/tests/test_more.py -> /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests copying build/lib/more_itertools/tests/test_recipes.py -> /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests copying build/lib/more_itertools/recipes.py -> /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools copying build/lib/more_itertools/__init__.py -> /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools copying build/lib/more_itertools/more.py -> /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools byte-compiling /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests/test_more.py to test_more.pyc byte-compiling /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests/test_recipes.py to test_recipes.pyc byte-compiling /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/recipes.py to recipes.pyc byte-compiling /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/more.py to more.pyc writing byte-compilation script '/tmp/tmpCOtypI.py' /usr/bin/python2 -O /tmp/tmpCOtypI.py removing /tmp/tmpCOtypI.py running install_egg_info running egg_info writing requirements to more_itertools.egg-info/requires.txt writing more_itertools.egg-info/PKG-INFO writing top-level names to more_itertools.egg-info/top_level.txt writing dependency_links to more_itertools.egg-info/dependency_links.txt reading manifest file 'more_itertools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'fabfile.py' writing manifest file 'more_itertools.egg-info/SOURCES.txt' Copying more_itertools.egg-info to /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools-5.0.0-py2.7.egg-info running install_scripts + rm -r /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7/site-packages/more_itertools/tests + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 5.0.0-2.el8 --unique-debug-suffix -5.0.0-2.el8.x86_64 --unique-debug-src-base python2-more-itertools-5.0.0-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/more-itertools-5.0.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IAovtJ + umask 022 + cd /builddir/build/BUILD + cd more-itertools-5.0.0 + /usr/bin/python2 setup.py test running test running egg_info writing requirements to more_itertools.egg-info/requires.txt writing more_itertools.egg-info/PKG-INFO writing top-level names to more_itertools.egg-info/top_level.txt writing dependency_links to more_itertools.egg-info/dependency_links.txt reading manifest file 'more_itertools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'fabfile.py' writing manifest file 'more_itertools.egg-info/SOURCES.txt' running build_ext test_bogus_function (more_itertools.tests.test_recipes.AccumulateTests) Test accumulate with an invalid function ... ok test_custom_function (more_itertools.tests.test_recipes.AccumulateTests) Test accumulate with a custom function ... ok test_default (more_itertools.tests.test_recipes.AccumulateTests) Test accumulate with the default function (addition) ... ok test_empty (more_itertools.tests.test_recipes.AccumulateTests) Test that an empty input returns an empty output ... ok test_empty (more_itertools.tests.test_recipes.AllEqualTests) Return True if the iterable is empty ... ok test_false (more_itertools.tests.test_recipes.AllEqualTests) Not everything is equal ... ok test_one (more_itertools.tests.test_recipes.AllEqualTests) Return True if the iterable is singular ... ok test_tricky (more_itertools.tests.test_recipes.AllEqualTests) Not everything is identical, but everything is equal ... ok test_true (more_itertools.tests.test_recipes.AllEqualTests) Everything is equal ... ok test_negative_consume (more_itertools.tests.test_recipes.ConsumeTests) Check that negative consumsion throws an error ... ok test_null_consume (more_itertools.tests.test_recipes.ConsumeTests) Check the null case ... ok test_sanity (more_itertools.tests.test_recipes.ConsumeTests) Test basic functionality ... ok test_total_consume (more_itertools.tests.test_recipes.ConsumeTests) Check that iterator is totally consumed by default ... ok test_happy_path (more_itertools.tests.test_recipes.DotproductTests) simple dotproduct example ... ok test_default (more_itertools.tests.test_recipes.FirstTrueTests) Test with a default keyword ... ok test_nothing_true (more_itertools.tests.test_recipes.FirstTrueTests) Test default return value. ... ok test_pred (more_itertools.tests.test_recipes.FirstTrueTests) Test with a custom predicate ... ok test_something_true (more_itertools.tests.test_recipes.FirstTrueTests) Test with no keywords ... ok test_basic_usage (more_itertools.tests.test_recipes.FlattenTests) ensure list of lists is flattened one level ... ok test_single_level (more_itertools.tests.test_recipes.FlattenTests) ensure list of lists is flattened only one level ... ok test_even (more_itertools.tests.test_recipes.GrouperTests) Test when group size divides evenly into the length of ... ok test_fill_value (more_itertools.tests.test_recipes.GrouperTests) Test that the fill value is used to pad the final group ... ok test_odd (more_itertools.tests.test_recipes.GrouperTests) Test when group size does not divide evenly into the length of the ... ok test_exact_exception (more_itertools.tests.test_recipes.IterExceptTests) ensure the exact specified exception is caught ... ok test_first (more_itertools.tests.test_recipes.IterExceptTests) ensure first is run before the function ... ok test_generic_exception (more_itertools.tests.test_recipes.IterExceptTests) ensure the generic exception can be caught ... ok test_uncaught_exception_is_raised (more_itertools.tests.test_recipes.IterExceptTests) ensure a non-specified exception is raised ... ok test_happy_path (more_itertools.tests.test_recipes.NcyclesTests) cycle a sequence three times ... ok test_null_case (more_itertools.tests.test_recipes.NcyclesTests) asking for 0 cycles should return an empty iterator ... ok test_pathalogical_case (more_itertools.tests.test_recipes.NcyclesTests) asking for negative cycles should return an empty iterator ... ok test_basic (more_itertools.tests.test_recipes.NthCombinationTests) ... ok test_invalid_index (more_itertools.tests.test_recipes.NthCombinationTests) ... ok test_invalid_r (more_itertools.tests.test_recipes.NthCombinationTests) ... ok test_long (more_itertools.tests.test_recipes.NthCombinationTests) ... ok test_basic (more_itertools.tests.test_recipes.NthTests) Make sure the nth item is returned ... ok test_default (more_itertools.tests.test_recipes.NthTests) Ensure a default value is returned when nth item not found ... ok test_negative_item_raises (more_itertools.tests.test_recipes.NthTests) Ensure asking for a negative item raises an exception ... ok test_happy_path (more_itertools.tests.test_recipes.PadnoneTests) wrapper iterator should return None indefinitely ... ok test_base_case (more_itertools.tests.test_recipes.PairwiseTests) ensure an iterable will return pairwise ... ok test_short_case (more_itertools.tests.test_recipes.PairwiseTests) ensure an empty iterator if there's not enough values to pair ... ok test_arbitrary (more_itertools.tests.test_recipes.PartitionTests) Test when pred() returns an integer ... ok test_bool (more_itertools.tests.test_recipes.PartitionTests) Test when pred() returns a boolean ... ok test_combinatorics (more_itertools.tests.test_recipes.PowersetTests) Ensure a proper enumeration ... ok test_basic (more_itertools.tests.test_recipes.PrependTests) ... ok test_multiple (more_itertools.tests.test_recipes.PrependTests) ... ok test_custom_predicate (more_itertools.tests.test_recipes.QuantifyTests) Ensure non-default predicates return as expected ... ok test_happy_path (more_itertools.tests.test_recipes.QuantifyTests) Make sure True count is returned ... ok test_no_replacement (more_itertools.tests.test_recipes.RandomCombinationTests) ensure that elements are sampled without replacement ... ok test_pseudorandomness (more_itertools.tests.test_recipes.RandomCombinationTests) ensure different subsets of the iterable get returned over many ... ok test_pseudorandomness (more_itertools.tests.test_recipes.RandomCombinationWithReplacementTests) ensure different subsets of the iterable get returned over many ... ok test_replacement (more_itertools.tests.test_recipes.RandomCombinationWithReplacementTests) ensure that elements are sampled with replacement ... ok test_full_permutation (more_itertools.tests.test_recipes.RandomPermutationTests) ensure every item from the iterable is returned in a new ordering ... ok test_partial_permutation (more_itertools.tests.test_recipes.RandomPermutationTests) ensure all returned items are from the iterable, that the returned ... ok test_list_with_repeat (more_itertools.tests.test_recipes.RandomProductTests) ensure multiple items are chosen, and that they appear to be chosen ... ok test_simple_lists (more_itertools.tests.test_recipes.RandomProductTests) Ensure that one item is chosen from each list in each pair. ... ok test_added_arguments (more_itertools.tests.test_recipes.RepeatfuncTests) ensure arguments are applied to the function ... ok test_finite_repeat (more_itertools.tests.test_recipes.RepeatfuncTests) ensure limited repeat when times is provided ... ok test_null_times (more_itertools.tests.test_recipes.RepeatfuncTests) repeat 0 should return an empty iterator ... ok test_simple_repeat (more_itertools.tests.test_recipes.RepeatfuncTests) test simple repeated functions ... ok test_even_groups (more_itertools.tests.test_recipes.RoundrobinTests) Ensure ordered output from evenly populated iterables ... ok test_uneven_groups (more_itertools.tests.test_recipes.RoundrobinTests) Ensure ordered output from unevenly populated iterables ... ok test_count (more_itertools.tests.test_recipes.TabulateTests) Ensure tabulate accepts specific count ... ok test_simple_tabulate (more_itertools.tests.test_recipes.TabulateTests) Test the happy path ... ok test_equal (more_itertools.tests.test_recipes.TailTests) Length of iterable is equal to the requested tail ... ok test_greater (more_itertools.tests.test_recipes.TailTests) Length of iterable is greater than requested tail ... ok test_less (more_itertools.tests.test_recipes.TailTests) Length of iterable is less than requested tail ... ok test_negative_take (more_itertools.tests.test_recipes.TakeTests) Make sure taking negative items results in a ValueError ... ok test_null_take (more_itertools.tests.test_recipes.TakeTests) Check the null case ... ok test_simple_take (more_itertools.tests.test_recipes.TakeTests) Test basic usage ... ok test_take_too_much (more_itertools.tests.test_recipes.TakeTests) Taking more than an iterator has remaining should return what the ... ok test_custom_key (more_itertools.tests.test_recipes.UniqueEverseenTests) ensure the custom key comparison works ... ok test_everseen (more_itertools.tests.test_recipes.UniqueEverseenTests) ensure duplicate elements are ignored ... ok test_unhashable (more_itertools.tests.test_recipes.UniqueEverseenTests) ensure things work for unhashable items ... ok test_unhashable_key (more_itertools.tests.test_recipes.UniqueEverseenTests) ensure things work for unhashable items with a custom key ... ok test_custom_key (more_itertools.tests.test_recipes.UniqueJustseenTests) ensure the custom key comparison works ... ok test_justseen (more_itertools.tests.test_recipes.UniqueJustseenTests) ensure only last item is remembered ... ok accumulate (more_itertools.recipes) Doctest: more_itertools.recipes.accumulate ... ok all_equal (more_itertools.recipes) Doctest: more_itertools.recipes.all_equal ... ok consume (more_itertools.recipes) Doctest: more_itertools.recipes.consume ... ok dotproduct (more_itertools.recipes) Doctest: more_itertools.recipes.dotproduct ... ok first_true (more_itertools.recipes) Doctest: more_itertools.recipes.first_true ... ok flatten (more_itertools.recipes) Doctest: more_itertools.recipes.flatten ... ok grouper (more_itertools.recipes) Doctest: more_itertools.recipes.grouper ... ok iter_except (more_itertools.recipes) Doctest: more_itertools.recipes.iter_except ... ok ncycles (more_itertools.recipes) Doctest: more_itertools.recipes.ncycles ... ok nth (more_itertools.recipes) Doctest: more_itertools.recipes.nth ... ok padnone (more_itertools.recipes) Doctest: more_itertools.recipes.padnone ... ok pairwise (more_itertools.recipes) Doctest: more_itertools.recipes.pairwise ... ok partition (more_itertools.recipes) Doctest: more_itertools.recipes.partition ... ok powerset (more_itertools.recipes) Doctest: more_itertools.recipes.powerset ... ok prepend (more_itertools.recipes) Doctest: more_itertools.recipes.prepend ... ok quantify (more_itertools.recipes) Doctest: more_itertools.recipes.quantify ... ok random_combination (more_itertools.recipes) Doctest: more_itertools.recipes.random_combination ... ok random_combination_with_replacement (more_itertools.recipes) Doctest: more_itertools.recipes.random_combination_with_replacement ... ok random_permutation (more_itertools.recipes) Doctest: more_itertools.recipes.random_permutation ... ok random_product (more_itertools.recipes) Doctest: more_itertools.recipes.random_product ... ok repeatfunc (more_itertools.recipes) Doctest: more_itertools.recipes.repeatfunc ... ok roundrobin (more_itertools.recipes) Doctest: more_itertools.recipes.roundrobin ... ok tabulate (more_itertools.recipes) Doctest: more_itertools.recipes.tabulate ... ok tail (more_itertools.recipes) Doctest: more_itertools.recipes.tail ... ok take (more_itertools.recipes) Doctest: more_itertools.recipes.take ... ok unique_everseen (more_itertools.recipes) Doctest: more_itertools.recipes.unique_everseen ... ok unique_justseen (more_itertools.recipes) Doctest: more_itertools.recipes.unique_justseen ... ok test_call_once (more_itertools.tests.test_more.AdjacentTests) Test that the predicate is only called once per item. ... ok test_consecutive_true (more_itertools.tests.test_more.AdjacentTests) Test that when the predicate matches multiple consecutive elements ... ok test_distance (more_itertools.tests.test_more.AdjacentTests) ... ok test_empty_iterable (more_itertools.tests.test_more.AdjacentTests) ... ok test_grouping (more_itertools.tests.test_more.AdjacentTests) Test interaction of adjacent() with groupby_transform() ... ok test_large_distance (more_itertools.tests.test_more.AdjacentTests) Test distance larger than the length of the iterable ... ok test_length_one (more_itertools.tests.test_more.AdjacentTests) ... ok test_negative_distance (more_itertools.tests.test_more.AdjacentTests) Test that adjacent() raises an error with negative distance ... ok test_typical (more_itertools.tests.test_more.AdjacentTests) ... ok test_zero_distance (more_itertools.tests.test_more.AdjacentTests) Test that adjacent() reduces to zip+map when distance is 0 ... ok test_nonseq_reversed (more_itertools.tests.test_more.AlwaysReversibleTests) ... ok test_regular_reversed (more_itertools.tests.test_more.AlwaysReversibleTests) ... ok test_basic (more_itertools.tests.test_more.BucketTests) ... ok test_in (more_itertools.tests.test_more.BucketTests) ... ok test_validator (more_itertools.tests.test_more.BucketTests) ... ok test_even (more_itertools.tests.test_more.ChunkedTests) Test when ``n`` divides evenly into the length of the iterable. ... ok test_odd (more_itertools.tests.test_more.ChunkedTests) Test when ``n`` does not divide evenly into the length of the ... ok test_duplicates (more_itertools.tests.test_more.CircularShiftsTests) ... ok test_empty (more_itertools.tests.test_more.CircularShiftsTests) ... ok test_simple_circular_shifts (more_itertools.tests.test_more.CircularShiftsTests) ... ok test_alias (more_itertools.tests.test_more.CollateTests) ... ok test_default (more_itertools.tests.test_more.CollateTests) Test with the default `key` function. ... ok test_empty (more_itertools.tests.test_more.CollateTests) Be nice if passed an empty list of iterables. ... ok test_key (more_itertools.tests.test_more.CollateTests) Test using a custom `key` function. ... ok test_one (more_itertools.tests.test_more.CollateTests) Work when only 1 iterable is passed. ... ok test_reverse (more_itertools.tests.test_more.CollateTests) Test the `reverse` kwarg. ... ok test_custom_ordering (more_itertools.tests.test_more.ConsecutiveGroupsTest) ... ok test_exotic_ordering (more_itertools.tests.test_more.ConsecutiveGroupsTest) ... ok test_numbers (more_itertools.tests.test_more.ConsecutiveGroupsTest) ... ok test_consumer (more_itertools.tests.test_more.ConsumerTests) ... ok test_basic (more_itertools.tests.test_more.CountCycleTests) ... ok test_empty (more_itertools.tests.test_more.CountCycleTests) ... ok test_negative (more_itertools.tests.test_more.CountCycleTests) ... ok test_custom (more_itertools.tests.test_more.DifferenceTest) ... ok test_empty (more_itertools.tests.test_more.DifferenceTest) ... ok test_normal (more_itertools.tests.test_more.DifferenceTest) ... ok test_one (more_itertools.tests.test_more.DifferenceTest) ... ok test_roundtrip (more_itertools.tests.test_more.DifferenceTest) ... ok test_distinct_permutations (more_itertools.tests.test_more.DistinctPermutationsTests) Make sure the output for ``distinct_permutations()`` is the same as ... ok test_other_iterables (more_itertools.tests.test_more.DistinctPermutationsTests) Make sure ``distinct_permutations()`` accepts a different type of ... ok test_basic (more_itertools.tests.test_more.DistributeTest) ... ok test_invalid_n (more_itertools.tests.test_more.DistributeTest) ... ok test_large_n (more_itertools.tests.test_more.DistributeTest) ... ok test_basic (more_itertools.tests.test_more.DivideTest) ... ok test_invalid_n (more_itertools.tests.test_more.DivideTest) ... ok test_large_n (more_itertools.tests.test_more.DivideTest) ... ok test_empty (more_itertools.tests.test_more.ExactlyNTests) Return ``True`` if the iterable is empty and ``n`` is 0 ... ok test_false (more_itertools.tests.test_more.ExactlyNTests) Iterable does not have ``n`` ``True`` elements ... ok test_true (more_itertools.tests.test_more.ExactlyNTests) Iterable has ``n`` ``True`` elements ... ok test_default (more_itertools.tests.test_more.FirstTests) It should return the provided default arg for empty iterables. ... ok test_empty_stop_iteration (more_itertools.tests.test_more.FirstTests) It should raise StopIteration for empty iterables. ... ok test_many (more_itertools.tests.test_more.FirstTests) Test that it works on many-item iterables. ... ok test_one (more_itertools.tests.test_more.FirstTests) Test that it doesn't raise StopIteration prematurely. ... ok test_default_funcs (more_itertools.tests.test_more.GroupByTransformTests) Test that groupby_transform() with default args mimics groupby() ... ok test_no_valuefunc (more_itertools.tests.test_more.GroupByTransformTests) ... ok test_valuefunc (more_itertools.tests.test_more.GroupByTransformTests) ... ok test_ilen (more_itertools.tests.test_more.IlenTests) Sanity-checks for ``ilen()``. ... ok test_even (more_itertools.tests.test_more.InterleaveLongestTests) ... ok test_mixed_types (more_itertools.tests.test_more.InterleaveLongestTests) ... ok test_short (more_itertools.tests.test_more.InterleaveLongestTests) ... ok test_even (more_itertools.tests.test_more.InterleaveTests) ... ok test_mixed_types (more_itertools.tests.test_more.InterleaveTests) ... ok test_short (more_itertools.tests.test_more.InterleaveTests) ... ok test_even (more_itertools.tests.test_more.IntersperseTest) ... ok test_n (more_itertools.tests.test_more.IntersperseTest) ... ok test_n_zero (more_itertools.tests.test_more.IntersperseTest) ... ok test_nested (more_itertools.tests.test_more.IntersperseTest) ... ok test_not_iterable (more_itertools.tests.test_more.IntersperseTest) ... ok test_odd (more_itertools.tests.test_more.IntersperseTest) ... ok test_all (more_itertools.tests.test_more.IsliceExtendedTests) ... ok test_zero_step (more_itertools.tests.test_more.IsliceExtendedTests) ... ok test_customrange (more_itertools.tests.test_more.LastTests) It should work on custom class where [] raises AttributeError. ... ok test_default_nonsliceable (more_itertools.tests.test_more.LastTests) It should return the provided default arg for empty non-slice-able ... ok test_default_sliceable (more_itertools.tests.test_more.LastTests) It should return the provided default arg for empty slice-able ... ok test_dict (more_itertools.tests.test_more.LastTests) last(dic) and last(dic.keys()) should return same result. ... ok test_empty_stop_iteration_nonsliceable (more_itertools.tests.test_more.LastTests) It should raise ValueError for empty non-slice-able iterables. ... ok test_empty_stop_iteration_sliceable (more_itertools.tests.test_more.LastTests) It should raise ValueError for empty slice-able iterables. ... ok test_many_nonsliceable (more_itertools.tests.test_more.LastTests) Test that it works on many-item non-slice-able iterables. ... ok test_many_sliceable (more_itertools.tests.test_more.LastTests) Test that it works on many-item slice-able iterables. ... ok test_one_nonsliceable (more_itertools.tests.test_more.LastTests) Test that it doesn't raise StopIteration prematurely. ... ok test_one_sliceable (more_itertools.tests.test_more.LastTests) Test that it doesn't raise StopIteration prematurely. ... ok test_ordereddict (more_itertools.tests.test_more.LastTests) last(dic) should return the last key. ... ok test_custom_pred (more_itertools.tests.test_more.LocateTests) ... ok test_default_pred (more_itertools.tests.test_more.LocateTests) ... ok test_no_matches (more_itertools.tests.test_more.LocateTests) ... ok test_window_size (more_itertools.tests.test_more.LocateTests) ... ok test_window_size_large (more_itertools.tests.test_more.LocateTests) ... ok test_window_size_zero (more_itertools.tests.test_more.LocateTests) ... ok test_basic (more_itertools.tests.test_more.MakeDecoratorTests) ... ok test_result_index (more_itertools.tests.test_more.MakeDecoratorTests) ... ok test_wrap_class (more_itertools.tests.test_more.MakeDecoratorTests) ... ok test_default (more_itertools.tests.test_more.MapReduceTests) ... ok test_reducefunc (more_itertools.tests.test_more.MapReduceTests) ... ok test_ret (more_itertools.tests.test_more.MapReduceTests) ... ok test_valuefunc (more_itertools.tests.test_more.MapReduceTests) ... ok test_arg_count (more_itertools.tests.test_more.NumericRangeTests) ... ok test_basic (more_itertools.tests.test_more.NumericRangeTests) ... ok test_zero_step (more_itertools.tests.test_more.NumericRangeTests) ... ok test_basic (more_itertools.tests.test_more.OneTests) ... ok test_too_long (more_itertools.tests.test_more.OneTests) ... ok test_too_short (more_itertools.tests.test_more.OneTests) ... ok test_invalid_n (more_itertools.tests.test_more.PaddedTest) ... ok test_next_multiple (more_itertools.tests.test_more.PaddedTest) ... ok test_no_n (more_itertools.tests.test_more.PaddedTest) ... ok test_valid_n (more_itertools.tests.test_more.PaddedTest) ... ok test_empty (more_itertools.tests.test_more.PeekableTests) Tests prepending in front of an empty iterable ... ok test_indexing (more_itertools.tests.test_more.PeekableTests) ... ok test_multi_prepend (more_itertools.tests.test_more.PeekableTests) Tests prepending multiple items and getting them in proper order ... ok test_multi_prepend_peek (more_itertools.tests.test_more.PeekableTests) Tests prepending multiple elements and getting them in reverse order ... ok test_passthrough (more_itertools.tests.test_more.PeekableTests) Iterating a peekable without using ``peek()`` or ``prepend()`` ... ok test_peek_default (more_itertools.tests.test_more.PeekableTests) Make sure passing a default into ``peek()`` works. ... ok test_prepend (more_itertools.tests.test_more.PeekableTests) Tests intersperesed ``prepend()`` and ``next()`` calls ... ok test_prepend_after_stop (more_itertools.tests.test_more.PeekableTests) Test resuming iteration after a previous exhaustion ... ok test_prepend_indexing (more_itertools.tests.test_more.PeekableTests) Tests interaction between prepending and indexing ... ok test_prepend_iterable (more_itertools.tests.test_more.PeekableTests) Tests prepending from an iterable ... ok test_prepend_many (more_itertools.tests.test_more.PeekableTests) Tests that prepending a huge number of elements works ... ok test_prepend_reversed (more_itertools.tests.test_more.PeekableTests) Tests prepending from a reversed iterable ... ok test_prepend_slicing (more_itertools.tests.test_more.PeekableTests) Tests interaction between prepending and slicing ... ok test_prepend_truthiness (more_itertools.tests.test_more.PeekableTests) Tests that ``__bool__()`` or ``__nonzero__()`` works properly ... ok test_simple_peeking (more_itertools.tests.test_more.PeekableTests) Make sure ``next`` and ``peek`` advance and don't advance the ... ok test_slicing (more_itertools.tests.test_more.PeekableTests) Slicing the peekable shouldn't advance the iterator. ... ok test_slicing_error (more_itertools.tests.test_more.PeekableTests) ... ok test_slicing_reset (more_itertools.tests.test_more.PeekableTests) Test slicing on a fresh iterable each time ... ok test_truthiness (more_itertools.tests.test_more.PeekableTests) Make sure a ``peekable`` tests true iff there are items remaining in ... ok test_basic (more_itertools.tests.test_more.ReplaceTests) ... ok test_count (more_itertools.tests.test_more.ReplaceTests) ... ok test_iterable_substitutes (more_itertools.tests.test_more.ReplaceTests) ... ok test_window_size (more_itertools.tests.test_more.ReplaceTests) ... ok test_window_size_count (more_itertools.tests.test_more.ReplaceTests) ... ok test_window_size_end (more_itertools.tests.test_more.ReplaceTests) ... ok test_window_size_large (more_itertools.tests.test_more.ReplaceTests) ... ok test_window_size_zero (more_itertools.tests.test_more.ReplaceTests) ... ok test_custom_pred (more_itertools.tests.test_more.RlocateTests) ... ok test_default_pred (more_itertools.tests.test_more.RlocateTests) ... ok test_efficient_reversal (more_itertools.tests.test_more.RlocateTests) ... ok test_no_matches (more_itertools.tests.test_more.RlocateTests) ... ok test_window_size (more_itertools.tests.test_more.RlocateTests) ... ok test_window_size_large (more_itertools.tests.test_more.RlocateTests) ... ok test_window_size_zero (more_itertools.tests.test_more.RlocateTests) ... ok test_decode (more_itertools.tests.test_more.RunLengthTest) ... ok test_encode (more_itertools.tests.test_more.RunLengthTest) ... ok test_elements (more_itertools.tests.test_more.SeekableTest) ... ok test_exhaustion_reset (more_itertools.tests.test_more.SeekableTest) ... ok test_forward (more_itertools.tests.test_more.SeekableTest) ... ok test_partial_reset (more_itertools.tests.test_more.SeekableTest) ... ok test_past_end (more_itertools.tests.test_more.SeekableTest) ... ok test_abc_methods (more_itertools.tests.test_more.SequenceViewTests) ... ok test_indexing (more_itertools.tests.test_more.SequenceViewTests) ... ok test_init (more_itertools.tests.test_more.SequenceViewTests) ... ok test_slicing (more_itertools.tests.test_more.SequenceViewTests) ... ok test_update (more_itertools.tests.test_more.SequenceViewTests) ... ok test_before_after (more_itertools.tests.test_more.SideEffectTests) ... ok test_before_fails (more_itertools.tests.test_more.SideEffectTests) ... ok test_chunked (more_itertools.tests.test_more.SideEffectTests) ... ok test_individual (more_itertools.tests.test_more.SideEffectTests) ... ok test_even (more_itertools.tests.test_more.SlicedTests) Test when the length of the sequence is divisible by *n* ... ok test_not_sliceable (more_itertools.tests.test_more.SlicedTests) ... ok test_odd (more_itertools.tests.test_more.SlicedTests) Test when the length of the sequence is not divisible by *n* ... ok test_invalid_key_list (more_itertools.tests.test_more.SortTogetherTest) tests `key_list` for indexes not available in `iterables` ... ok test_key_list (more_itertools.tests.test_more.SortTogetherTest) tests `key_list` including default, iterables include duplicates ... ok test_reverse (more_itertools.tests.test_more.SortTogetherTest) tests `reverse` to ensure a reverse sort for `key_list` iterables ... ok test_uneven_iterables (more_itertools.tests.test_more.SortTogetherTest) tests trimming of iterables to the shortest length before sorting ... ok test_ends_with_sep (more_itertools.tests.test_more.SplitAfterTest) ... ok test_no_sep (more_itertools.tests.test_more.SplitAfterTest) ... ok test_starts_with_sep (more_itertools.tests.test_more.SplitAfterTest) ... ok test_seperators (more_itertools.tests.test_more.SplitAtTests) ... ok test_ends_with_sep (more_itertools.tests.test_more.SplitBeforeTest) ... ok test_no_sep (more_itertools.tests.test_more.SplitBeforeTest) ... ok test_starts_with_sep (more_itertools.tests.test_more.SplitBeforeTest) ... ok test_bool_in_sizes (more_itertools.tests.test_more.SplitIntoTests) A bool object is present in ``sizes`` is treated as a 1 or 0 for ... ok test_both_empty (more_itertools.tests.test_more.SplitIntoTests) Both ``sizes`` and ``iterable`` arguments are empty. An empty ... ok test_generator_iterable_integrity (more_itertools.tests.test_more.SplitIntoTests) Check that if ``iterable`` is an iterator, it is consumed only by as ... ok test_generator_sizes_integrity (more_itertools.tests.test_more.SplitIntoTests) Check that if ``sizes`` is an iterator, it is consumed only until a ... ok test_invalid_in_sizes (more_itertools.tests.test_more.SplitIntoTests) A ValueError is raised if an object in ``sizes`` is neither ``None`` ... ok test_invalid_in_sizes_after_none (more_itertools.tests.test_more.SplitIntoTests) A item in ``sizes`` that is invalid will not raise a TypeError if it ... ok test_iterable_empty (more_itertools.tests.test_more.SplitIntoTests) ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok test_iterable_empty_using_none (more_itertools.tests.test_more.SplitIntoTests) ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok test_iterable_just_right (more_itertools.tests.test_more.SplitIntoTests) Size of ``iterable`` equals the sum of ``sizes``. ... ok test_iterable_too_large (more_itertools.tests.test_more.SplitIntoTests) Size of ``iterable`` is larger than sum of ``sizes``. Not all ... ok test_iterable_too_small (more_itertools.tests.test_more.SplitIntoTests) Size of ``iterable`` is smaller than sum of ``sizes``. Last return ... ok test_iterable_too_small_extra (more_itertools.tests.test_more.SplitIntoTests) Size of ``iterable`` is smaller than sum of ``sizes``. Second last ... ok test_sizes_empty (more_itertools.tests.test_more.SplitIntoTests) ``sizes`` argument is empty but ``iterable`` is not. An empty ... ok test_using_none_mid_sizes (more_itertools.tests.test_more.SplitIntoTests) None is present in ``sizes`` but is not the last item. Last list ... ok test_using_none_with_leftover (more_itertools.tests.test_more.SplitIntoTests) Last item of ``sizes`` is None when items still remain in ... ok test_using_none_without_leftover (more_itertools.tests.test_more.SplitIntoTests) Last item of ``sizes`` is None when no items remain in ... ok test_basic (more_itertools.tests.test_more.SpyTests) ... ok test_too_many (more_itertools.tests.test_more.SpyTests) ... ok test_unpacking (more_itertools.tests.test_more.SpyTests) ... ok test_zero (more_itertools.tests.test_more.SpyTests) ... ok test_default (more_itertools.tests.test_more.StaggerTest) ... ok test_longest (more_itertools.tests.test_more.StaggerTest) ... ok test_offsets (more_itertools.tests.test_more.StaggerTest) ... ok test_hashable (more_itertools.tests.test_more.StripFunctionTests) ... ok test_math (more_itertools.tests.test_more.StripFunctionTests) ... ok test_not_hashable (more_itertools.tests.test_more.StripFunctionTests) ... ok test_basic (more_itertools.tests.test_more.SubstringsTests) ... ok test_empty (more_itertools.tests.test_more.SubstringsTests) ... ok test_order (more_itertools.tests.test_more.SubstringsTests) ... ok test_strings (more_itertools.tests.test_more.SubstringsTests) ... ok test_base_type (more_itertools.tests.test_more.TestAlwaysIterable) ... ok test_generator (more_itertools.tests.test_more.TestAlwaysIterable) ... ok test_iterables (more_itertools.tests.test_more.TestAlwaysIterable) ... ok test_none (more_itertools.tests.test_more.TestAlwaysIterable) ... ok test_single (more_itertools.tests.test_more.TestAlwaysIterable) ... ok test_strings (more_itertools.tests.test_more.TestAlwaysIterable) ... ok test_collapse (more_itertools.tests.test_more.TestCollapse) ... ok test_collapse_flatten (more_itertools.tests.test_more.TestCollapse) ... ok test_collapse_to_level (more_itertools.tests.test_more.TestCollapse) ... ok test_collapse_to_list (more_itertools.tests.test_more.TestCollapse) ... ok test_collapse_to_string (more_itertools.tests.test_more.TestCollapse) ... ok test_all_unique (more_itertools.tests.test_more.UniqueToEachTests) When all the input iterables are unique the output should match ... ok test_duplicates (more_itertools.tests.test_more.UniqueToEachTests) When there are duplicates in any of the input iterables that aren't ... ok test_mixed (more_itertools.tests.test_more.UniqueToEachTests) When the input iterables contain different types the function should ... ok test_empty_iterable (more_itertools.tests.test_more.UnzipTests) ... ok test_improperly_zipped (more_itertools.tests.test_more.UnzipTests) ... ok test_increasingly_zipped (more_itertools.tests.test_more.UnzipTests) ... ok test_length_one_iterable (more_itertools.tests.test_more.UnzipTests) ... ok test_normal_case (more_itertools.tests.test_more.UnzipTests) ... ok test_basic (more_itertools.tests.test_more.WindowedTests) ... ok test_fillvalue (more_itertools.tests.test_more.WindowedTests) ... ok test_large_size (more_itertools.tests.test_more.WindowedTests) ... ok test_negative (more_itertools.tests.test_more.WindowedTests) When the window size is negative, ValueError should be raised. ... ok test_step (more_itertools.tests.test_more.WindowedTests) The window should advance by the number of steps provided ... ok test_zero (more_itertools.tests.test_more.WindowedTests) When the window size is zero, an empty tuple should be emitted. ... ok test_with_iter (more_itertools.tests.test_more.WithIterTests) ... ok test_longest (more_itertools.tests.test_more.ZipOffsetTest) ... ok test_mismatch (more_itertools.tests.test_more.ZipOffsetTest) ... ok test_shortest (more_itertools.tests.test_more.ZipOffsetTest) ... ok SequenceView (more_itertools.more) Doctest: more_itertools.more.SequenceView ... ok adjacent (more_itertools.more) Doctest: more_itertools.more.adjacent ... ok always_iterable (more_itertools.more) Doctest: more_itertools.more.always_iterable ... ok always_reversible (more_itertools.more) Doctest: more_itertools.more.always_reversible ... ok bucket (more_itertools.more) Doctest: more_itertools.more.bucket ... ok chunked (more_itertools.more) Doctest: more_itertools.more.chunked ... ok circular_shifts (more_itertools.more) Doctest: more_itertools.more.circular_shifts ... ok collapse (more_itertools.more) Doctest: more_itertools.more.collapse ... ok collate (more_itertools.more) Doctest: more_itertools.more.collate ... ok consecutive_groups (more_itertools.more) Doctest: more_itertools.more.consecutive_groups ... ok consumer (more_itertools.more) Doctest: more_itertools.more.consumer ... ok count_cycle (more_itertools.more) Doctest: more_itertools.more.count_cycle ... ok difference (more_itertools.more) Doctest: more_itertools.more.difference ... ok distinct_permutations (more_itertools.more) Doctest: more_itertools.more.distinct_permutations ... ok distribute (more_itertools.more) Doctest: more_itertools.more.distribute ... ok divide (more_itertools.more) Doctest: more_itertools.more.divide ... ok exactly_n (more_itertools.more) Doctest: more_itertools.more.exactly_n ... ok first (more_itertools.more) Doctest: more_itertools.more.first ... ok groupby_transform (more_itertools.more) Doctest: more_itertools.more.groupby_transform ... ok ilen (more_itertools.more) Doctest: more_itertools.more.ilen ... ok interleave (more_itertools.more) Doctest: more_itertools.more.interleave ... ok interleave_longest (more_itertools.more) Doctest: more_itertools.more.interleave_longest ... ok intersperse (more_itertools.more) Doctest: more_itertools.more.intersperse ... ok islice_extended (more_itertools.more) Doctest: more_itertools.more.islice_extended ... ok iterate (more_itertools.more) Doctest: more_itertools.more.iterate ... ok last (more_itertools.more) Doctest: more_itertools.more.last ... ok locate (more_itertools.more) Doctest: more_itertools.more.locate ... ok lstrip (more_itertools.more) Doctest: more_itertools.more.lstrip ... ok make_decorator (more_itertools.more) Doctest: more_itertools.more.make_decorator ... ok map_reduce (more_itertools.more) Doctest: more_itertools.more.map_reduce ... ok numeric_range (more_itertools.more) Doctest: more_itertools.more.numeric_range ... ok one (more_itertools.more) Doctest: more_itertools.more.one ... ok padded (more_itertools.more) Doctest: more_itertools.more.padded ... ok peekable (more_itertools.more) Doctest: more_itertools.more.peekable ... ok prepend (more_itertools.more.peekable) Doctest: more_itertools.more.peekable.prepend ... ok replace (more_itertools.more) Doctest: more_itertools.more.replace ... ok rlocate (more_itertools.more) Doctest: more_itertools.more.rlocate ... ok rstrip (more_itertools.more) Doctest: more_itertools.more.rstrip ... ok run_length (more_itertools.more) Doctest: more_itertools.more.run_length ... ok seekable (more_itertools.more) Doctest: more_itertools.more.seekable ... ok side_effect (more_itertools.more) Doctest: more_itertools.more.side_effect ... ok sliced (more_itertools.more) Doctest: more_itertools.more.sliced ... ok sort_together (more_itertools.more) Doctest: more_itertools.more.sort_together ... ok split_after (more_itertools.more) Doctest: more_itertools.more.split_after ... ok split_at (more_itertools.more) Doctest: more_itertools.more.split_at ... ok split_before (more_itertools.more) Doctest: more_itertools.more.split_before ... ok split_into (more_itertools.more) Doctest: more_itertools.more.split_into ... ok spy (more_itertools.more) Doctest: more_itertools.more.spy ... ok stagger (more_itertools.more) Doctest: more_itertools.more.stagger ... ok strip (more_itertools.more) Doctest: more_itertools.more.strip ... ok substrings (more_itertools.more) Doctest: more_itertools.more.substrings ... ok unique_to_each (more_itertools.more) Doctest: more_itertools.more.unique_to_each ... ok unzip (more_itertools.more) Doctest: more_itertools.more.unzip ... ok windowed (more_itertools.more) Doctest: more_itertools.more.windowed ... ok zip_offset (more_itertools.more) Doctest: more_itertools.more.zip_offset ... ok ---------------------------------------------------------------------- Ran 386 tests in 0.284s OK + exit 0 Processing files: python2-more-itertools-5.0.0-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LLRv0q + umask 022 + cd /builddir/build/BUILD + cd more-itertools-5.0.0 + DOCDIR=/builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/share/doc/python2-more-itertools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/share/doc/python2-more-itertools + cp -pr README.rst /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/share/doc/python2-more-itertools + cp -pr PKG-INFO /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/share/doc/python2-more-itertools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VvAFy8 + umask 022 + cd /builddir/build/BUILD + cd more-itertools-5.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/share/licenses/python2-more-itertools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/share/licenses/python2-more-itertools + cp -pr LICENSE /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64/usr/share/licenses/python2-more-itertools + exit 0 Provides: deprecated() python2-more-itertools = 5.0.0-2.el8 python2.7dist(more-itertools) = 5.0.0 python2dist(more-itertools) = 5.0.0 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) = 2.7 python2.7dist(six) >= 1.0.0 python2.7dist(six) < 2.0.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64 Wrote: /builddir/build/RPMS/python2-more-itertools-5.0.0-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.002XAU + umask 022 + cd /builddir/build/BUILD + cd more-itertools-5.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python2-more-itertools-5.0.0-2.el8.x86_64 + exit 0 Child return code was: 0