Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-more-itertools.spec'], chrootPath='/var/lib/mock/module-python39-3.9-8080020230607110627-aed85c85-build-101158-51434/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-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': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-more-itertools.spec'], chrootPath='/var/lib/mock/module-python39-3.9-8080020230607110627-aed85c85-build-101158-51434/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-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': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2t4o9N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf more-itertools-8.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/more-itertools-8.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd more-itertools-8.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w48lfB + umask 022 + cd /builddir/build/BUILD + cd more-itertools-8.5.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/python3.9 setup.py build '--executable=/usr/bin/python3.9 -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/recipes.py -> build/lib/more_itertools copying more_itertools/__init__.py -> build/lib/more_itertools running egg_info writing more_itertools.egg-info/PKG-INFO writing dependency_links to more_itertools.egg-info/dependency_links.txt writing top-level names to more_itertools.egg-info/top_level.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.qgF4Kf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch ++ dirname /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch + cd more-itertools-8.5.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/python3.9 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr creating /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib creating /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools copying build/lib/more_itertools/more.py -> /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools copying build/lib/more_itertools/recipes.py -> /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools copying build/lib/more_itertools/__init__.py -> /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools byte-compiling /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools/more.py to more.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools/recipes.py to recipes.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpvgxou7ka.py' /usr/bin/python3.9 /tmp/tmpvgxou7ka.py removing /tmp/tmpvgxou7ka.py running install_egg_info running egg_info writing more_itertools.egg-info/PKG-INFO writing dependency_links to more_itertools.egg-info/dependency_links.txt writing top-level names to more_itertools.egg-info/top_level.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/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools-8.5.0-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 8.5.0-2.module+el8.8.0+693+9ffdefbc --unique-debug-suffix -8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch --unique-debug-src-base python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/more-itertools-8.5.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/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.9 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IIvcza + umask 022 + cd /builddir/build/BUILD + cd more-itertools-8.5.0 + /usr/bin/python3.9 setup.py test running test running egg_info 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. writing more_itertools.egg-info/PKG-INFO writing dependency_links to more_itertools.egg-info/dependency_links.txt writing top-level names to more_itertools.egg-info/top_level.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_call_once (tests.test_more.AdjacentTests) Test that the predicate is only called once per item. ... ok test_consecutive_true (tests.test_more.AdjacentTests) Test that when the predicate matches multiple consecutive elements ... ok test_distance (tests.test_more.AdjacentTests) ... ok test_empty_iterable (tests.test_more.AdjacentTests) ... ok test_grouping (tests.test_more.AdjacentTests) Test interaction of adjacent() with groupby_transform() ... ok test_large_distance (tests.test_more.AdjacentTests) Test distance larger than the length of the iterable ... ok test_length_one (tests.test_more.AdjacentTests) ... ok test_negative_distance (tests.test_more.AdjacentTests) Test that adjacent() raises an error with negative distance ... ok test_typical (tests.test_more.AdjacentTests) ... ok test_zero_distance (tests.test_more.AdjacentTests) Test that adjacent() reduces to zip+map when distance is 0 ... ok test_nonseq_reversed (tests.test_more.AlwaysReversibleTests) ... ok test_regular_reversed (tests.test_more.AlwaysReversibleTests) ... ok test_basic (tests.test_more.BucketTests) ... ok test_in (tests.test_more.BucketTests) ... ok test_list (tests.test_more.BucketTests) ... ok test_list_validator (tests.test_more.BucketTests) ... ok test_validator (tests.test_more.BucketTests) ... ok test_abort (tests.test_more.CallbackIterTests) ... ok test_basic (tests.test_more.CallbackIterTests) ... ok test_callback_kwd (tests.test_more.CallbackIterTests) ... ok test_exception (tests.test_more.CallbackIterTests) ... ok test_no_result (tests.test_more.CallbackIterTests) ... ok test_partial_consumption (tests.test_more.CallbackIterTests) ... ok test_even (tests.test_more.ChunkedTests) Test when ``n`` divides evenly into the length of the iterable. ... ok test_odd (tests.test_more.ChunkedTests) Test when ``n`` does not divide evenly into the length of the ... ok test_duplicates (tests.test_more.CircularShiftsTests) ... ok test_empty (tests.test_more.CircularShiftsTests) ... ok test_simple_circular_shifts (tests.test_more.CircularShiftsTests) ... ok test_alias (tests.test_more.CollateTests) ... ok test_default (tests.test_more.CollateTests) Test with the default `key` function. ... /builddir/build/BUILD/more-itertools-8.5.0/more_itertools/more.py:413: DeprecationWarning: collate is no longer part of more_itertools, use heapq.merge warnings.warn( ok test_empty (tests.test_more.CollateTests) Be nice if passed an empty list of iterables. ... ok test_key (tests.test_more.CollateTests) Test using a custom `key` function. ... ok test_one (tests.test_more.CollateTests) Work when only 1 iterable is passed. ... ok test_reverse (tests.test_more.CollateTests) Test the `reverse` kwarg. ... ok test_custom_ordering (tests.test_more.ConsecutiveGroupsTest) ... ok test_exotic_ordering (tests.test_more.ConsecutiveGroupsTest) ... ok test_numbers (tests.test_more.ConsecutiveGroupsTest) ... ok test_consumer (tests.test_more.ConsumerTests) ... ok test_basic (tests.test_more.CountCycleTests) ... ok test_empty (tests.test_more.CountCycleTests) ... ok test_negative (tests.test_more.CountCycleTests) ... ok test_custom (tests.test_more.DifferenceTest) ... ok test_empty (tests.test_more.DifferenceTest) ... ok test_initial (tests.test_more.DifferenceTest) ... ok test_normal (tests.test_more.DifferenceTest) ... ok test_one (tests.test_more.DifferenceTest) ... ok test_roundtrip (tests.test_more.DifferenceTest) ... ok test_basic (tests.test_more.DistinctCombinationsTests) ... ok test_empty (tests.test_more.DistinctCombinationsTests) ... ok test_negative (tests.test_more.DistinctCombinationsTests) ... ok test_distinct_permutations (tests.test_more.DistinctPermutationsTests) Make sure the output for ``distinct_permutations()`` is the same as ... ok test_other_iterables (tests.test_more.DistinctPermutationsTests) Make sure ``distinct_permutations()`` accepts a different type of ... ok test_r (tests.test_more.DistinctPermutationsTests) ... ok test_basic (tests.test_more.DistributeTest) ... ok test_invalid_n (tests.test_more.DistributeTest) ... ok test_large_n (tests.test_more.DistributeTest) ... ok test_basic (tests.test_more.DivideTest) ... ok test_invalid_n (tests.test_more.DivideTest) ... ok test_large_n (tests.test_more.DivideTest) ... ok test_empty (tests.test_more.ExactlyNTests) Return ``True`` if the iterable is empty and ``n`` is 0 ... ok test_false (tests.test_more.ExactlyNTests) Iterable does not have ``n`` ``True`` elements ... ok test_true (tests.test_more.ExactlyNTests) Iterable has ``n`` ``True`` elements ... ok test_false (tests.test_more.FilterExceptTests) ... ok test_multiple (tests.test_more.FilterExceptTests) ... ok test_no_exceptions_pass (tests.test_more.FilterExceptTests) ... ok test_no_exceptions_raise (tests.test_more.FilterExceptTests) ... ok test_raise (tests.test_more.FilterExceptTests) ... ok test_default (tests.test_more.FirstTests) ... ok test_empty_stop_iteration (tests.test_more.FirstTests) ... ok test_many (tests.test_more.FirstTests) ... ok test_one (tests.test_more.FirstTests) ... ok test_default_funcs (tests.test_more.GroupByTransformTests) ... ok test_no_valuefunc (tests.test_more.GroupByTransformTests) ... ok test_reducefunc (tests.test_more.GroupByTransformTests) ... ok test_valuefunc (tests.test_more.GroupByTransformTests) ... ok test_even (tests.test_more.IchunkedTests) ... ok test_laziness (tests.test_more.IchunkedTests) ... ok test_negative (tests.test_more.IchunkedTests) ... ok test_odd (tests.test_more.IchunkedTests) ... ok test_out_of_order (tests.test_more.IchunkedTests) ... ok test_zero (tests.test_more.IchunkedTests) ... ok test_ilen (tests.test_more.IlenTests) Sanity-checks for ``ilen()``. ... ok test_even (tests.test_more.InterleaveLongestTests) ... ok test_mixed_types (tests.test_more.InterleaveLongestTests) ... ok test_short (tests.test_more.InterleaveLongestTests) ... ok test_even (tests.test_more.InterleaveTests) ... ok test_mixed_types (tests.test_more.InterleaveTests) ... ok test_short (tests.test_more.InterleaveTests) ... ok test_even (tests.test_more.IntersperseTest) ... ok test_n (tests.test_more.IntersperseTest) ... ok test_n_zero (tests.test_more.IntersperseTest) ... ok test_nested (tests.test_more.IntersperseTest) ... ok test_not_iterable (tests.test_more.IntersperseTest) ... ok test_odd (tests.test_more.IntersperseTest) ... ok test_basic (tests.test_more.IsSortedTests) ... ok test_all (tests.test_more.IsliceExtendedTests) ... ok test_invalid_slice (tests.test_more.IsliceExtendedTests) ... ok test_slicing (tests.test_more.IsliceExtendedTests) ... ok test_slicing_extensive (tests.test_more.IsliceExtendedTests) ... ok test_zero_step (tests.test_more.IsliceExtendedTests) ... ok test_basic (tests.test_more.LastTests) ... ok test_default (tests.test_more.LastTests) ... ok test_empty (tests.test_more.LastTests) ... ok test_custom_pred (tests.test_more.LocateTests) ... ok test_default_pred (tests.test_more.LocateTests) ... ok test_no_matches (tests.test_more.LocateTests) ... ok test_window_size (tests.test_more.LocateTests) ... ok test_window_size_large (tests.test_more.LocateTests) ... ok test_window_size_zero (tests.test_more.LocateTests) ... ok test_basic (tests.test_more.MakeDecoratorTests) ... ok test_result_index (tests.test_more.MakeDecoratorTests) ... ok test_wrap_class (tests.test_more.MakeDecoratorTests) ... ok test_multiple (tests.test_more.MapExceptTests) ... ok test_no_exceptions_pass (tests.test_more.MapExceptTests) ... ok test_no_exceptions_raise (tests.test_more.MapExceptTests) ... ok test_raise (tests.test_more.MapExceptTests) ... ok test_default (tests.test_more.MapReduceTests) ... ok test_reducefunc (tests.test_more.MapReduceTests) ... ok test_ret (tests.test_more.MapReduceTests) ... ok test_valuefunc (tests.test_more.MapReduceTests) ... ok test_basic (tests.test_more.MarkEndsTests) ... ok test_basic (tests.test_more.NthOrLastTests) ... ok test_default_value (tests.test_more.NthOrLastTests) ... ok test_empty_iterable_no_default (tests.test_more.NthOrLastTests) ... ok test_arg_count (tests.test_more.NumericRangeTests) ... ok test_bad_key (tests.test_more.NumericRangeTests) ... ok test_basic (tests.test_more.NumericRangeTests) ... ok test_bool (tests.test_more.NumericRangeTests) ... ok test_contains (tests.test_more.NumericRangeTests) ... ok test_count (tests.test_more.NumericRangeTests) ... ok test_eq (tests.test_more.NumericRangeTests) ... ok test_get_item_by_index (tests.test_more.NumericRangeTests) ... ok test_get_item_by_slice (tests.test_more.NumericRangeTests) ... ok test_hash (tests.test_more.NumericRangeTests) ... ok test_index (tests.test_more.NumericRangeTests) ... ok test_iter_twice (tests.test_more.NumericRangeTests) ... ok test_len (tests.test_more.NumericRangeTests) ... ok test_parent_classes (tests.test_more.NumericRangeTests) ... ok test_pickle (tests.test_more.NumericRangeTests) ... ok test_repr (tests.test_more.NumericRangeTests) ... ok test_reversed (tests.test_more.NumericRangeTests) ... ok test_zero_step (tests.test_more.NumericRangeTests) ... ok test_basic (tests.test_more.OneTests) ... ok test_too_long (tests.test_more.OneTests) ... ok test_too_long_default_message (tests.test_more.OneTests) ... ok test_too_short (tests.test_more.OneTests) ... ok test_custom_exception (tests.test_more.OnlyTests) ... ok test_custom_value (tests.test_more.OnlyTests) ... ok test_default_exception_message (tests.test_more.OnlyTests) ... ok test_defaults (tests.test_more.OnlyTests) ... ok test_invalid_n (tests.test_more.PaddedTest) ... ok test_next_multiple (tests.test_more.PaddedTest) ... ok test_no_n (tests.test_more.PaddedTest) ... ok test_valid_n (tests.test_more.PaddedTest) ... ok test_duplicates (tests.test_more.PartitionsTest) ... ok test_empty (tests.test_more.PartitionsTest) ... ok test_order (tests.test_more.PartitionsTest) ... ok test_types (tests.test_more.PartitionsTest) ... ok test_empty (tests.test_more.PeekableTests) Tests prepending in front of an empty iterable ... ok test_indexing (tests.test_more.PeekableTests) Indexing into the peekable shouldn't advance the iterator. ... ok test_multi_prepend (tests.test_more.PeekableTests) Tests prepending multiple items and getting them in proper order ... ok test_multi_prepend_peek (tests.test_more.PeekableTests) Tests prepending multiple elements and getting them in reverse order ... ok test_passthrough (tests.test_more.PeekableTests) Iterating a peekable without using ``peek()`` or ``prepend()`` ... ok test_peek_default (tests.test_more.PeekableTests) Make sure passing a default into ``peek()`` works. ... ok test_prepend (tests.test_more.PeekableTests) Tests intersperesed ``prepend()`` and ``next()`` calls ... ok test_prepend_after_stop (tests.test_more.PeekableTests) Test resuming iteration after a previous exhaustion ... ok test_prepend_indexing (tests.test_more.PeekableTests) Tests interaction between prepending and indexing ... ok test_prepend_iterable (tests.test_more.PeekableTests) Tests prepending from an iterable ... ok test_prepend_many (tests.test_more.PeekableTests) Tests that prepending a huge number of elements works ... ok test_prepend_reversed (tests.test_more.PeekableTests) Tests prepending from a reversed iterable ... ok test_prepend_slicing (tests.test_more.PeekableTests) Tests interaction between prepending and slicing ... ok test_prepend_truthiness (tests.test_more.PeekableTests) Tests that ``__bool__()`` or ``__nonzero__()`` works properly ... ok test_simple_peeking (tests.test_more.PeekableTests) Make sure ``next`` and ``peek`` advance and don't advance the ... ok test_slicing (tests.test_more.PeekableTests) Slicing the peekable shouldn't advance the iterator. ... ok test_slicing_error (tests.test_more.PeekableTests) ... ok test_slicing_reset (tests.test_more.PeekableTests) Test slicing on a fresh iterable each time ... ok test_truthiness (tests.test_more.PeekableTests) Make sure a ``peekable`` tests true iff there are items remaining in ... ok test_basic (tests.test_more.RepeatLastTests) ... ok test_default_value (tests.test_more.RepeatLastTests) ... ok test_empty_iterable (tests.test_more.RepeatLastTests) ... ok test_basic (tests.test_more.ReplaceTests) ... ok test_count (tests.test_more.ReplaceTests) ... ok test_iterable_substitutes (tests.test_more.ReplaceTests) ... ok test_window_size (tests.test_more.ReplaceTests) ... ok test_window_size_count (tests.test_more.ReplaceTests) ... ok test_window_size_end (tests.test_more.ReplaceTests) ... ok test_window_size_large (tests.test_more.ReplaceTests) ... ok test_window_size_zero (tests.test_more.ReplaceTests) ... ok test_custom_pred (tests.test_more.RlocateTests) ... ok test_default_pred (tests.test_more.RlocateTests) ... ok test_efficient_reversal (tests.test_more.RlocateTests) ... ok test_no_matches (tests.test_more.RlocateTests) ... ok test_window_size (tests.test_more.RlocateTests) ... ok test_window_size_large (tests.test_more.RlocateTests) ... ok test_window_size_zero (tests.test_more.RlocateTests) ... ok test_decode (tests.test_more.RunLengthTest) ... ok test_encode (tests.test_more.RunLengthTest) ... ok test_invariance_under_permutations_unweighted (tests.test_more.SampleTests) The order of the data should not matter. This is a stochastic test, ... ok test_invariance_under_permutations_weighted (tests.test_more.SampleTests) The order of the data should not matter. This is a stochastic test, ... ok test_length (tests.test_more.SampleTests) Check that *k* elements are sampled. ... ok test_samling_entire_iterable (tests.test_more.SampleTests) If k=len(iterable), the sample contains the original elements. ... ok test_scale_invariance_of_weights (tests.test_more.SampleTests) The probabilit of chosing element a_i is w_i / sum(weights). ... ok test_unit_case (tests.test_more.SampleTests) Test against a fixed case by seeding the random module. ... ok test_elements (tests.test_more.SeekableTest) ... ok test_exhaustion_reset (tests.test_more.SeekableTest) ... ok test_forward (tests.test_more.SeekableTest) ... ok test_maxlen (tests.test_more.SeekableTest) ... ok test_maxlen_zero (tests.test_more.SeekableTest) ... ok test_partial_reset (tests.test_more.SeekableTest) ... ok test_past_end (tests.test_more.SeekableTest) ... ok test_abc_methods (tests.test_more.SequenceViewTests) ... ok test_indexing (tests.test_more.SequenceViewTests) ... ok test_init (tests.test_more.SequenceViewTests) ... ok test_slicing (tests.test_more.SequenceViewTests) ... ok test_update (tests.test_more.SequenceViewTests) ... ok test_duplicates (tests.test_more.SetPartitionsTests) ... ok test_each_correct (tests.test_more.SetPartitionsTests) ... ok test_found_all (tests.test_more.SetPartitionsTests) small example, hand-checked ... ok test_no_group (tests.test_more.SetPartitionsTests) ... ok test_repeated (tests.test_more.SetPartitionsTests) ... ok test_stirling_numbers (tests.test_more.SetPartitionsTests) Check against https://en.wikipedia.org/wiki/ ... ok test_to_many_groups (tests.test_more.SetPartitionsTests) ... ok test_before_after (tests.test_more.SideEffectTests) ... ok test_before_fails (tests.test_more.SideEffectTests) ... ok test_chunked (tests.test_more.SideEffectTests) ... ok test_individual (tests.test_more.SideEffectTests) ... ok test_even (tests.test_more.SlicedTests) Test when the length of the sequence is divisible by *n* ... ok test_not_sliceable (tests.test_more.SlicedTests) ... ok test_numpy_like_array (tests.test_more.SlicedTests) ... ok test_odd (tests.test_more.SlicedTests) Test when the length of the sequence is not divisible by *n* ... ok test_invalid_key_list (tests.test_more.SortTogetherTest) tests `key_list` for indexes not available in `iterables` ... ok test_key_list (tests.test_more.SortTogetherTest) tests `key_list` including default, iterables include duplicates ... ok test_reverse (tests.test_more.SortTogetherTest) tests `reverse` to ensure a reverse sort for `key_list` iterables ... ok test_uneven_iterables (tests.test_more.SortTogetherTest) tests trimming of iterables to the shortest length before sorting ... ok test_ends_with_sep (tests.test_more.SplitAfterTest) ... ok test_max_split (tests.test_more.SplitAfterTest) ... ok test_no_sep (tests.test_more.SplitAfterTest) ... ok test_starts_with_sep (tests.test_more.SplitAfterTest) ... ok test_basic (tests.test_more.SplitAtTests) ... ok test_combination (tests.test_more.SplitAtTests) ... ok test_keep_separator (tests.test_more.SplitAtTests) ... ok test_maxsplit (tests.test_more.SplitAtTests) ... ok test_ends_with_sep (tests.test_more.SplitBeforeTest) ... ok test_max_split (tests.test_more.SplitBeforeTest) ... ok test_no_sep (tests.test_more.SplitBeforeTest) ... ok test_starts_with_sep (tests.test_more.SplitBeforeTest) ... ok test_bool_in_sizes (tests.test_more.SplitIntoTests) A bool object is present in ``sizes`` is treated as a 1 or 0 for ... ok test_both_empty (tests.test_more.SplitIntoTests) Both ``sizes`` and ``iterable`` arguments are empty. An empty ... ok test_generator_iterable_integrity (tests.test_more.SplitIntoTests) Check that if ``iterable`` is an iterator, it is consumed only by as ... ok test_generator_sizes_integrity (tests.test_more.SplitIntoTests) Check that if ``sizes`` is an iterator, it is consumed only until a ... ok test_invalid_in_sizes (tests.test_more.SplitIntoTests) A ValueError is raised if an object in ``sizes`` is neither ``None`` ... ok test_invalid_in_sizes_after_none (tests.test_more.SplitIntoTests) A item in ``sizes`` that is invalid will not raise a TypeError if it ... ok test_iterable_empty (tests.test_more.SplitIntoTests) ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok test_iterable_empty_using_none (tests.test_more.SplitIntoTests) ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok test_iterable_just_right (tests.test_more.SplitIntoTests) Size of ``iterable`` equals the sum of ``sizes``. ... ok test_iterable_too_large (tests.test_more.SplitIntoTests) Size of ``iterable`` is larger than sum of ``sizes``. Not all ... ok test_iterable_too_small (tests.test_more.SplitIntoTests) Size of ``iterable`` is smaller than sum of ``sizes``. Last return ... ok test_iterable_too_small_extra (tests.test_more.SplitIntoTests) Size of ``iterable`` is smaller than sum of ``sizes``. Second last ... ok test_sizes_empty (tests.test_more.SplitIntoTests) ``sizes`` argument is empty but ``iterable`` is not. An empty ... ok test_using_none_mid_sizes (tests.test_more.SplitIntoTests) None is present in ``sizes`` but is not the last item. Last list ... ok test_using_none_with_leftover (tests.test_more.SplitIntoTests) Last item of ``sizes`` is None when items still remain in ... ok test_using_none_without_leftover (tests.test_more.SplitIntoTests) Last item of ``sizes`` is None when no items remain in ... ok test_after_emulation_ends_with_sep (tests.test_more.SplitWhenTests) ... ok test_after_emulation_no_sep (tests.test_more.SplitWhenTests) ... ok test_after_emulation_starts_with_sep (tests.test_more.SplitWhenTests) ... ok test_before_emulation_ends_with_sep (tests.test_more.SplitWhenTests) ... ok test_before_emulation_no_sep (tests.test_more.SplitWhenTests) ... ok test_before_emulation_starts_with_sep (tests.test_more.SplitWhenTests) ... ok test_empty_iterable (tests.test_more.SplitWhenTests) ... ok test_max_split (tests.test_more.SplitWhenTests) ... ok test_one_element (tests.test_more.SplitWhenTests) ... ok test_one_element_is_first_item (tests.test_more.SplitWhenTests) ... ok test_one_element_is_second_item (tests.test_more.SplitWhenTests) ... ok test_basic (tests.test_more.SpyTests) ... ok test_immutable (tests.test_more.SpyTests) ... ok test_too_many (tests.test_more.SpyTests) ... ok test_unpacking (tests.test_more.SpyTests) ... ok test_zero (tests.test_more.SpyTests) ... ok test_default (tests.test_more.StaggerTest) ... ok test_longest (tests.test_more.StaggerTest) ... ok test_offsets (tests.test_more.StaggerTest) ... ok test_hashable (tests.test_more.StripFunctionTests) ... ok test_math (tests.test_more.StripFunctionTests) ... ok test_not_hashable (tests.test_more.StripFunctionTests) ... ok test_basic (tests.test_more.SubstringsIndexesTests) ... ok test_empty (tests.test_more.SubstringsIndexesTests) ... ok test_order (tests.test_more.SubstringsIndexesTests) ... ok test_reverse (tests.test_more.SubstringsIndexesTests) ... ok test_strings (tests.test_more.SubstringsIndexesTests) ... ok test_basic (tests.test_more.SubstringsTests) ... ok test_empty (tests.test_more.SubstringsTests) ... ok test_order (tests.test_more.SubstringsTests) ... ok test_strings (tests.test_more.SubstringsTests) ... ok test_base_type (tests.test_more.TestAlwaysIterable) ... ok test_generator (tests.test_more.TestAlwaysIterable) ... ok test_iterables (tests.test_more.TestAlwaysIterable) ... ok test_none (tests.test_more.TestAlwaysIterable) ... ok test_single (tests.test_more.TestAlwaysIterable) ... ok test_strings (tests.test_more.TestAlwaysIterable) ... ok test_collapse (tests.test_more.TestCollapse) ... ok test_collapse_flatten (tests.test_more.TestCollapse) ... ok test_collapse_to_bytes (tests.test_more.TestCollapse) ... ok test_collapse_to_level (tests.test_more.TestCollapse) ... ok test_collapse_to_list (tests.test_more.TestCollapse) ... ok test_collapse_to_string (tests.test_more.TestCollapse) ... ok test_basic (tests.test_more.TimeLimitedTests) ... ok test_invalid_limit (tests.test_more.TimeLimitedTests) ... ok test_zero_limit (tests.test_more.TimeLimitedTests) ... ok test_all_unique (tests.test_more.UniqueToEachTests) When all the input iterables are unique the output should match ... ok test_duplicates (tests.test_more.UniqueToEachTests) When there are duplicates in any of the input iterables that aren't ... ok test_mixed (tests.test_more.UniqueToEachTests) When the input iterables contain different types the function should ... ok test_empty_iterable (tests.test_more.UnzipTests) ... ok test_improperly_zipped (tests.test_more.UnzipTests) ... ok test_increasingly_zipped (tests.test_more.UnzipTests) ... ok test_length_one_iterable (tests.test_more.UnzipTests) ... ok test_normal_case (tests.test_more.UnzipTests) ... ok test_basic (tests.test_more.WindowedCompleteTests) ... ok test_every_partition (tests.test_more.WindowedCompleteTests) ... ok test_wrong_length (tests.test_more.WindowedCompleteTests) ... ok test_zero_length (tests.test_more.WindowedCompleteTests) ... ok test_basic (tests.test_more.WindowedTests) ... ok test_fillvalue (tests.test_more.WindowedTests) When sizes don't match evenly, the given fill value should be used. ... ok test_large_size (tests.test_more.WindowedTests) When the window size is larger than the iterable, and no fill value is ... ok test_negative (tests.test_more.WindowedTests) When the window size is negative, ValueError should be raised. ... ok test_step (tests.test_more.WindowedTests) The window should advance by the number of steps provided ... ok test_zero (tests.test_more.WindowedTests) When the window size is zero, an empty tuple should be emitted. ... ok test_with_iter (tests.test_more.WithIterTests) ... ok test_equal (tests.test_more.ZipEqualTest) ... ok test_unequal_lists (tests.test_more.ZipEqualTest) ... ok test_longest (tests.test_more.ZipOffsetTest) ... ok test_mismatch (tests.test_more.ZipOffsetTest) ... ok test_shortest (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 callback_iter (more_itertools.more) Doctest: more_itertools.more.callback_iter ... 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_combinations (more_itertools.more) Doctest: more_itertools.more.distinct_combinations ... 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 filter_except (more_itertools.more) Doctest: more_itertools.more.filter_except ... ok first (more_itertools.more) Doctest: more_itertools.more.first ... ok groupby_transform (more_itertools.more) Doctest: more_itertools.more.groupby_transform ... ok ichunked (more_itertools.more) Doctest: more_itertools.more.ichunked ... 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 is_sorted (more_itertools.more) Doctest: more_itertools.more.is_sorted ... 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_except (more_itertools.more) Doctest: more_itertools.more.map_except ... ok map_reduce (more_itertools.more) Doctest: more_itertools.more.map_reduce ... ok mark_ends (more_itertools.more) Doctest: more_itertools.more.mark_ends ... ok nth_or_last (more_itertools.more) Doctest: more_itertools.more.nth_or_last ... ok numeric_range (more_itertools.more) Doctest: more_itertools.more.numeric_range ... ok one (more_itertools.more) Doctest: more_itertools.more.one ... ok only (more_itertools.more) Doctest: more_itertools.more.only ... ok padded (more_itertools.more) Doctest: more_itertools.more.padded ... ok partitions (more_itertools.more) Doctest: more_itertools.more.partitions ... ok peekable (more_itertools.more) Doctest: more_itertools.more.peekable ... ok prepend (more_itertools.more.peekable) Doctest: more_itertools.more.peekable.prepend ... ok repeat_last (more_itertools.more) Doctest: more_itertools.more.repeat_last ... 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 sample (more_itertools.more) Doctest: more_itertools.more.sample ... ok seekable (more_itertools.more) Doctest: more_itertools.more.seekable ... ok set_partitions (more_itertools.more) Doctest: more_itertools.more.set_partitions ... 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 split_when (more_itertools.more) Doctest: more_itertools.more.split_when ... 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 substrings_indexes (more_itertools.more) Doctest: more_itertools.more.substrings_indexes ... ok time_limited (more_itertools.more) Doctest: more_itertools.more.time_limited ... 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 windowed_complete (more_itertools.more) Doctest: more_itertools.more.windowed_complete ... ok zip_equal (more_itertools.more) Doctest: more_itertools.more.zip_equal ... ok zip_offset (more_itertools.more) Doctest: more_itertools.more.zip_offset ... ok test_empty (tests.test_recipes.AllEqualTests) Return True if the iterable is empty ... ok test_false (tests.test_recipes.AllEqualTests) Not everything is equal ... ok test_one (tests.test_recipes.AllEqualTests) Return True if the iterable is singular ... ok test_tricky (tests.test_recipes.AllEqualTests) Not everything is identical, but everything is equal ... ok test_true (tests.test_recipes.AllEqualTests) Everything is equal ... ok test_negative_consume (tests.test_recipes.ConsumeTests) Check that negative consumsion throws an error ... ok test_null_consume (tests.test_recipes.ConsumeTests) Check the null case ... ok test_sanity (tests.test_recipes.ConsumeTests) Test basic functionality ... ok test_total_consume (tests.test_recipes.ConsumeTests) Check that iterator is totally consumed by default ... ok test_happy_path (tests.test_recipes.DotproductTests) simple dotproduct example ... ok test_default (tests.test_recipes.FirstTrueTests) Test with a default keyword ... ok test_nothing_true (tests.test_recipes.FirstTrueTests) Test default return value. ... ok test_pred (tests.test_recipes.FirstTrueTests) Test with a custom predicate ... ok test_something_true (tests.test_recipes.FirstTrueTests) Test with no keywords ... ok test_basic_usage (tests.test_recipes.FlattenTests) ensure list of lists is flattened one level ... ok test_single_level (tests.test_recipes.FlattenTests) ensure list of lists is flattened only one level ... ok test_even (tests.test_recipes.GrouperTests) Test when group size divides evenly into the length of ... ok test_fill_value (tests.test_recipes.GrouperTests) Test that the fill value is used to pad the final group ... ok test_legacy_order (tests.test_recipes.GrouperTests) Historically, grouper expected the n as the first parameter ... ok test_odd (tests.test_recipes.GrouperTests) Test when group size does not divide evenly into the length of the ... ok test_exact_exception (tests.test_recipes.IterExceptTests) ensure the exact specified exception is caught ... ok test_first (tests.test_recipes.IterExceptTests) ensure first is run before the function ... ok test_generic_exception (tests.test_recipes.IterExceptTests) ensure the generic exception can be caught ... ok test_uncaught_exception_is_raised (tests.test_recipes.IterExceptTests) ensure a non-specified exception is raised ... ok test_happy_path (tests.test_recipes.NcyclesTests) cycle a sequence three times ... ok test_null_case (tests.test_recipes.NcyclesTests) asking for 0 cycles should return an empty iterator ... ok test_pathalogical_case (tests.test_recipes.NcyclesTests) asking for negative cycles should return an empty iterator ... ok test_basic (tests.test_recipes.NthCombinationTests) ... ok test_invalid_index (tests.test_recipes.NthCombinationTests) ... ok test_invalid_r (tests.test_recipes.NthCombinationTests) ... ok test_long (tests.test_recipes.NthCombinationTests) ... ok test_basic (tests.test_recipes.NthTests) Make sure the nth item is returned ... ok test_default (tests.test_recipes.NthTests) Ensure a default value is returned when nth item not found ... ok test_negative_item_raises (tests.test_recipes.NthTests) Ensure asking for a negative item raises an exception ... ok test_happy_path (tests.test_recipes.PadnoneTests) wrapper iterator should return None indefinitely ... ok test_base_case (tests.test_recipes.PairwiseTests) ensure an iterable will return pairwise ... ok test_short_case (tests.test_recipes.PairwiseTests) ensure an empty iterator if there's not enough values to pair ... ok test_arbitrary (tests.test_recipes.PartitionTests) ... ok test_bool (tests.test_recipes.PartitionTests) ... ok test_pred_is_none (tests.test_recipes.PartitionTests) ... ok test_combinatorics (tests.test_recipes.PowersetTests) Ensure a proper enumeration ... ok test_basic (tests.test_recipes.PrependTests) ... ok test_multiple (tests.test_recipes.PrependTests) ... ok test_custom_predicate (tests.test_recipes.QuantifyTests) Ensure non-default predicates return as expected ... ok test_happy_path (tests.test_recipes.QuantifyTests) Make sure True count is returned ... ok test_no_replacement (tests.test_recipes.RandomCombinationTests) ensure that elements are sampled without replacement ... ok test_pseudorandomness (tests.test_recipes.RandomCombinationTests) ensure different subsets of the iterable get returned over many ... ok test_pseudorandomness (tests.test_recipes.RandomCombinationWithReplacementTests) ensure different subsets of the iterable get returned over many ... ok test_replacement (tests.test_recipes.RandomCombinationWithReplacementTests) ensure that elements are sampled with replacement ... ok test_full_permutation (tests.test_recipes.RandomPermutationTests) ensure every item from the iterable is returned in a new ordering ... ok test_partial_permutation (tests.test_recipes.RandomPermutationTests) ensure all returned items are from the iterable, that the returned ... ok test_list_with_repeat (tests.test_recipes.RandomProductTests) ensure multiple items are chosen, and that they appear to be chosen ... ok test_simple_lists (tests.test_recipes.RandomProductTests) Ensure that one item is chosen from each list in each pair. ... ok test_added_arguments (tests.test_recipes.RepeatfuncTests) ensure arguments are applied to the function ... ok test_finite_repeat (tests.test_recipes.RepeatfuncTests) ensure limited repeat when times is provided ... ok test_null_times (tests.test_recipes.RepeatfuncTests) repeat 0 should return an empty iterator ... ok test_simple_repeat (tests.test_recipes.RepeatfuncTests) test simple repeated functions ... ok test_even_groups (tests.test_recipes.RoundrobinTests) Ensure ordered output from evenly populated iterables ... ok test_uneven_groups (tests.test_recipes.RoundrobinTests) Ensure ordered output from unevenly populated iterables ... ok test_count (tests.test_recipes.TabulateTests) Ensure tabulate accepts specific count ... ok test_simple_tabulate (tests.test_recipes.TabulateTests) Test the happy path ... ok test_equal (tests.test_recipes.TailTests) Length of iterable is equal to the requested tail ... ok test_greater (tests.test_recipes.TailTests) Length of iterable is greater than requested tail ... ok test_less (tests.test_recipes.TailTests) Length of iterable is less than requested tail ... ok test_negative_take (tests.test_recipes.TakeTests) Make sure taking negative items results in a ValueError ... ok test_null_take (tests.test_recipes.TakeTests) Check the null case ... ok test_simple_take (tests.test_recipes.TakeTests) Test basic usage ... ok test_take_too_much (tests.test_recipes.TakeTests) Taking more than an iterator has remaining should return what the ... ok test_custom_key (tests.test_recipes.UniqueEverseenTests) ensure the custom key comparison works ... ok test_everseen (tests.test_recipes.UniqueEverseenTests) ensure duplicate elements are ignored ... ok test_unhashable (tests.test_recipes.UniqueEverseenTests) ensure things work for unhashable items ... ok test_unhashable_key (tests.test_recipes.UniqueEverseenTests) ensure things work for unhashable items with a custom key ... ok test_custom_key (tests.test_recipes.UniqueJustseenTests) ensure the custom key comparison works ... ok test_justseen (tests.test_recipes.UniqueJustseenTests) ensure only last item is remembered ... 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 ---------------------------------------------------------------------- Ran 505 tests in 0.978s OK + exit 0 Processing files: python39-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch warning: File not found: /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/lib/python3.9/site-packages/more_itertools/tests Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EfXyGQ + umask 022 + cd /builddir/build/BUILD + cd more-itertools-8.5.0 + DOCDIR=/builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/share/doc/python39-more-itertools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/share/doc/python39-more-itertools + cp -pr README.rst /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/share/doc/python39-more-itertools + cp -pr PKG-INFO /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/share/doc/python39-more-itertools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FFqCn8 + umask 022 + cd /builddir/build/BUILD + cd more-itertools-8.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/share/licenses/python39-more-itertools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/share/licenses/python39-more-itertools + cp -pr LICENSE /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch/usr/share/licenses/python39-more-itertools + exit 0 Provides: python3.9dist(more-itertools) = 8.5.0 python39-more-itertools = 8.5.0-2.module+el8.8.0+693+9ffdefbc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch Wrote: /builddir/build/RPMS/python39-more-itertools-8.5.0-2.module+el8.8.0+693+9ffdefbc.noarch.rpm Child return code was: 0