0s autopkgtest [15:52:46]: starting date and time: 2025-01-03 15:52:46+0000 0s autopkgtest [15:52:46]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [15:52:46]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.dqo_yqbt/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade more-itertools --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-3.secgroup --name adt-plucky-arm64-more-itertools-20250103-155246-juju-7f2275-prod-proposed-migration-environment-2-faffd1a1-edb9-4394-9a7a-f180d246148d --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 116s autopkgtest [15:54:42]: testbed dpkg architecture: arm64 116s autopkgtest [15:54:42]: testbed apt version: 2.9.18 116s autopkgtest [15:54:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 116s autopkgtest [15:54:42]: testbed release detected to be: None 117s autopkgtest [15:54:43]: updating testbed package index (apt update) 118s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 118s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 118s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 118s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 118s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 118s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 118s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 118s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 118s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [98.4 kB] 118s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 118s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [675 kB] 118s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.3 kB] 118s Fetched 1792 kB in 1s (2032 kB/s) 119s Reading package lists... 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 121s Calculating upgrade... 121s The following packages will be upgraded: 121s base-passwd bash-completion 121s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s Need to get 267 kB of archives. 121s After this operation, 143 kB of additional disk space will be used. 121s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 121s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 122s Preconfiguring packages ... 122s Fetched 267 kB in 0s (573 kB/s) 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80060 files and directories currently installed.) 122s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 122s Unpacking base-passwd (3.6.6) over (3.6.5) ... 122s Setting up base-passwd (3.6.6) ... 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80060 files and directories currently installed.) 123s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 123s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 123s Setting up bash-completion (1:2.16.0-1) ... 123s Processing triggers for man-db (2.13.0-1) ... 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 125s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 125s autopkgtest [15:54:51]: upgrading testbed (apt dist-upgrade and autopurge) 125s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 126s Starting 2 pkgProblemResolver with broken count: 0 126s Done 127s Entering ResolveByKeep 127s 128s The following packages were automatically installed and are no longer required: 128s python3.12 python3.12-minimal 128s Use 'sudo apt autoremove' to remove them. 128s The following NEW packages will be installed: 128s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 128s The following packages will be upgraded: 128s libpython3-stdlib python3 python3-minimal 128s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 128s Need to get 5992 kB of archives. 128s After this operation, 24.3 MB of additional disk space will be used. 128s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 128s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 128s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 128s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 128s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 128s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 129s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 129s Fetched 5992 kB in 1s (6937 kB/s) 129s Selecting previously unselected package libpython3.13-minimal:arm64. 129s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 129s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 129s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 129s Selecting previously unselected package python3.13-minimal. 129s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 129s Unpacking python3.13-minimal (3.13.1-2) ... 129s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 129s Setting up python3.13-minimal (3.13.1-2) ... 130s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80505 files and directories currently installed.) 130s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 130s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 130s Setting up python3-minimal (3.13.1-1~exp2) ... 130s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80505 files and directories currently installed.) 130s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 130s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 130s Selecting previously unselected package libpython3.13-stdlib:arm64. 130s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 130s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 131s Selecting previously unselected package python3.13. 131s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 131s Unpacking python3.13 (3.13.1-2) ... 131s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 131s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 131s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 131s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 131s Setting up python3.13 (3.13.1-2) ... 132s Setting up python3 (3.13.1-1~exp2) ... 132s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 132s for fn in glob1(directory, "%s.*" % fname): 132s Processing triggers for man-db (2.13.0-1) ... 132s Processing triggers for systemd (257-2ubuntu1) ... 133s Reading package lists... 133s Building dependency tree... 133s Reading state information... 133s Starting pkgProblemResolver with broken count: 0 133s Starting 2 pkgProblemResolver with broken count: 0 133s Done 134s The following packages will be REMOVED: 134s python3.12* python3.12-minimal* 135s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 135s After this operation, 8710 kB disk space will be freed. 135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80922 files and directories currently installed.) 135s Removing python3.12 (3.12.8-3) ... 135s Removing python3.12-minimal (3.12.8-3) ... 135s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 135s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 135s Processing triggers for man-db (2.13.0-1) ... 136s Processing triggers for systemd (257-2ubuntu1) ... 136s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80894 files and directories currently installed.) 136s Purging configuration files for python3.12-minimal (3.12.8-3) ... 140s autopkgtest [15:55:06]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 141s autopkgtest [15:55:07]: @@@@@@@@@@@@@@@@@@@@ apt-source more-itertools 142s Get:1 http://ftpmaster.internal/ubuntu plucky/main more-itertools 10.5.0-1 (dsc) [2100 B] 142s Get:2 http://ftpmaster.internal/ubuntu plucky/main more-itertools 10.5.0-1 (tar) [116 kB] 142s Get:3 http://ftpmaster.internal/ubuntu plucky/main more-itertools 10.5.0-1 (diff) [3600 B] 143s gpgv: Signature made Sat Sep 28 17:05:09 2024 UTC 143s gpgv: using RSA key B70DFC6F134FECFC011E62AA83016014251D1DB0 143s gpgv: Can't check signature: No public key 143s dpkg-source: warning: cannot verify inline signature for ./more-itertools_10.5.0-1.dsc: no acceptable signature found 143s autopkgtest [15:55:09]: testing package more-itertools version 10.5.0-1 143s autopkgtest [15:55:09]: build not needed 144s autopkgtest [15:55:10]: test command1: preparing testbed 144s Reading package lists... 145s Building dependency tree... 145s Reading state information... 145s Starting pkgProblemResolver with broken count: 0 145s Starting 2 pkgProblemResolver with broken count: 0 145s Done 146s The following NEW packages will be installed: 146s docutils-common flit python3-all python3-docutils python3-roman 146s python3-tomli-w python3.12 python3.12-minimal sgml-base xml-core 146s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 146s Need to get 3580 kB of archives. 146s After this operation, 11.8 MB of additional disk space will be used. 146s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.8-3 [2236 kB] 146s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 sgml-base all 1.31 [11.4 kB] 146s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.8-3 [667 kB] 146s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 xml-core all 0.19 [20.3 kB] 146s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 146s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-roman all 4.2-1 [10.0 kB] 146s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 146s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli-w all 1.0.0-2 [7368 B] 146s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 flit all 3.9.0-2 [86.3 kB] 146s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.13.1-1~exp2 [894 B] 147s Fetched 3580 kB in 1s (4783 kB/s) 147s Selecting previously unselected package python3.12-minimal. 147s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80894 files and directories currently installed.) 147s Preparing to unpack .../0-python3.12-minimal_3.12.8-3_arm64.deb ... 147s Unpacking python3.12-minimal (3.12.8-3) ... 147s Selecting previously unselected package sgml-base. 147s Preparing to unpack .../1-sgml-base_1.31_all.deb ... 147s Unpacking sgml-base (1.31) ... 147s Selecting previously unselected package python3.12. 147s Preparing to unpack .../2-python3.12_3.12.8-3_arm64.deb ... 147s Unpacking python3.12 (3.12.8-3) ... 147s Selecting previously unselected package xml-core. 147s Preparing to unpack .../3-xml-core_0.19_all.deb ... 147s Unpacking xml-core (0.19) ... 147s Selecting previously unselected package docutils-common. 147s Preparing to unpack .../4-docutils-common_0.21.2+dfsg-2_all.deb ... 147s Unpacking docutils-common (0.21.2+dfsg-2) ... 147s Selecting previously unselected package python3-roman. 147s Preparing to unpack .../5-python3-roman_4.2-1_all.deb ... 147s Unpacking python3-roman (4.2-1) ... 147s Selecting previously unselected package python3-docutils. 147s Preparing to unpack .../6-python3-docutils_0.21.2+dfsg-2_all.deb ... 147s Unpacking python3-docutils (0.21.2+dfsg-2) ... 147s Selecting previously unselected package python3-tomli-w. 147s Preparing to unpack .../7-python3-tomli-w_1.0.0-2_all.deb ... 147s Unpacking python3-tomli-w (1.0.0-2) ... 147s Selecting previously unselected package flit. 148s Preparing to unpack .../8-flit_3.9.0-2_all.deb ... 148s Unpacking flit (3.9.0-2) ... 148s Selecting previously unselected package python3-all. 148s Preparing to unpack .../9-python3-all_3.13.1-1~exp2_arm64.deb ... 148s Unpacking python3-all (3.13.1-1~exp2) ... 148s Setting up python3.12-minimal (3.12.8-3) ... 149s Setting up python3.12 (3.12.8-3) ... 150s Setting up python3-all (3.13.1-1~exp2) ... 150s Setting up python3-roman (4.2-1) ... 150s Setting up sgml-base (1.31) ... 150s Setting up python3-tomli-w (1.0.0-2) ... 151s Setting up xml-core (0.19) ... 151s Processing triggers for systemd (257-2ubuntu1) ... 151s Processing triggers for man-db (2.13.0-1) ... 151s Processing triggers for sgml-base (1.31) ... 151s Setting up docutils-common (0.21.2+dfsg-2) ... 151s Processing triggers for sgml-base (1.31) ... 151s Setting up python3-docutils (0.21.2+dfsg-2) ... 152s Setting up flit (3.9.0-2) ... 153s autopkgtest [15:55:19]: test command1: set -e ; cp -r setup.* README.rst docs/ tests/ "$AUTOPKGTEST_TMP" ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -m unittest -v ; done 153s autopkgtest [15:55:19]: test command1: [----------------------- 154s Testing with python3.12: 154s test_call_once (tests.test_more.AdjacentTests.test_call_once) 154s Test that the predicate is only called once per item. ... ok 154s test_consecutive_true (tests.test_more.AdjacentTests.test_consecutive_true) 154s Test that when the predicate matches multiple consecutive elements ... ok 154s test_distance (tests.test_more.AdjacentTests.test_distance) ... ok 154s test_empty_iterable (tests.test_more.AdjacentTests.test_empty_iterable) ... ok 154s test_grouping (tests.test_more.AdjacentTests.test_grouping) 154s Test interaction of adjacent() with groupby_transform() ... ok 154s test_large_distance (tests.test_more.AdjacentTests.test_large_distance) 154s Test distance larger than the length of the iterable ... ok 154s test_length_one (tests.test_more.AdjacentTests.test_length_one) ... ok 154s test_negative_distance (tests.test_more.AdjacentTests.test_negative_distance) 154s Test that adjacent() raises an error with negative distance ... ok 154s test_typical (tests.test_more.AdjacentTests.test_typical) ... ok 154s test_zero_distance (tests.test_more.AdjacentTests.test_zero_distance) 154s Test that adjacent() reduces to zip+map when distance is 0 ... ok 154s test_basic (tests.test_more.AllUniqueTests.test_basic) ... ok 154s test_infinite (tests.test_more.AllUniqueTests.test_infinite) ... ok 154s test_key (tests.test_more.AllUniqueTests.test_key) ... ok 154s test_non_hashable (tests.test_more.AllUniqueTests.test_non_hashable) ... ok 154s test_partially_hashable (tests.test_more.AllUniqueTests.test_partially_hashable) ... ok 154s test_nonseq_reversed (tests.test_more.AlwaysReversibleTests.test_nonseq_reversed) ... ok 154s test_regular_reversed (tests.test_more.AlwaysReversibleTests.test_regular_reversed) ... ok 154s test_basic (tests.test_more.BucketTests.test_basic) ... ok 154s test_in (tests.test_more.BucketTests.test_in) ... ok 154s test_list (tests.test_more.BucketTests.test_list) ... ok 154s test_list_validator (tests.test_more.BucketTests.test_list_validator) ... ok 154s test_validator (tests.test_more.BucketTests.test_validator) ... ok 154s test_abort (tests.test_more.CallbackIterTests.test_abort) ... ok 154s test_basic (tests.test_more.CallbackIterTests.test_basic) ... ok 154s test_callback_kwd (tests.test_more.CallbackIterTests.test_callback_kwd) ... ok 154s test_exception (tests.test_more.CallbackIterTests.test_exception) ... ok 154s test_no_result (tests.test_more.CallbackIterTests.test_no_result) ... ok 154s test_partial_consumption (tests.test_more.CallbackIterTests.test_partial_consumption) ... ok 154s test_0 (tests.test_more.ChunkedEvenTests.test_0) ... ok 154s test_1 (tests.test_more.ChunkedEvenTests.test_1) ... ok 154s test_4 (tests.test_more.ChunkedEvenTests.test_4) ... ok 154s test_5 (tests.test_more.ChunkedEvenTests.test_5) ... ok 154s test_6 (tests.test_more.ChunkedEvenTests.test_6) ... ok 154s test_7 (tests.test_more.ChunkedEvenTests.test_7) ... ok 154s test_evenness (tests.test_more.ChunkedEvenTests.test_evenness) ... ok 154s test_infinite (tests.test_more.ChunkedEvenTests.test_infinite) ... ok 154s test_even (tests.test_more.ChunkedTests.test_even) 154s Test when ``n`` divides evenly into the length of the iterable. ... ok 154s test_none (tests.test_more.ChunkedTests.test_none) 154s Test when ``n`` has the value ``None``. ... ok 154s test_odd (tests.test_more.ChunkedTests.test_odd) 154s Test when ``n`` does not divide evenly into the length of the ... ok 154s test_strict_being_true (tests.test_more.ChunkedTests.test_strict_being_true) 154s Test when ``n`` does not divide evenly into the length of the ... ok 154s test_strict_being_true_with_size_none (tests.test_more.ChunkedTests.test_strict_being_true_with_size_none) 154s Test when ``n`` has value ``None`` and the keyword strict is True ... ok 154s test_strict_false (tests.test_more.ChunkedTests.test_strict_false) 154s Test when ``n`` does not divide evenly into the length of the ... ok 154s test_duplicates (tests.test_more.CircularShiftsTests.test_duplicates) ... ok 154s test_empty (tests.test_more.CircularShiftsTests.test_empty) ... ok 154s test_simple_circular_shifts (tests.test_more.CircularShiftsTests.test_simple_circular_shifts) ... ok 154s test_steps_negative (tests.test_more.CircularShiftsTests.test_steps_negative) ... ok 154s test_steps_positive (tests.test_more.CircularShiftsTests.test_steps_positive) ... ok 154s test_steps_zero (tests.test_more.CircularShiftsTests.test_steps_zero) ... ok 154s test_basic (tests.test_more.ClassifyUniqueTests.test_basic) ... ok 154s test_key_hashable (tests.test_more.ClassifyUniqueTests.test_key_hashable) ... ok 154s test_key_non_hashable (tests.test_more.ClassifyUniqueTests.test_key_non_hashable) ... ok 154s test_key_partially_hashable (tests.test_more.ClassifyUniqueTests.test_key_partially_hashable) ... ok 154s test_non_hashable (tests.test_more.ClassifyUniqueTests.test_non_hashable) ... ok 154s test_partially_hashable (tests.test_more.ClassifyUniqueTests.test_partially_hashable) ... ok 154s test_vs_duplicates_everseen (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_everseen) ... ok 154s test_vs_duplicates_everseen_key (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_everseen_key) ... ok 154s test_vs_duplicates_justseen (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_justseen) ... ok 154s test_vs_duplicates_justseen_key (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_justseen_key) ... ok 154s test_vs_unique_everseen (tests.test_more.ClassifyUniqueTests.test_vs_unique_everseen) ... ok 154s test_vs_unique_everseen_key (tests.test_more.ClassifyUniqueTests.test_vs_unique_everseen_key) ... ok 154s test_vs_unique_justseen (tests.test_more.ClassifyUniqueTests.test_vs_unique_justseen) ... ok 154s test_vs_unique_justseen_key (tests.test_more.ClassifyUniqueTests.test_vs_unique_justseen_key) ... ok 154s test_invalid_large (tests.test_more.CombinationIndexTests.test_invalid_large) ... ok 154s test_invalid_match (tests.test_more.CombinationIndexTests.test_invalid_match) ... ok 154s test_invalid_order (tests.test_more.CombinationIndexTests.test_invalid_order) ... ok 154s test_long (tests.test_more.CombinationIndexTests.test_long) ... ok 154s test_multiplicity (tests.test_more.CombinationIndexTests.test_multiplicity) ... ok 154s test_null (tests.test_more.CombinationIndexTests.test_null) ... ok 154s test_r_equal_to_n (tests.test_more.CombinationIndexTests.test_r_equal_to_n) ... ok 154s test_r_less_than_n (tests.test_more.CombinationIndexTests.test_r_less_than_n) ... ok 154s test_invalid_large (tests.test_more.CombinationWithReplacementIndexTests.test_invalid_large) ... ok 154s test_invalid_match (tests.test_more.CombinationWithReplacementIndexTests.test_invalid_match) ... ok 154s test_invalid_order (tests.test_more.CombinationWithReplacementIndexTests.test_invalid_order) ... ok 154s test_long (tests.test_more.CombinationWithReplacementIndexTests.test_long) ... ok 154s test_multiplicity (tests.test_more.CombinationWithReplacementIndexTests.test_multiplicity) ... ok 154s test_null (tests.test_more.CombinationWithReplacementIndexTests.test_null) ... ok 154s test_r_equal_to_n (tests.test_more.CombinationWithReplacementIndexTests.test_r_equal_to_n) ... ok 154s test_r_less_than_n (tests.test_more.CombinationWithReplacementIndexTests.test_r_less_than_n) ... ok 154s test_custom_ordering (tests.test_more.ConsecutiveGroupsTest.test_custom_ordering) ... ok 154s test_exotic_ordering (tests.test_more.ConsecutiveGroupsTest.test_exotic_ordering) ... ok 154s test_numbers (tests.test_more.ConsecutiveGroupsTest.test_numbers) ... ok 154s test_bad_max (tests.test_more.ConstrainedBatchesTests.test_bad_max) ... ok 154s test_basic (tests.test_more.ConstrainedBatchesTests.test_basic) ... ok 154s test_get_len (tests.test_more.ConstrainedBatchesTests.test_get_len) ... ok 154s test_max_count (tests.test_more.ConstrainedBatchesTests.test_max_count) ... ok 154s test_strict (tests.test_more.ConstrainedBatchesTests.test_strict) ... ok 154s test_consumer (tests.test_more.ConsumerTests.test_consumer) ... ok 154s test_basic (tests.test_more.CountCycleTests.test_basic) ... ok 154s test_empty (tests.test_more.CountCycleTests.test_empty) ... ok 154s test_negative (tests.test_more.CountCycleTests.test_negative) ... ok 154s test_basic (tests.test_more.CountableTests.test_basic) ... ok 154s test_empty (tests.test_more.CountableTests.test_empty) ... ok 154s test_custom (tests.test_more.DifferenceTest.test_custom) ... ok 154s test_empty (tests.test_more.DifferenceTest.test_empty) ... ok 154s test_initial (tests.test_more.DifferenceTest.test_initial) ... ok 154s test_normal (tests.test_more.DifferenceTest.test_normal) ... ok 154s test_one (tests.test_more.DifferenceTest.test_one) ... ok 154s test_roundtrip (tests.test_more.DifferenceTest.test_roundtrip) ... ok 154s test_basic (tests.test_more.DiscreteFourierTransformTests.test_basic) ... ok 155s test_roundtrip (tests.test_more.DiscreteFourierTransformTests.test_roundtrip) ... ok 155s test_basic (tests.test_more.DistinctCombinationsTests.test_basic) ... ok 155s test_empty (tests.test_more.DistinctCombinationsTests.test_empty) ... ok 155s test_negative (tests.test_more.DistinctCombinationsTests.test_negative) ... ok 155s test_basic (tests.test_more.DistinctPermutationsTests.test_basic) ... ok 155s test_r (tests.test_more.DistinctPermutationsTests.test_r) ... ok 155s test_unhashable (tests.test_more.DistinctPermutationsTests.test_unhashable) ... ok 155s test_unsortable (tests.test_more.DistinctPermutationsTests.test_unsortable) ... ok 155s test_unsortable_r (tests.test_more.DistinctPermutationsTests.test_unsortable_r) ... ok 155s test_unsorted_equivalent (tests.test_more.DistinctPermutationsTests.test_unsorted_equivalent) ... ok 155s test_basic (tests.test_more.DistributeTest.test_basic) ... ok 155s test_invalid_n (tests.test_more.DistributeTest.test_invalid_n) ... ok 155s test_large_n (tests.test_more.DistributeTest.test_large_n) ... ok 155s test_basic (tests.test_more.DivideTest.test_basic) ... ok 155s test_invalid_n (tests.test_more.DivideTest.test_invalid_n) ... ok 155s test_large_n (tests.test_more.DivideTest.test_large_n) ... ok 155s test_adding (tests.test_more.DoubleStarMapTests.test_adding) ... ok 155s test_construction (tests.test_more.DoubleStarMapTests.test_construction) ... ok 155s test_empty (tests.test_more.DoubleStarMapTests.test_empty) ... ok 155s test_identity (tests.test_more.DoubleStarMapTests.test_identity) ... ok 155s test_mismatch_function_different (tests.test_more.DoubleStarMapTests.test_mismatch_function_different) ... ok 155s test_mismatch_function_larger (tests.test_more.DoubleStarMapTests.test_mismatch_function_larger) ... ok 155s test_mismatch_function_smaller (tests.test_more.DoubleStarMapTests.test_mismatch_function_smaller) ... ok 155s test_no_mapping (tests.test_more.DoubleStarMapTests.test_no_mapping) ... ok 155s test_basic (tests.test_more.DuplicatesEverSeenTests.test_basic) ... ok 155s test_key_hashable (tests.test_more.DuplicatesEverSeenTests.test_key_hashable) ... ok 155s test_key_non_hashable (tests.test_more.DuplicatesEverSeenTests.test_key_non_hashable) ... ok 155s test_key_partially_hashable (tests.test_more.DuplicatesEverSeenTests.test_key_partially_hashable) ... ok 155s test_non_hashable (tests.test_more.DuplicatesEverSeenTests.test_non_hashable) ... ok 155s test_partially_hashable (tests.test_more.DuplicatesEverSeenTests.test_partially_hashable) ... ok 155s test_basic (tests.test_more.DuplicatesJustSeenTests.test_basic) ... ok 155s test_key_hashable (tests.test_more.DuplicatesJustSeenTests.test_key_hashable) ... ok 155s test_key_non_hashable (tests.test_more.DuplicatesJustSeenTests.test_key_non_hashable) ... ok 155s test_key_partially_hashable (tests.test_more.DuplicatesJustSeenTests.test_key_partially_hashable) ... ok 155s test_nested (tests.test_more.DuplicatesJustSeenTests.test_nested) ... ok 155s test_non_hashable (tests.test_more.DuplicatesJustSeenTests.test_non_hashable) ... ok 155s test_partially_hashable (tests.test_more.DuplicatesJustSeenTests.test_partially_hashable) ... ok 155s test_empty (tests.test_more.ExactlyNTests.test_empty) 155s Return ``True`` if the iterable is empty and ``n`` is 0 ... ok 155s test_false (tests.test_more.ExactlyNTests.test_false) 155s Iterable does not have ``n`` ``True`` elements ... ok 155s test_true (tests.test_more.ExactlyNTests.test_true) 155s Iterable has ``n`` ``True`` elements ... ok 155s test_false (tests.test_more.FilterExceptTests.test_false) ... ok 155s test_multiple (tests.test_more.FilterExceptTests.test_multiple) ... ok 155s test_no_exceptions_pass (tests.test_more.FilterExceptTests.test_no_exceptions_pass) ... ok 155s test_no_exceptions_raise (tests.test_more.FilterExceptTests.test_no_exceptions_raise) ... ok 155s test_raise (tests.test_more.FilterExceptTests.test_raise) ... ok 155s test_filter (tests.test_more.FilterMapTests.test_filter) ... ok 155s test_filter_map (tests.test_more.FilterMapTests.test_filter_map) ... ok 155s test_map (tests.test_more.FilterMapTests.test_map) ... ok 155s test_no_iterables (tests.test_more.FilterMapTests.test_no_iterables) ... ok 155s test_default (tests.test_more.FirstTests.test_default) ... ok 155s test_empty (tests.test_more.FirstTests.test_empty) ... ok 155s test_many (tests.test_more.FirstTests.test_many) ... ok 155s test_one (tests.test_more.FirstTests.test_one) ... ok 155s test_basic (tests.test_more.GrayProductTests.test_basic) ... ok 155s test_errors (tests.test_more.GrayProductTests.test_errors) ... ok 155s test_vs_product (tests.test_more.GrayProductTests.test_vs_product) ... ok 155s test_default_funcs (tests.test_more.GroupByTransformTests.test_default_funcs) ... ok 155s test_no_valuefunc (tests.test_more.GroupByTransformTests.test_no_valuefunc) ... ok 155s test_reducefunc (tests.test_more.GroupByTransformTests.test_reducefunc) ... ok 155s test_valuefunc (tests.test_more.GroupByTransformTests.test_valuefunc) ... ok 155s test_even (tests.test_more.IchunkedTests.test_even) ... ok 155s test_laziness (tests.test_more.IchunkedTests.test_laziness) ... ok 155s test_memory_in_order (tests.test_more.IchunkedTests.test_memory_in_order) ... ok 155s test_negative (tests.test_more.IchunkedTests.test_negative) ... ok 155s test_odd (tests.test_more.IchunkedTests.test_odd) ... ok 155s test_out_of_order (tests.test_more.IchunkedTests.test_out_of_order) ... ok 155s test_zero (tests.test_more.IchunkedTests.test_zero) ... ok 155s test_basic (tests.test_more.IequalsTests.test_basic) ... ok 155s test_empty_iterables (tests.test_more.IequalsTests.test_empty_iterables) ... ok 155s test_more_than_two_iterable (tests.test_more.IequalsTests.test_more_than_two_iterable) ... ok 155s test_no_iterables (tests.test_more.IequalsTests.test_no_iterables) ... ok 155s test_none_is_not_a_sentinel (tests.test_more.IequalsTests.test_none_is_not_a_sentinel) ... ok 155s test_not_equal_lengths (tests.test_more.IequalsTests.test_not_equal_lengths) ... ok 155s test_not_identical_but_equal (tests.test_more.IequalsTests.test_not_identical_but_equal) ... ok 155s test_one_iterable (tests.test_more.IequalsTests.test_one_iterable) ... ok 155s test_order_matters (tests.test_more.IequalsTests.test_order_matters) ... ok 155s test_ilen (tests.test_more.IlenTests.test_ilen) 155s Sanity-checks for ``ilen()``. ... ok 155s test_argument_mismatch_raises (tests.test_more.InterleaveEvenlyTests.test_argument_mismatch_raises) ... ok 155s test_degenerate_empty (tests.test_more.InterleaveEvenlyTests.test_degenerate_empty) ... ok 155s test_degenerate_one (tests.test_more.InterleaveEvenlyTests.test_degenerate_one) ... ok 155s test_equal_lengths (tests.test_more.InterleaveEvenlyTests.test_equal_lengths) ... ok 155s test_manual_lengths (tests.test_more.InterleaveEvenlyTests.test_manual_lengths) ... ok 155s test_many_iters (tests.test_more.InterleaveEvenlyTests.test_many_iters) ... ok 155s test_no_length_raises (tests.test_more.InterleaveEvenlyTests.test_no_length_raises) ... ok 155s test_not_proportional (tests.test_more.InterleaveEvenlyTests.test_not_proportional) ... ok 155s test_proportional (tests.test_more.InterleaveEvenlyTests.test_proportional) ... ok 155s test_three_iters (tests.test_more.InterleaveEvenlyTests.test_three_iters) ... ok 155s test_even (tests.test_more.InterleaveLongestTests.test_even) ... ok 155s test_mixed_types (tests.test_more.InterleaveLongestTests.test_mixed_types) ... ok 155s test_short (tests.test_more.InterleaveLongestTests.test_short) ... ok 155s test_even (tests.test_more.InterleaveTests.test_even) ... ok 155s test_mixed_types (tests.test_more.InterleaveTests.test_mixed_types) ... ok 155s test_short (tests.test_more.InterleaveTests.test_short) ... ok 155s test_even (tests.test_more.IntersperseTest.test_even) ... ok 155s test_n (tests.test_more.IntersperseTest.test_n) ... ok 155s test_n_zero (tests.test_more.IntersperseTest.test_n_zero) ... ok 155s test_nested (tests.test_more.IntersperseTest.test_nested) ... ok 155s test_not_iterable (tests.test_more.IntersperseTest.test_not_iterable) ... ok 155s test_odd (tests.test_more.IntersperseTest.test_odd) ... ok 155s test_basic (tests.test_more.IsSortedTests.test_basic) ... ok 155s test_all (tests.test_more.IsliceExtendedTests.test_all) ... ok 155s test_invalid_slice (tests.test_more.IsliceExtendedTests.test_invalid_slice) ... ok 155s test_slicing (tests.test_more.IsliceExtendedTests.test_slicing) ... ok 155s test_slicing_extensive (tests.test_more.IsliceExtendedTests.test_slicing_extensive) ... ok 155s test_zero_step (tests.test_more.IsliceExtendedTests.test_zero_step) ... ok 155s test_early_suppression (tests.test_more.IterSuppressTests.test_early_suppression) ... ok 155s test_no_error (tests.test_more.IterSuppressTests.test_no_error) ... ok 155s test_raises_error (tests.test_more.IterSuppressTests.test_raises_error) ... ok 155s test_suppression (tests.test_more.IterSuppressTests.test_suppression) ... ok 155s test_basic (tests.test_more.IterateTests.test_basic) ... ok 155s test_func_controls_iteration_stop (tests.test_more.IterateTests.test_func_controls_iteration_stop) ... ok 155s test_basic (tests.test_more.JoinMappingTests.test_basic) ... ok 155s test_empty (tests.test_more.JoinMappingTests.test_empty) ... ok 155s test_basic (tests.test_more.LastTests.test_basic) ... ok 155s test_default (tests.test_more.LastTests.test_default) ... ok 155s test_empty (tests.test_more.LastTests.test_empty) ... ok 155s test_custom_pred (tests.test_more.LocateTests.test_custom_pred) ... ok 155s test_default_pred (tests.test_more.LocateTests.test_default_pred) ... ok 155s test_no_matches (tests.test_more.LocateTests.test_no_matches) ... ok 155s test_window_size (tests.test_more.LocateTests.test_window_size) ... ok 155s test_window_size_large (tests.test_more.LocateTests.test_window_size_large) ... ok 155s test_window_size_zero (tests.test_more.LocateTests.test_window_size_zero) ... ok 155s test_basic (tests.test_more.LongestCommonPrefixTests.test_basic) ... ok 155s test_contains_infinite_iterables (tests.test_more.LongestCommonPrefixTests.test_contains_infinite_iterables) ... ok 155s test_empty_iterables_only (tests.test_more.LongestCommonPrefixTests.test_empty_iterables_only) ... ok 155s test_includes_empty_iterables (tests.test_more.LongestCommonPrefixTests.test_includes_empty_iterables) ... ok 155s test_infinite_iterables (tests.test_more.LongestCommonPrefixTests.test_infinite_iterables) ... ok 155s test_iterators (tests.test_more.LongestCommonPrefixTests.test_iterators) ... ok 155s test_no_iterables (tests.test_more.LongestCommonPrefixTests.test_no_iterables) ... ok 155s test_non_hashable (tests.test_more.LongestCommonPrefixTests.test_non_hashable) ... ok 155s test_prefix_contains_elements_of_the_first_iterable (tests.test_more.LongestCommonPrefixTests.test_prefix_contains_elements_of_the_first_iterable) ... ok 155s test_basic (tests.test_more.MakeDecoratorTests.test_basic) ... ok 155s test_result_index (tests.test_more.MakeDecoratorTests.test_result_index) ... ok 155s test_wrap_class (tests.test_more.MakeDecoratorTests.test_wrap_class) ... ok 155s test_multiple (tests.test_more.MapExceptTests.test_multiple) ... ok 155s test_no_exceptions_pass (tests.test_more.MapExceptTests.test_no_exceptions_pass) ... ok 155s test_no_exceptions_raise (tests.test_more.MapExceptTests.test_no_exceptions_raise) ... ok 155s test_raise (tests.test_more.MapExceptTests.test_raise) ... ok 155s test_empty (tests.test_more.MapIfTests.test_empty) ... ok 155s test_with_func_else (tests.test_more.MapIfTests.test_with_func_else) ... ok 155s test_without_func_else (tests.test_more.MapIfTests.test_without_func_else) ... ok 155s test_default (tests.test_more.MapReduceTests.test_default) ... ok 155s test_reducefunc (tests.test_more.MapReduceTests.test_reducefunc) ... ok 155s test_ret (tests.test_more.MapReduceTests.test_ret) ... ok 155s test_valuefunc (tests.test_more.MapReduceTests.test_valuefunc) ... ok 155s test_basic (tests.test_more.MarkEndsTests.test_basic) ... ok 155s test_basic (tests.test_more.MinMaxTests.test_basic) ... ok 155s test_default (tests.test_more.MinMaxTests.test_default) ... ok 155s test_iterables (tests.test_more.MinMaxTests.test_iterables) ... ok 155s test_key (tests.test_more.MinMaxTests.test_key) ... ok 155s test_unpacked (tests.test_more.MinMaxTests.test_unpacked) ... ok 155s test_basic (tests.test_more.NthCombinationWithReplacementTests.test_basic) ... ok 155s test_invalid_index (tests.test_more.NthCombinationWithReplacementTests.test_invalid_index) ... ok 155s test_invalid_r (tests.test_more.NthCombinationWithReplacementTests.test_invalid_r) ... ok 155s test_long (tests.test_more.NthCombinationWithReplacementTests.test_long) ... ok 155s test_basic (tests.test_more.NthOrLastTests.test_basic) ... ok 155s test_default_value (tests.test_more.NthOrLastTests.test_default_value) ... ok 155s test_empty_iterable_no_default (tests.test_more.NthOrLastTests.test_empty_iterable_no_default) ... ok 155s test_basic (tests.test_more.NthProductTests.test_basic) ... ok 155s test_invalid_index (tests.test_more.NthProductTests.test_invalid_index) ... ok 155s test_long (tests.test_more.NthProductTests.test_long) ... ok 155s test_negative (tests.test_more.NthProductTests.test_negative) ... ok 155s test_arg_count (tests.test_more.NumericRangeTests.test_arg_count) ... ok 155s test_bad_key (tests.test_more.NumericRangeTests.test_bad_key) ... ok 155s test_basic (tests.test_more.NumericRangeTests.test_basic) ... ok 155s test_bool (tests.test_more.NumericRangeTests.test_bool) ... ok 155s test_contains (tests.test_more.NumericRangeTests.test_contains) ... ok 155s test_count (tests.test_more.NumericRangeTests.test_count) ... ok 155s test_eq (tests.test_more.NumericRangeTests.test_eq) ... ok 155s test_get_item_by_index (tests.test_more.NumericRangeTests.test_get_item_by_index) ... ok 155s test_get_item_by_slice (tests.test_more.NumericRangeTests.test_get_item_by_slice) ... ok 155s test_hash (tests.test_more.NumericRangeTests.test_hash) ... ok 155s test_index (tests.test_more.NumericRangeTests.test_index) ... ok 155s test_iter_twice (tests.test_more.NumericRangeTests.test_iter_twice) ... ok 155s test_len (tests.test_more.NumericRangeTests.test_len) ... ok 155s test_parent_classes (tests.test_more.NumericRangeTests.test_parent_classes) ... ok 155s test_pickle (tests.test_more.NumericRangeTests.test_pickle) ... ok 155s test_repr (tests.test_more.NumericRangeTests.test_repr) ... ok 155s test_reversed (tests.test_more.NumericRangeTests.test_reversed) ... ok 155s test_zero_step (tests.test_more.NumericRangeTests.test_zero_step) ... ok 155s test_basic (tests.test_more.OneTests.test_basic) ... ok 155s test_too_long (tests.test_more.OneTests.test_too_long) ... ok 155s test_too_long_default_message (tests.test_more.OneTests.test_too_long_default_message) ... ok 155s test_too_short (tests.test_more.OneTests.test_too_short) ... ok 155s test_custom_exception (tests.test_more.OnlyTests.test_custom_exception) ... ok 155s test_custom_value (tests.test_more.OnlyTests.test_custom_value) ... ok 155s test_default_exception_message (tests.test_more.OnlyTests.test_default_exception_message) ... ok 155s test_defaults (tests.test_more.OnlyTests.test_defaults) ... ok 155s test_basic (tests.test_more.OuterProductTests.test_basic) ... ok 155s test_invalid_n (tests.test_more.PaddedTest.test_invalid_n) ... ok 155s test_next_multiple (tests.test_more.PaddedTest.test_next_multiple) ... ok 155s test_no_n (tests.test_more.PaddedTest.test_no_n) ... ok 155s test_valid_n (tests.test_more.PaddedTest.test_valid_n) ... ok 155s test_basic (tests.test_more.PartialProductTests.test_basic) ... ok 155s test_empty_iterable (tests.test_more.PartialProductTests.test_empty_iterable) ... ok 155s test_no_iterables (tests.test_more.PartialProductTests.test_no_iterables) ... ok 155s test_one_iterable (tests.test_more.PartialProductTests.test_one_iterable) ... ok 155s test_two_iterables (tests.test_more.PartialProductTests.test_two_iterables) ... ok 155s test_uneven_length_iterables (tests.test_more.PartialProductTests.test_uneven_length_iterables) ... ok 155s test_duplicates (tests.test_more.PartitionsTest.test_duplicates) ... ok 155s test_empty (tests.test_more.PartitionsTest.test_empty) ... ok 155s test_order (tests.test_more.PartitionsTest.test_order) ... ok 155s test_types (tests.test_more.PartitionsTest.test_types) ... ok 155s test_empty (tests.test_more.PeekableTests.test_empty) 155s Tests prepending in front of an empty iterable ... ok 155s test_indexing (tests.test_more.PeekableTests.test_indexing) 155s Indexing into the peekable shouldn't advance the iterator. ... ok 155s test_multi_prepend (tests.test_more.PeekableTests.test_multi_prepend) 155s Tests prepending multiple items and getting them in proper order ... ok 155s test_multi_prepend_peek (tests.test_more.PeekableTests.test_multi_prepend_peek) 155s Tests prepending multiple elements and getting them in reverse order ... ok 155s test_passthrough (tests.test_more.PeekableTests.test_passthrough) 155s Iterating a peekable without using ``peek()`` or ``prepend()`` ... ok 155s test_peek_default (tests.test_more.PeekableTests.test_peek_default) 155s Make sure passing a default into ``peek()`` works. ... ok 155s test_prepend (tests.test_more.PeekableTests.test_prepend) 155s Tests interspersed ``prepend()`` and ``next()`` calls ... ok 155s test_prepend_after_stop (tests.test_more.PeekableTests.test_prepend_after_stop) 155s Test resuming iteration after a previous exhaustion ... ok 155s test_prepend_indexing (tests.test_more.PeekableTests.test_prepend_indexing) 155s Tests interaction between prepending and indexing ... ok 155s test_prepend_iterable (tests.test_more.PeekableTests.test_prepend_iterable) 155s Tests prepending from an iterable ... ok 155s test_prepend_many (tests.test_more.PeekableTests.test_prepend_many) 155s Tests that prepending a huge number of elements works ... ok 155s test_prepend_reversed (tests.test_more.PeekableTests.test_prepend_reversed) 155s Tests prepending from a reversed iterable ... ok 155s test_prepend_slicing (tests.test_more.PeekableTests.test_prepend_slicing) 155s Tests interaction between prepending and slicing ... ok 155s test_prepend_truthiness (tests.test_more.PeekableTests.test_prepend_truthiness) 155s Tests that ``__bool__()`` or ``__nonzero__()`` works properly ... ok 155s test_simple_peeking (tests.test_more.PeekableTests.test_simple_peeking) 155s Make sure ``next`` and ``peek`` advance and don't advance the ... ok 155s test_slicing (tests.test_more.PeekableTests.test_slicing) 155s Slicing the peekable shouldn't advance the iterator. ... ok 155s test_slicing_error (tests.test_more.PeekableTests.test_slicing_error) ... ok 155s test_slicing_reset (tests.test_more.PeekableTests.test_slicing_reset) 155s Test slicing on a fresh iterable each time ... ok 155s test_truthiness (tests.test_more.PeekableTests.test_truthiness) 155s Make sure a ``peekable`` tests true iff there are items remaining in ... ok 155s test_invalid_large (tests.test_more.PermutationIndexTests.test_invalid_large) ... ok 155s test_invalid_match (tests.test_more.PermutationIndexTests.test_invalid_match) ... ok 155s test_long (tests.test_more.PermutationIndexTests.test_long) ... ok 155s test_multiplicity (tests.test_more.PermutationIndexTests.test_multiplicity) ... ok 155s test_null (tests.test_more.PermutationIndexTests.test_null) ... ok 155s test_r_equal_to_n (tests.test_more.PermutationIndexTests.test_r_equal_to_n) ... ok 155s test_r_less_than_n (tests.test_more.PermutationIndexTests.test_r_less_than_n) ... ok 155s test_hash_count (tests.test_more.PowersetOfSetsTests.test_hash_count) ... ok 155s test_simple (tests.test_more.PowersetOfSetsTests.test_simple) ... ok 155s test_basic (tests.test_more.ProductIndexTests.test_basic) ... ok 155s test_invalid_empty (tests.test_more.ProductIndexTests.test_invalid_empty) ... ok 155s test_invalid_large (tests.test_more.ProductIndexTests.test_invalid_large) ... ok 155s test_invalid_match (tests.test_more.ProductIndexTests.test_invalid_match) ... ok 155s test_invalid_small (tests.test_more.ProductIndexTests.test_invalid_small) ... ok 155s test_long (tests.test_more.ProductIndexTests.test_long) ... ok 155s test_multiplicity (tests.test_more.ProductIndexTests.test_multiplicity) ... ok 155s test_basic (tests.test_more.RepeatEachTests.test_basic) ... ok 155s test_default (tests.test_more.RepeatEachTests.test_default) ... ok 155s test_empty (tests.test_more.RepeatEachTests.test_empty) ... ok 155s test_infinite_input (tests.test_more.RepeatEachTests.test_infinite_input) ... ok 155s test_negative_repeat (tests.test_more.RepeatEachTests.test_negative_repeat) ... ok 155s test_no_repeat (tests.test_more.RepeatEachTests.test_no_repeat) ... ok 155s test_basic (tests.test_more.RepeatLastTests.test_basic) ... ok 155s test_default_value (tests.test_more.RepeatLastTests.test_default_value) ... ok 155s test_empty_iterable (tests.test_more.RepeatLastTests.test_empty_iterable) ... ok 155s test_basic (tests.test_more.ReplaceTests.test_basic) ... ok 155s test_count (tests.test_more.ReplaceTests.test_count) ... ok 155s test_iterable_substitutes (tests.test_more.ReplaceTests.test_iterable_substitutes) ... ok 155s test_window_size (tests.test_more.ReplaceTests.test_window_size) ... ok 155s test_window_size_count (tests.test_more.ReplaceTests.test_window_size_count) ... ok 155s test_window_size_end (tests.test_more.ReplaceTests.test_window_size_end) ... ok 155s test_window_size_large (tests.test_more.ReplaceTests.test_window_size_large) ... ok 155s test_window_size_zero (tests.test_more.ReplaceTests.test_window_size_zero) ... ok 155s test_custom_pred (tests.test_more.RlocateTests.test_custom_pred) ... ok 155s test_default_pred (tests.test_more.RlocateTests.test_default_pred) ... ok 155s test_efficient_reversal (tests.test_more.RlocateTests.test_efficient_reversal) ... ok 155s test_no_matches (tests.test_more.RlocateTests.test_no_matches) ... ok 155s test_window_size (tests.test_more.RlocateTests.test_window_size) ... ok 155s test_window_size_large (tests.test_more.RlocateTests.test_window_size_large) ... ok 155s test_window_size_zero (tests.test_more.RlocateTests.test_window_size_zero) ... ok 155s test_decode (tests.test_more.RunLengthTest.test_decode) ... ok 155s test_encode (tests.test_more.RunLengthTest.test_encode) ... ok 155s test_counts (tests.test_more.SampleTests.test_counts) ... ok 155s test_counts_all (tests.test_more.SampleTests.test_counts_all) ... ok 155s test_invariance_under_permutations_unweighted (tests.test_more.SampleTests.test_invariance_under_permutations_unweighted) 155s The order of the data should not matter. This is a stochastic test, ... ok 155s test_invariance_under_permutations_weighted (tests.test_more.SampleTests.test_invariance_under_permutations_weighted) 155s The order of the data should not matter. This is a stochastic test, ... ok 155s test_length (tests.test_more.SampleTests.test_length) 155s Check that *k* elements are sampled. ... ok 155s test_negative (tests.test_more.SampleTests.test_negative) ... ok 155s test_sampling_entire_iterable (tests.test_more.SampleTests.test_sampling_entire_iterable) 155s If k=len(iterable), the sample contains the original elements. ... ok 155s test_scale_invariance_of_weights (tests.test_more.SampleTests.test_scale_invariance_of_weights) 155s The probability of choosing element a_i is w_i / sum(weights). ... ok 155s test_strict (tests.test_more.SampleTests.test_strict) ... ok 155s test_unit_case (tests.test_more.SampleTests.test_unit_case) 155s Test against a fixed case by seeding the random module. ... ok 155s test_elements (tests.test_more.SeekableTest.test_elements) ... ok 155s test_exhaustion_reset (tests.test_more.SeekableTest.test_exhaustion_reset) ... ok 155s test_forward (tests.test_more.SeekableTest.test_forward) ... ok 155s test_maxlen (tests.test_more.SeekableTest.test_maxlen) ... ok 155s test_maxlen_zero (tests.test_more.SeekableTest.test_maxlen_zero) ... ok 155s test_partial_reset (tests.test_more.SeekableTest.test_partial_reset) ... ok 155s test_passthrough (tests.test_more.SeekableTest.test_passthrough) 155s Iterating a peekable without using ``peek()`` or ``prepend()`` ... ok 155s test_past_end (tests.test_more.SeekableTest.test_past_end) ... ok 155s test_peek_default (tests.test_more.SeekableTest.test_peek_default) 155s Make sure passing a default into ``peek()`` works. ... ok 155s test_relative_seek (tests.test_more.SeekableTest.test_relative_seek) ... ok 155s test_simple_peeking (tests.test_more.SeekableTest.test_simple_peeking) 155s Make sure ``next`` and ``peek`` advance and don't advance the ... ok 155s test_truthiness (tests.test_more.SeekableTest.test_truthiness) 155s Make sure a ``peekable`` tests true iff there are items remaining in ... ok 155s test_abc_methods (tests.test_more.SequenceViewTests.test_abc_methods) ... ok 155s test_indexing (tests.test_more.SequenceViewTests.test_indexing) ... ok 155s test_init (tests.test_more.SequenceViewTests.test_init) ... ok 155s test_slicing (tests.test_more.SequenceViewTests.test_slicing) ... ok 155s test_update (tests.test_more.SequenceViewTests.test_update) ... ok 155s test_duplicates (tests.test_more.SetPartitionsTests.test_duplicates) ... ok 155s test_each_correct (tests.test_more.SetPartitionsTests.test_each_correct) ... ok 155s test_found_all (tests.test_more.SetPartitionsTests.test_found_all) 155s small example, hand-checked ... ok 155s test_max_size (tests.test_more.SetPartitionsTests.test_max_size) ... ok 155s test_min_size (tests.test_more.SetPartitionsTests.test_min_size) ... ok 155s test_no_group (tests.test_more.SetPartitionsTests.test_no_group) ... ok 155s test_repeated (tests.test_more.SetPartitionsTests.test_repeated) ... ok 155s test_stirling_numbers (tests.test_more.SetPartitionsTests.test_stirling_numbers) 155s Check against https://en.wikipedia.org/wiki/ ... ok 155s test_to_many_groups (tests.test_more.SetPartitionsTests.test_to_many_groups) ... ok 155s test_before_after (tests.test_more.SideEffectTests.test_before_after) ... ok 155s test_before_fails (tests.test_more.SideEffectTests.test_before_fails) ... ok 155s test_chunked (tests.test_more.SideEffectTests.test_chunked) ... ok 155s test_individual (tests.test_more.SideEffectTests.test_individual) ... ok 155s test_even (tests.test_more.SlicedTests.test_even) 155s Test when the length of the sequence is divisible by *n* ... ok 155s test_not_sliceable (tests.test_more.SlicedTests.test_not_sliceable) ... ok 155s test_numpy_like_array (tests.test_more.SlicedTests.test_numpy_like_array) ... ok 155s test_odd (tests.test_more.SlicedTests.test_odd) 155s Test when the length of the sequence is not divisible by *n* ... ok 155s test_odd_and_strict (tests.test_more.SlicedTests.test_odd_and_strict) ... ok 155s test_invalid_key_list (tests.test_more.SortTogetherTest.test_invalid_key_list) 155s tests `key_list` for indexes not available in `iterables` ... ok 155s test_key_function (tests.test_more.SortTogetherTest.test_key_function) 155s tests `key` function, including interaction with `key_list` ... ok 155s test_key_list (tests.test_more.SortTogetherTest.test_key_list) 155s tests `key_list` including default, iterables include duplicates ... ok 155s test_reverse (tests.test_more.SortTogetherTest.test_reverse) 155s tests `reverse` to ensure a reverse sort for `key_list` iterables ... ok 155s test_strict (tests.test_more.SortTogetherTest.test_strict) ... /usr/lib/python3/dist-packages/more_itertools/more.py:1742: DeprecationWarning: zip_equal will be removed in a future version of more-itertools. Use the builtin zip function with strict=True instead. 155s warnings.warn( 155s ok 155s test_uneven_iterables (tests.test_more.SortTogetherTest.test_uneven_iterables) 155s tests trimming of iterables to the shortest length before sorting ... ok 155s test_ends_with_sep (tests.test_more.SplitAfterTest.test_ends_with_sep) ... ok 155s test_max_split (tests.test_more.SplitAfterTest.test_max_split) ... ok 155s test_no_sep (tests.test_more.SplitAfterTest.test_no_sep) ... ok 155s test_starts_with_sep (tests.test_more.SplitAfterTest.test_starts_with_sep) ... ok 155s test_basic (tests.test_more.SplitAtTests.test_basic) ... ok 155s test_combination (tests.test_more.SplitAtTests.test_combination) ... ok 155s test_keep_separator (tests.test_more.SplitAtTests.test_keep_separator) ... ok 155s test_maxsplit (tests.test_more.SplitAtTests.test_maxsplit) ... ok 155s test_empty_collection (tests.test_more.SplitBeforeTest.test_empty_collection) ... ok 155s test_ends_with_sep (tests.test_more.SplitBeforeTest.test_ends_with_sep) ... ok 155s test_max_split (tests.test_more.SplitBeforeTest.test_max_split) ... ok 155s test_no_sep (tests.test_more.SplitBeforeTest.test_no_sep) ... ok 155s test_starts_with_sep (tests.test_more.SplitBeforeTest.test_starts_with_sep) ... ok 155s test_bool_in_sizes (tests.test_more.SplitIntoTests.test_bool_in_sizes) 155s A bool object is present in ``sizes`` is treated as a 1 or 0 for ... ok 155s test_both_empty (tests.test_more.SplitIntoTests.test_both_empty) 155s Both ``sizes`` and ``iterable`` arguments are empty. An empty ... ok 155s test_generator_iterable_integrity (tests.test_more.SplitIntoTests.test_generator_iterable_integrity) 155s Check that if ``iterable`` is an iterator, it is consumed only by as ... ok 155s test_generator_sizes_integrity (tests.test_more.SplitIntoTests.test_generator_sizes_integrity) 155s Check that if ``sizes`` is an iterator, it is consumed only until a ... ok 155s test_invalid_in_sizes (tests.test_more.SplitIntoTests.test_invalid_in_sizes) 155s A ValueError is raised if an object in ``sizes`` is neither ``None`` ... ok 155s test_invalid_in_sizes_after_none (tests.test_more.SplitIntoTests.test_invalid_in_sizes_after_none) 155s A item in ``sizes`` that is invalid will not raise a TypeError if it ... ok 155s test_iterable_empty (tests.test_more.SplitIntoTests.test_iterable_empty) 155s ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok 155s test_iterable_empty_using_none (tests.test_more.SplitIntoTests.test_iterable_empty_using_none) 155s ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok 155s test_iterable_just_right (tests.test_more.SplitIntoTests.test_iterable_just_right) 155s Size of ``iterable`` equals the sum of ``sizes``. ... ok 155s test_iterable_too_large (tests.test_more.SplitIntoTests.test_iterable_too_large) 155s Size of ``iterable`` is larger than sum of ``sizes``. Not all ... ok 155s test_iterable_too_small (tests.test_more.SplitIntoTests.test_iterable_too_small) 155s Size of ``iterable`` is smaller than sum of ``sizes``. Last return ... ok 155s test_iterable_too_small_extra (tests.test_more.SplitIntoTests.test_iterable_too_small_extra) 155s Size of ``iterable`` is smaller than sum of ``sizes``. Second last ... ok 155s test_sizes_empty (tests.test_more.SplitIntoTests.test_sizes_empty) 155s ``sizes`` argument is empty but ``iterable`` is not. An empty ... ok 155s test_using_none_mid_sizes (tests.test_more.SplitIntoTests.test_using_none_mid_sizes) 155s None is present in ``sizes`` but is not the last item. Last list ... ok 155s test_using_none_with_leftover (tests.test_more.SplitIntoTests.test_using_none_with_leftover) 155s Last item of ``sizes`` is None when items still remain in ... ok 155s test_using_none_without_leftover (tests.test_more.SplitIntoTests.test_using_none_without_leftover) 155s Last item of ``sizes`` is None when no items remain in ... ok 155s test_after_emulation_ends_with_sep (tests.test_more.SplitWhenTests.test_after_emulation_ends_with_sep) ... ok 155s test_after_emulation_no_sep (tests.test_more.SplitWhenTests.test_after_emulation_no_sep) ... ok 155s test_after_emulation_starts_with_sep (tests.test_more.SplitWhenTests.test_after_emulation_starts_with_sep) ... ok 155s test_before_emulation_ends_with_sep (tests.test_more.SplitWhenTests.test_before_emulation_ends_with_sep) ... ok 155s test_before_emulation_no_sep (tests.test_more.SplitWhenTests.test_before_emulation_no_sep) ... ok 155s test_before_emulation_starts_with_sep (tests.test_more.SplitWhenTests.test_before_emulation_starts_with_sep) ... ok 155s test_empty_iterable (tests.test_more.SplitWhenTests.test_empty_iterable) ... ok 155s test_max_split (tests.test_more.SplitWhenTests.test_max_split) ... ok 155s test_one_element (tests.test_more.SplitWhenTests.test_one_element) ... ok 155s test_one_element_is_first_item (tests.test_more.SplitWhenTests.test_one_element_is_first_item) ... ok 155s test_one_element_is_second_item (tests.test_more.SplitWhenTests.test_one_element_is_second_item) ... ok 155s test_basic (tests.test_more.SpyTests.test_basic) ... ok 155s test_immutable (tests.test_more.SpyTests.test_immutable) ... ok 155s test_too_many (tests.test_more.SpyTests.test_too_many) ... ok 155s test_unpacking (tests.test_more.SpyTests.test_unpacking) ... ok 155s test_zero (tests.test_more.SpyTests.test_zero) ... ok 155s test_default (tests.test_more.StaggerTest.test_default) ... ok 155s test_longest (tests.test_more.StaggerTest.test_longest) ... ok 155s test_offsets (tests.test_more.StaggerTest.test_offsets) ... ok 155s test_basic (tests.test_more.StrictlyNTests.test_basic) ... ok 155s test_too_long_custom (tests.test_more.StrictlyNTests.test_too_long_custom) ... ok 155s test_too_long_default (tests.test_more.StrictlyNTests.test_too_long_default) ... ok 155s test_too_short_custom (tests.test_more.StrictlyNTests.test_too_short_custom) ... ok 155s test_too_short_default (tests.test_more.StrictlyNTests.test_too_short_default) ... ok 155s test_hashable (tests.test_more.StripFunctionTests.test_hashable) ... ok 155s test_math (tests.test_more.StripFunctionTests.test_math) ... ok 155s test_not_hashable (tests.test_more.StripFunctionTests.test_not_hashable) ... ok 155s test_basic (tests.test_more.SubstringsIndexesTests.test_basic) ... ok 155s test_empty (tests.test_more.SubstringsIndexesTests.test_empty) ... ok 155s test_order (tests.test_more.SubstringsIndexesTests.test_order) ... ok 155s test_reverse (tests.test_more.SubstringsIndexesTests.test_reverse) ... ok 155s test_strings (tests.test_more.SubstringsIndexesTests.test_strings) ... ok 155s test_basic (tests.test_more.SubstringsTests.test_basic) ... ok 155s test_empty (tests.test_more.SubstringsTests.test_empty) ... ok 155s test_order (tests.test_more.SubstringsTests.test_order) ... ok 155s test_strings (tests.test_more.SubstringsTests.test_strings) ... ok 155s test_basic (tests.test_more.TakewhileInclusiveTests.test_basic) ... ok 155s test_collatz_sequence (tests.test_more.TakewhileInclusiveTests.test_collatz_sequence) ... ok 155s test_empty_iterator (tests.test_more.TakewhileInclusiveTests.test_empty_iterator) ... ok 155s test_base_type (tests.test_more.TestAlwaysIterable.test_base_type) ... ok 155s test_generator (tests.test_more.TestAlwaysIterable.test_generator) ... ok 155s test_iterables (tests.test_more.TestAlwaysIterable.test_iterables) ... ok 155s test_none (tests.test_more.TestAlwaysIterable.test_none) ... ok 155s test_single (tests.test_more.TestAlwaysIterable.test_single) ... ok 155s test_strings (tests.test_more.TestAlwaysIterable.test_strings) ... ok 155s test_collapse (tests.test_more.TestCollapse.test_collapse) ... ok 155s test_collapse_flatten (tests.test_more.TestCollapse.test_collapse_flatten) ... ok 155s test_collapse_to_bytes (tests.test_more.TestCollapse.test_collapse_to_bytes) ... ok 155s test_collapse_to_level (tests.test_more.TestCollapse.test_collapse_to_level) ... ok 155s test_collapse_to_list (tests.test_more.TestCollapse.test_collapse_to_list) ... ok 155s test_collapse_to_string (tests.test_more.TestCollapse.test_collapse_to_string) ... ok 155s test_basic (tests.test_more.TimeLimitedTests.test_basic) ... ok 155s test_complete (tests.test_more.TimeLimitedTests.test_complete) ... ok 155s test_invalid_limit (tests.test_more.TimeLimitedTests.test_invalid_limit) ... ok 155s test_zero_limit (tests.test_more.TimeLimitedTests.test_zero_limit) ... ok 155s test_basic (tests.test_more.UniqueInWindowTests.test_basic) ... ok 155s test_invalid_n (tests.test_more.UniqueInWindowTests.test_invalid_n) ... ok 155s test_key (tests.test_more.UniqueInWindowTests.test_key) ... ok 155s test_all_unique (tests.test_more.UniqueToEachTests.test_all_unique) 155s When all the input iterables are unique the output should match ... ok 155s test_duplicates (tests.test_more.UniqueToEachTests.test_duplicates) 155s When there are duplicates in any of the input iterables that aren't ... ok 155s test_mixed (tests.test_more.UniqueToEachTests.test_mixed) 155s When the input iterables contain different types the function should ... ok 155s test_empty_iterable (tests.test_more.UnzipTests.test_empty_iterable) ... ok 155s test_improperly_zipped (tests.test_more.UnzipTests.test_improperly_zipped) ... ok 155s test_increasingly_zipped (tests.test_more.UnzipTests.test_increasingly_zipped) ... ok 155s test_length_one_iterable (tests.test_more.UnzipTests.test_length_one_iterable) ... ok 155s test_normal_case (tests.test_more.UnzipTests.test_normal_case) ... ok 155s test_complex (tests.test_more.ValueChainTests.test_complex) ... ok 155s test_empty (tests.test_more.ValueChainTests.test_empty) ... ok 155s test_empty_lists (tests.test_more.ValueChainTests.test_empty_lists) ... ok 155s test_more (tests.test_more.ValueChainTests.test_more) ... ok 155s test_simple (tests.test_more.ValueChainTests.test_simple) ... ok 155s test_basic (tests.test_more.WindowedCompleteTests.test_basic) ... ok 155s test_every_partition (tests.test_more.WindowedCompleteTests.test_every_partition) ... ok 155s test_wrong_length (tests.test_more.WindowedCompleteTests.test_wrong_length) ... ok 155s test_zero_length (tests.test_more.WindowedCompleteTests.test_zero_length) ... ok 155s test_basic (tests.test_more.WindowedTests.test_basic) ... ok 155s test_empty_seq (tests.test_more.WindowedTests.test_empty_seq) ... ok 155s test_fillvalue (tests.test_more.WindowedTests.test_fillvalue) ... ok 155s test_fillvalue_step (tests.test_more.WindowedTests.test_fillvalue_step) ... ok 155s test_invalid_step (tests.test_more.WindowedTests.test_invalid_step) ... ok 155s test_negative (tests.test_more.WindowedTests.test_negative) ... ok 155s test_step (tests.test_more.WindowedTests.test_step) ... ok 155s test_with_iter (tests.test_more.WithIterTests.test_with_iter) ... ok 155s test_scalar_types (tests.test_more.ZipBroadcastTests.test_scalar_types) ... ok 155s test_zip (tests.test_more.ZipBroadcastTests.test_zip) ... ok 155s test_deprecation (tests.test_more.ZipEqualTest.test_deprecation) ... ok 155s test_equal (tests.test_more.ZipEqualTest.test_equal) ... /usr/lib/python3/dist-packages/more_itertools/more.py:1742: DeprecationWarning: zip_equal will be removed in a future version of more-itertools. Use the builtin zip function with strict=True instead. 155s warnings.warn( 155s ok 155s test_unequal_lists (tests.test_more.ZipEqualTest.test_unequal_lists) ... ok 155s test_longest (tests.test_more.ZipOffsetTest.test_longest) ... ok 155s test_mismatch (tests.test_more.ZipOffsetTest.test_mismatch) ... ok 155s test_shortest (tests.test_more.ZipOffsetTest.test_shortest) ... ok 155s SequenceView (more_itertools.more) 155s Doctest: more_itertools.more.SequenceView ... ok 155s adjacent (more_itertools.more) 155s Doctest: more_itertools.more.adjacent ... ok 155s all_unique (more_itertools.more) 155s Doctest: more_itertools.more.all_unique ... ok 155s always_iterable (more_itertools.more) 155s Doctest: more_itertools.more.always_iterable ... ok 155s always_reversible (more_itertools.more) 155s Doctest: more_itertools.more.always_reversible ... ok 155s bucket (more_itertools.more) 155s Doctest: more_itertools.more.bucket ... ok 155s callback_iter (more_itertools.more) 155s Doctest: more_itertools.more.callback_iter ... ok 155s chunked (more_itertools.more) 155s Doctest: more_itertools.more.chunked ... ok 155s chunked_even (more_itertools.more) 155s Doctest: more_itertools.more.chunked_even ... ok 155s circular_shifts (more_itertools.more) 155s Doctest: more_itertools.more.circular_shifts ... ok 155s classify_unique (more_itertools.more) 155s Doctest: more_itertools.more.classify_unique ... ok 155s collapse (more_itertools.more) 155s Doctest: more_itertools.more.collapse ... ok 155s combination_index (more_itertools.more) 155s Doctest: more_itertools.more.combination_index ... ok 155s combination_with_replacement_index (more_itertools.more) 155s Doctest: more_itertools.more.combination_with_replacement_index ... ok 155s consecutive_groups (more_itertools.more) 155s Doctest: more_itertools.more.consecutive_groups ... ok 155s constrained_batches (more_itertools.more) 155s Doctest: more_itertools.more.constrained_batches ... ok 155s consumer (more_itertools.more) 155s Doctest: more_itertools.more.consumer ... ok 155s count_cycle (more_itertools.more) 155s Doctest: more_itertools.more.count_cycle ... ok 155s countable (more_itertools.more) 155s Doctest: more_itertools.more.countable ... ok 155s dft (more_itertools.more) 155s Doctest: more_itertools.more.dft ... ok 155s difference (more_itertools.more) 155s Doctest: more_itertools.more.difference ... ok 155s distinct_combinations (more_itertools.more) 155s Doctest: more_itertools.more.distinct_combinations ... ok 155s distinct_permutations (more_itertools.more) 155s Doctest: more_itertools.more.distinct_permutations ... ok 155s distribute (more_itertools.more) 155s Doctest: more_itertools.more.distribute ... ok 155s divide (more_itertools.more) 155s Doctest: more_itertools.more.divide ... ok 155s doublestarmap (more_itertools.more) 155s Doctest: more_itertools.more.doublestarmap ... ok 155s duplicates_everseen (more_itertools.more) 155s Doctest: more_itertools.more.duplicates_everseen ... ok 155s duplicates_justseen (more_itertools.more) 155s Doctest: more_itertools.more.duplicates_justseen ... ok 155s exactly_n (more_itertools.more) 155s Doctest: more_itertools.more.exactly_n ... ok 155s filter_except (more_itertools.more) 155s Doctest: more_itertools.more.filter_except ... ok 155s filter_map (more_itertools.more) 155s Doctest: more_itertools.more.filter_map ... ok 155s first (more_itertools.more) 155s Doctest: more_itertools.more.first ... ok 155s gray_product (more_itertools.more) 155s Doctest: more_itertools.more.gray_product ... ok 155s groupby_transform (more_itertools.more) 155s Doctest: more_itertools.more.groupby_transform ... ok 155s ichunked (more_itertools.more) 155s Doctest: more_itertools.more.ichunked ... ok 155s idft (more_itertools.more) 155s Doctest: more_itertools.more.idft ... ok 155s iequals (more_itertools.more) 155s Doctest: more_itertools.more.iequals ... ok 155s ilen (more_itertools.more) 155s Doctest: more_itertools.more.ilen ... ok 155s interleave (more_itertools.more) 155s Doctest: more_itertools.more.interleave ... ok 155s interleave_evenly (more_itertools.more) 155s Doctest: more_itertools.more.interleave_evenly ... ok 155s interleave_longest (more_itertools.more) 155s Doctest: more_itertools.more.interleave_longest ... ok 155s intersperse (more_itertools.more) 155s Doctest: more_itertools.more.intersperse ... ok 155s is_sorted (more_itertools.more) 155s Doctest: more_itertools.more.is_sorted ... ok 155s islice_extended (more_itertools.more) 155s Doctest: more_itertools.more.islice_extended ... ok 155s iter_suppress (more_itertools.more) 155s Doctest: more_itertools.more.iter_suppress ... ok 155s iterate (more_itertools.more) 155s Doctest: more_itertools.more.iterate ... ok 155s join_mappings (more_itertools.more) 155s Doctest: more_itertools.more.join_mappings ... ok 155s last (more_itertools.more) 155s Doctest: more_itertools.more.last ... ok 155s locate (more_itertools.more) 155s Doctest: more_itertools.more.locate ... ok 155s longest_common_prefix (more_itertools.more) 155s Doctest: more_itertools.more.longest_common_prefix ... ok 155s lstrip (more_itertools.more) 155s Doctest: more_itertools.more.lstrip ... ok 155s make_decorator (more_itertools.more) 155s Doctest: more_itertools.more.make_decorator ... ok 155s map_except (more_itertools.more) 155s Doctest: more_itertools.more.map_except ... ok 155s map_if (more_itertools.more) 155s Doctest: more_itertools.more.map_if ... ok 155s map_reduce (more_itertools.more) 155s Doctest: more_itertools.more.map_reduce ... ok 155s mark_ends (more_itertools.more) 155s Doctest: more_itertools.more.mark_ends ... ok 155s minmax (more_itertools.more) 155s Doctest: more_itertools.more.minmax ... ok 155s nth_combination_with_replacement (more_itertools.more) 155s Doctest: more_itertools.more.nth_combination_with_replacement ... ok 155s nth_or_last (more_itertools.more) 155s Doctest: more_itertools.more.nth_or_last ... ok 155s nth_permutation (more_itertools.more) 155s Doctest: more_itertools.more.nth_permutation ... ok 155s nth_product (more_itertools.more) 155s Doctest: more_itertools.more.nth_product ... ok 155s numeric_range (more_itertools.more) 155s Doctest: more_itertools.more.numeric_range ... ok 155s one (more_itertools.more) 155s Doctest: more_itertools.more.one ... ok 155s only (more_itertools.more) 155s Doctest: more_itertools.more.only ... ok 155s outer_product (more_itertools.more) 155s Doctest: more_itertools.more.outer_product ... ok 155s padded (more_itertools.more) 155s Doctest: more_itertools.more.padded ... ok 155s partial_product (more_itertools.more) 155s Doctest: more_itertools.more.partial_product ... ok 155s partitions (more_itertools.more) 155s Doctest: more_itertools.more.partitions ... ok 155s peekable (more_itertools.more) 155s Doctest: more_itertools.more.peekable ... ok 155s prepend (more_itertools.more.peekable) 155s Doctest: more_itertools.more.peekable.prepend ... ok 155s permutation_index (more_itertools.more) 155s Doctest: more_itertools.more.permutation_index ... ok 155s powerset_of_sets (more_itertools.more) 155s Doctest: more_itertools.more.powerset_of_sets ... ok 155s product_index (more_itertools.more) 155s Doctest: more_itertools.more.product_index ... ok 155s repeat_each (more_itertools.more) 155s Doctest: more_itertools.more.repeat_each ... ok 155s repeat_last (more_itertools.more) 155s Doctest: more_itertools.more.repeat_last ... ok 155s replace (more_itertools.more) 155s Doctest: more_itertools.more.replace ... ok 155s rlocate (more_itertools.more) 155s Doctest: more_itertools.more.rlocate ... ok 155s rstrip (more_itertools.more) 155s Doctest: more_itertools.more.rstrip ... ok 155s run_length (more_itertools.more) 155s Doctest: more_itertools.more.run_length ... ok 155s sample (more_itertools.more) 155s Doctest: more_itertools.more.sample ... ok 155s seekable (more_itertools.more) 155s Doctest: more_itertools.more.seekable ... ok 155s set_partitions (more_itertools.more) 155s Doctest: more_itertools.more.set_partitions ... ok 155s side_effect (more_itertools.more) 155s Doctest: more_itertools.more.side_effect ... ok 155s sliced (more_itertools.more) 155s Doctest: more_itertools.more.sliced ... ok 155s sort_together (more_itertools.more) 155s Doctest: more_itertools.more.sort_together ... ok 155s split_after (more_itertools.more) 155s Doctest: more_itertools.more.split_after ... ok 155s split_at (more_itertools.more) 155s Doctest: more_itertools.more.split_at ... ok 155s split_before (more_itertools.more) 155s Doctest: more_itertools.more.split_before ... ok 155s split_into (more_itertools.more) 155s Doctest: more_itertools.more.split_into ... ok 155s split_when (more_itertools.more) 155s Doctest: more_itertools.more.split_when ... ok 155s spy (more_itertools.more) 155s Doctest: more_itertools.more.spy ... ok 155s stagger (more_itertools.more) 155s Doctest: more_itertools.more.stagger ... ok 155s strictly_n (more_itertools.more) 155s Doctest: more_itertools.more.strictly_n ... ok 155s strip (more_itertools.more) 155s Doctest: more_itertools.more.strip ... ok 155s substrings (more_itertools.more) 155s Doctest: more_itertools.more.substrings ... ok 155s substrings_indexes (more_itertools.more) 155s Doctest: more_itertools.more.substrings_indexes ... ok 155s takewhile_inclusive (more_itertools.more) 155s Doctest: more_itertools.more.takewhile_inclusive ... ok 155s time_limited (more_itertools.more) 156s Doctest: more_itertools.more.time_limited ... ok 156s unique_in_window (more_itertools.more) 156s Doctest: more_itertools.more.unique_in_window ... ok 156s unique_to_each (more_itertools.more) 156s Doctest: more_itertools.more.unique_to_each ... ok 156s unzip (more_itertools.more) 156s Doctest: more_itertools.more.unzip ... ok 156s value_chain (more_itertools.more) 156s Doctest: more_itertools.more.value_chain ... ok 156s windowed (more_itertools.more) 156s Doctest: more_itertools.more.windowed ... ok 156s windowed_complete (more_itertools.more) 156s Doctest: more_itertools.more.windowed_complete ... ok 156s zip_broadcast (more_itertools.more) 156s Doctest: more_itertools.more.zip_broadcast ... ok 156s zip_equal (more_itertools.more) 156s Doctest: more_itertools.more.zip_equal ... ok 156s zip_offset (more_itertools.more) 156s Doctest: more_itertools.more.zip_offset ... ok 156s test_empty (tests.test_recipes.AllEqualTests.test_empty) ... ok 156s test_false (tests.test_recipes.AllEqualTests.test_false) ... ok 156s test_groupby_calls (tests.test_recipes.AllEqualTests.test_groupby_calls) ... ok 156s test_key (tests.test_recipes.AllEqualTests.test_key) ... ok 156s test_one (tests.test_recipes.AllEqualTests.test_one) ... ok 156s test_tricky (tests.test_recipes.AllEqualTests.test_tricky) ... ok 156s test_true (tests.test_recipes.AllEqualTests.test_true) ... ok 156s test_basic (tests.test_recipes.BatchedTests.test_basic) ... ok 156s test_strict (tests.test_recipes.BatchedTests.test_strict) ... ok 156s test_empty (tests.test_recipes.BeforeAndAfterTests.test_empty) ... ok 156s test_nested_remainder (tests.test_recipes.BeforeAndAfterTests.test_nested_remainder) ... ok 156s test_never_false (tests.test_recipes.BeforeAndAfterTests.test_never_false) ... ok 156s test_never_true (tests.test_recipes.BeforeAndAfterTests.test_never_true) ... ok 156s test_some_true (tests.test_recipes.BeforeAndAfterTests.test_some_true) ... ok 156s test_negative_consume (tests.test_recipes.ConsumeTests.test_negative_consume) 156s Check that negative consumption throws an error ... ok 156s test_null_consume (tests.test_recipes.ConsumeTests.test_null_consume) 156s Check the null case ... ok 156s test_sanity (tests.test_recipes.ConsumeTests.test_sanity) 156s Test basic functionality ... ok 156s test_total_consume (tests.test_recipes.ConsumeTests.test_total_consume) 156s Check that iterator is totally consumed by default ... ok 156s test_derivative (tests.test_recipes.Convolvetests.test_derivative) ... ok 156s test_infinite_signal (tests.test_recipes.Convolvetests.test_infinite_signal) ... ok 156s test_moving_average (tests.test_recipes.Convolvetests.test_moving_average) ... ok 156s test_happy_path (tests.test_recipes.DotproductTests.test_happy_path) 156s simple dotproduct example ... ok 156s test_basic (tests.test_recipes.FactorTests.test_basic) ... ok 156s test_cross_check (tests.test_recipes.FactorTests.test_cross_check) ... ok 156s test_default (tests.test_recipes.FirstTrueTests.test_default) 156s Test with a default keyword ... ok 156s test_nothing_true (tests.test_recipes.FirstTrueTests.test_nothing_true) 156s Test default return value. ... ok 156s test_pred (tests.test_recipes.FirstTrueTests.test_pred) 156s Test with a custom predicate ... ok 156s test_something_true (tests.test_recipes.FirstTrueTests.test_something_true) 156s Test with no keywords ... ok 156s test_basic_usage (tests.test_recipes.FlattenTests.test_basic_usage) 156s ensure list of lists is flattened one level ... ok 156s test_single_level (tests.test_recipes.FlattenTests.test_single_level) 156s ensure list of lists is flattened only one level ... ok 156s test_basic (tests.test_recipes.GrouperTests.test_basic) ... ok 156s test_fill (tests.test_recipes.GrouperTests.test_fill) ... ok 156s test_ignore (tests.test_recipes.GrouperTests.test_ignore) ... ok 156s test_invalid_incomplete (tests.test_recipes.GrouperTests.test_invalid_incomplete) ... ok 156s test_strict (tests.test_recipes.GrouperTests.test_strict) ... ok 156s test_strict_fails (tests.test_recipes.GrouperTests.test_strict_fails) ... ok 156s test_exact_exception (tests.test_recipes.IterExceptTests.test_exact_exception) 156s ensure the exact specified exception is caught ... ok 156s test_first (tests.test_recipes.IterExceptTests.test_first) 156s ensure first is run before the function ... ok 156s test_generic_exception (tests.test_recipes.IterExceptTests.test_generic_exception) 156s ensure the generic exception can be caught ... ok 156s test_multiple (tests.test_recipes.IterExceptTests.test_multiple) 156s ensure can catch multiple exceptions ... ok 156s test_uncaught_exception_is_raised (tests.test_recipes.IterExceptTests.test_uncaught_exception_is_raised) 156s ensure a non-specified exception is raised ... ok 156s test_basic (tests.test_recipes.IterIndexTests.test_basic) ... ok 156s test_start (tests.test_recipes.IterIndexTests.test_start) ... ok 156s test_stop (tests.test_recipes.IterIndexTests.test_stop) ... ok 156s test_m_by_n (tests.test_recipes.MatMulTests.test_m_by_n) ... ok 156s test_n_by_n (tests.test_recipes.MatMulTests.test_n_by_n) ... ok 156s test_happy_path (tests.test_recipes.NcyclesTests.test_happy_path) 156s cycle a sequence three times ... ok 156s test_null_case (tests.test_recipes.NcyclesTests.test_null_case) 156s asking for 0 cycles should return an empty iterator ... ok 156s test_pathological_case (tests.test_recipes.NcyclesTests.test_pathological_case) 156s asking for negative cycles should return an empty iterator ... ok 156s test_basic (tests.test_recipes.NthCombinationTests.test_basic) ... ok 156s test_invalid_index (tests.test_recipes.NthCombinationTests.test_invalid_index) ... ok 156s test_invalid_r (tests.test_recipes.NthCombinationTests.test_invalid_r) ... ok 156s test_long (tests.test_recipes.NthCombinationTests.test_long) ... ok 156s test_invalid_index (tests.test_recipes.NthPermutationTests.test_invalid_index) ... ok 156s test_invalid_r (tests.test_recipes.NthPermutationTests.test_invalid_r) ... ok 156s test_long (tests.test_recipes.NthPermutationTests.test_long) ... ok 156s test_negative_index (tests.test_recipes.NthPermutationTests.test_negative_index) ... ok 156s test_null (tests.test_recipes.NthPermutationTests.test_null) ... ok 156s test_r_equal_to_n (tests.test_recipes.NthPermutationTests.test_r_equal_to_n) ... ok 156s test_r_less_than_n (tests.test_recipes.NthPermutationTests.test_r_less_than_n) ... ok 156s test_basic (tests.test_recipes.NthTests.test_basic) 156s Make sure the nth item is returned ... ok 156s test_default (tests.test_recipes.NthTests.test_default) 156s Ensure a default value is returned when nth item not found ... ok 156s test_negative_item_raises (tests.test_recipes.NthTests.test_negative_item_raises) 156s Ensure asking for a negative item raises an exception ... ok 156s test_basic (tests.test_recipes.PadnoneTests.test_basic) ... ok 156s test_base_case (tests.test_recipes.PairwiseTests.test_base_case) 156s ensure an iterable will return pairwise ... ok 156s test_coverage (tests.test_recipes.PairwiseTests.test_coverage) ... ok 156s test_short_case (tests.test_recipes.PairwiseTests.test_short_case) 156s ensure an empty iterator if there's not enough values to pair ... ok 156s test_arbitrary (tests.test_recipes.PartitionTests.test_arbitrary) ... ok 156s test_bool (tests.test_recipes.PartitionTests.test_bool) ... ok 156s test_pred_is_none (tests.test_recipes.PartitionTests.test_pred_is_none) ... ok 156s test_basic (tests.test_recipes.PolynomialDerivativeTests.test_basic) ... ok 156s test_basic (tests.test_recipes.PolynomialEvalTests.test_basic) ... ok 156s test_basic (tests.test_recipes.PolynomialFromRootsTests.test_basic) ... ok 156s test_combinatorics (tests.test_recipes.PowersetTests.test_combinatorics) 156s Ensure a proper enumeration ... ok 156s test_basic (tests.test_recipes.PrependTests.test_basic) ... ok 156s test_multiple (tests.test_recipes.PrependTests.test_multiple) ... ok 156s test_custom_predicate (tests.test_recipes.QuantifyTests.test_custom_predicate) 156s Ensure non-default predicates return as expected ... ok 156s test_happy_path (tests.test_recipes.QuantifyTests.test_happy_path) 156s Make sure True count is returned ... ok 156s test_no_replacement (tests.test_recipes.RandomCombinationTests.test_no_replacement) 156s ensure that elements are sampled without replacement ... ok 156s test_pseudorandomness (tests.test_recipes.RandomCombinationTests.test_pseudorandomness) 156s ensure different subsets of the iterable get returned over many ... ok 156s test_pseudorandomness (tests.test_recipes.RandomCombinationWithReplacementTests.test_pseudorandomness) 156s ensure different subsets of the iterable get returned over many ... ok 156s test_replacement (tests.test_recipes.RandomCombinationWithReplacementTests.test_replacement) 156s ensure that elements are sampled with replacement ... ok 156s test_full_permutation (tests.test_recipes.RandomPermutationTests.test_full_permutation) 156s ensure every item from the iterable is returned in a new ordering ... ok 156s test_partial_permutation (tests.test_recipes.RandomPermutationTests.test_partial_permutation) 156s ensure all returned items are from the iterable, that the returned ... ok 156s test_list_with_repeat (tests.test_recipes.RandomProductTests.test_list_with_repeat) 156s ensure multiple items are chosen, and that they appear to be chosen ... ok 156s test_simple_lists (tests.test_recipes.RandomProductTests.test_simple_lists) 156s Ensure that one item is chosen from each list in each pair. ... ok 156s test_added_arguments (tests.test_recipes.RepeatfuncTests.test_added_arguments) 156s ensure arguments are applied to the function ... ok 156s test_finite_repeat (tests.test_recipes.RepeatfuncTests.test_finite_repeat) 156s ensure limited repeat when times is provided ... ok 156s test_null_times (tests.test_recipes.RepeatfuncTests.test_null_times) 156s repeat 0 should return an empty iterator ... ok 156s test_simple_repeat (tests.test_recipes.RepeatfuncTests.test_simple_repeat) 156s test simple repeated functions ... ok 156s test_basic (tests.test_recipes.ReshapeTests.test_basic) ... ok 156s test_empty (tests.test_recipes.ReshapeTests.test_empty) ... ok 156s test_zero (tests.test_recipes.ReshapeTests.test_zero) ... ok 156s test_even_groups (tests.test_recipes.RoundrobinTests.test_even_groups) 156s Ensure ordered output from evenly populated iterables ... ok 156s test_uneven_groups (tests.test_recipes.RoundrobinTests.test_uneven_groups) 156s Ensure ordered output from unevenly populated iterables ... ok 156s test_basic (tests.test_recipes.SieveTests.test_basic) ... ok 156s test_prime_counts (tests.test_recipes.SieveTests.test_prime_counts) ... ok 156s test_small_numbers (tests.test_recipes.SieveTests.test_small_numbers) ... ok 156s test_deque_version (tests.test_recipes.SlidingWindowTests.test_deque_version) ... ok 156s test_islice_version (tests.test_recipes.SlidingWindowTests.test_islice_version) ... ok 156s test_zero (tests.test_recipes.SlidingWindowTests.test_zero) ... ok 156s test_basic (tests.test_recipes.SubslicesTests.test_basic) ... ok 156s test_basic (tests.test_recipes.SumOfSquaresTests.test_basic) ... ok 156s test_count (tests.test_recipes.TabulateTests.test_count) 156s Ensure tabulate accepts specific count ... ok 156s test_simple_tabulate (tests.test_recipes.TabulateTests.test_simple_tabulate) 156s Test the happy path ... ok 156s test_iterator_equal (tests.test_recipes.TailTests.test_iterator_equal) 156s Length of iterator is equal to the requested tail ... ok 156s test_iterator_greater (tests.test_recipes.TailTests.test_iterator_greater) 156s Length of iterator is greater than requested tail ... ok 156s test_iterator_less (tests.test_recipes.TailTests.test_iterator_less) 156s Length of iterator is less than requested tail ... ok 156s test_sized_equal (tests.test_recipes.TailTests.test_sized_equal) 156s Length of sized iterable is less than requested tail ... ok 156s test_sized_greater (tests.test_recipes.TailTests.test_sized_greater) 156s Length of sized iterable is greater than requested tail ... ok 156s test_sized_less (tests.test_recipes.TailTests.test_sized_less) 156s Length of sized iterable is less than requested tail ... ok 156s test_negative_take (tests.test_recipes.TakeTests.test_negative_take) 156s Make sure taking negative items results in a ValueError ... ok 156s test_null_take (tests.test_recipes.TakeTests.test_null_take) 156s Check the null case ... ok 156s test_simple_take (tests.test_recipes.TakeTests.test_simple_take) 156s Test basic usage ... ok 156s test_take_too_much (tests.test_recipes.TakeTests.test_take_too_much) 156s Taking more than an iterator has remaining should return what the ... ok 156s test_basic (tests.test_recipes.TotientTests.test_basic) ... ok 156s test_basic (tests.test_recipes.TransposeTests.test_basic) ... ok 156s test_empty (tests.test_recipes.TransposeTests.test_empty) ... ok 156s test_incompatible_allow (tests.test_recipes.TransposeTests.test_incompatible_allow) ... skipped 'strict=True missing on 3.9' 156s test_incompatible_error (tests.test_recipes.TransposeTests.test_incompatible_error) ... ok 156s test_basic (tests.test_recipes.TriplewiseTests.test_basic) ... ok 156s test_custom_key (tests.test_recipes.UniqueEverseenTests.test_custom_key) ... ok 156s test_everseen (tests.test_recipes.UniqueEverseenTests.test_everseen) ... ok 156s test_unhashable (tests.test_recipes.UniqueEverseenTests.test_unhashable) ... ok 156s test_unhashable_key (tests.test_recipes.UniqueEverseenTests.test_unhashable_key) ... ok 156s test_custom_key (tests.test_recipes.UniqueJustseenTests.test_custom_key) ... ok 156s test_justseen (tests.test_recipes.UniqueJustseenTests.test_justseen) ... ok 156s test_basic (tests.test_recipes.UniqueTests.test_basic) ... ok 156s test_key (tests.test_recipes.UniqueTests.test_key) ... ok 156s test_reverse (tests.test_recipes.UniqueTests.test_reverse) ... ok 156s _batched (more_itertools.recipes) 156s Doctest: more_itertools.recipes._batched ... ok 156s _pairwise (more_itertools.recipes) 156s Doctest: more_itertools.recipes._pairwise ... ok 156s all_equal (more_itertools.recipes) 156s Doctest: more_itertools.recipes.all_equal ... ok 156s before_and_after (more_itertools.recipes) 156s Doctest: more_itertools.recipes.before_and_after ... ok 156s consume (more_itertools.recipes) 156s Doctest: more_itertools.recipes.consume ... ok 156s convolve (more_itertools.recipes) 156s Doctest: more_itertools.recipes.convolve ... ok 156s dotproduct (more_itertools.recipes) 156s Doctest: more_itertools.recipes.dotproduct ... ok 156s factor (more_itertools.recipes) 156s Doctest: more_itertools.recipes.factor ... ok 156s first_true (more_itertools.recipes) 156s Doctest: more_itertools.recipes.first_true ... ok 156s flatten (more_itertools.recipes) 156s Doctest: more_itertools.recipes.flatten ... ok 156s grouper (more_itertools.recipes) 156s Doctest: more_itertools.recipes.grouper ... ok 156s iter_except (more_itertools.recipes) 156s Doctest: more_itertools.recipes.iter_except ... ok 156s iter_index (more_itertools.recipes) 156s Doctest: more_itertools.recipes.iter_index ... ok 156s matmul (more_itertools.recipes) 156s Doctest: more_itertools.recipes.matmul ... ok 156s ncycles (more_itertools.recipes) 156s Doctest: more_itertools.recipes.ncycles ... ok 156s nth (more_itertools.recipes) 156s Doctest: more_itertools.recipes.nth ... ok 156s nth_combination (more_itertools.recipes) 156s Doctest: more_itertools.recipes.nth_combination ... ok 156s pad_none (more_itertools.recipes) 156s Doctest: more_itertools.recipes.pad_none ... ok 156s pairwise (more_itertools.recipes) 156s Doctest: more_itertools.recipes.pairwise ... ok 156s partition (more_itertools.recipes) 156s Doctest: more_itertools.recipes.partition ... ok 156s polynomial_derivative (more_itertools.recipes) 156s Doctest: more_itertools.recipes.polynomial_derivative ... ok 156s polynomial_eval (more_itertools.recipes) 156s Doctest: more_itertools.recipes.polynomial_eval ... ok 156s polynomial_from_roots (more_itertools.recipes) 156s Doctest: more_itertools.recipes.polynomial_from_roots ... ok 156s powerset (more_itertools.recipes) 156s Doctest: more_itertools.recipes.powerset ... ok 156s prepend (more_itertools.recipes) 156s Doctest: more_itertools.recipes.prepend ... ok 156s quantify (more_itertools.recipes) 156s Doctest: more_itertools.recipes.quantify ... ok 156s random_combination (more_itertools.recipes) 156s Doctest: more_itertools.recipes.random_combination ... ok 156s random_combination_with_replacement (more_itertools.recipes) 156s Doctest: more_itertools.recipes.random_combination_with_replacement ... ok 156s random_permutation (more_itertools.recipes) 156s Doctest: more_itertools.recipes.random_permutation ... ok 156s random_product (more_itertools.recipes) 156s Doctest: more_itertools.recipes.random_product ... ok 156s repeatfunc (more_itertools.recipes) 156s Doctest: more_itertools.recipes.repeatfunc ... ok 156s reshape (more_itertools.recipes) 156s Doctest: more_itertools.recipes.reshape ... ok 156s roundrobin (more_itertools.recipes) 156s Doctest: more_itertools.recipes.roundrobin ... ok 156s sieve (more_itertools.recipes) 156s Doctest: more_itertools.recipes.sieve ... ok 156s sliding_window (more_itertools.recipes) 156s Doctest: more_itertools.recipes.sliding_window ... ok 156s subslices (more_itertools.recipes) 156s Doctest: more_itertools.recipes.subslices ... ok 156s sum_of_squares (more_itertools.recipes) 156s Doctest: more_itertools.recipes.sum_of_squares ... ok 156s tabulate (more_itertools.recipes) 156s Doctest: more_itertools.recipes.tabulate ... ok 156s tail (more_itertools.recipes) 156s Doctest: more_itertools.recipes.tail ... ok 156s take (more_itertools.recipes) 156s Doctest: more_itertools.recipes.take ... ok 156s totient (more_itertools.recipes) 156s Doctest: more_itertools.recipes.totient ... ok 156s transpose (more_itertools.recipes) 156s Doctest: more_itertools.recipes.transpose ... ok 156s triplewise (more_itertools.recipes) 156s Doctest: more_itertools.recipes.triplewise ... ok 156s unique (more_itertools.recipes) 156s Doctest: more_itertools.recipes.unique ... ok 156s unique_everseen (more_itertools.recipes) 156s Doctest: more_itertools.recipes.unique_everseen ... ok 156s unique_justseen (more_itertools.recipes) 156s Doctest: more_itertools.recipes.unique_justseen ... ok 156s 156s ---------------------------------------------------------------------- 156s Ran 817 tests in 2.128s 156s 156s OK (skipped=1) 156s Testing with python3.13: 156s test_call_once (tests.test_more.AdjacentTests.test_call_once) 156s Test that the predicate is only called once per item. ... ok 156s test_consecutive_true (tests.test_more.AdjacentTests.test_consecutive_true) 156s Test that when the predicate matches multiple consecutive elements ... ok 156s test_distance (tests.test_more.AdjacentTests.test_distance) ... ok 156s test_empty_iterable (tests.test_more.AdjacentTests.test_empty_iterable) ... ok 156s test_grouping (tests.test_more.AdjacentTests.test_grouping) 156s Test interaction of adjacent() with groupby_transform() ... ok 156s test_large_distance (tests.test_more.AdjacentTests.test_large_distance) 156s Test distance larger than the length of the iterable ... ok 156s test_length_one (tests.test_more.AdjacentTests.test_length_one) ... ok 156s test_negative_distance (tests.test_more.AdjacentTests.test_negative_distance) 156s Test that adjacent() raises an error with negative distance ... ok 156s test_typical (tests.test_more.AdjacentTests.test_typical) ... ok 156s test_zero_distance (tests.test_more.AdjacentTests.test_zero_distance) 156s Test that adjacent() reduces to zip+map when distance is 0 ... ok 156s test_basic (tests.test_more.AllUniqueTests.test_basic) ... ok 156s test_infinite (tests.test_more.AllUniqueTests.test_infinite) ... ok 156s test_key (tests.test_more.AllUniqueTests.test_key) ... ok 156s test_non_hashable (tests.test_more.AllUniqueTests.test_non_hashable) ... ok 156s test_partially_hashable (tests.test_more.AllUniqueTests.test_partially_hashable) ... ok 156s test_nonseq_reversed (tests.test_more.AlwaysReversibleTests.test_nonseq_reversed) ... ok 156s test_regular_reversed (tests.test_more.AlwaysReversibleTests.test_regular_reversed) ... ok 156s test_basic (tests.test_more.BucketTests.test_basic) ... ok 156s test_in (tests.test_more.BucketTests.test_in) ... ok 156s test_list (tests.test_more.BucketTests.test_list) ... ok 156s test_list_validator (tests.test_more.BucketTests.test_list_validator) ... ok 156s test_validator (tests.test_more.BucketTests.test_validator) ... ok 157s test_abort (tests.test_more.CallbackIterTests.test_abort) ... ok 157s test_basic (tests.test_more.CallbackIterTests.test_basic) ... ok 157s test_callback_kwd (tests.test_more.CallbackIterTests.test_callback_kwd) ... ok 157s test_exception (tests.test_more.CallbackIterTests.test_exception) ... ok 157s test_no_result (tests.test_more.CallbackIterTests.test_no_result) ... ok 157s test_partial_consumption (tests.test_more.CallbackIterTests.test_partial_consumption) ... ok 157s test_0 (tests.test_more.ChunkedEvenTests.test_0) ... ok 157s test_1 (tests.test_more.ChunkedEvenTests.test_1) ... ok 157s test_4 (tests.test_more.ChunkedEvenTests.test_4) ... ok 157s test_5 (tests.test_more.ChunkedEvenTests.test_5) ... ok 157s test_6 (tests.test_more.ChunkedEvenTests.test_6) ... ok 157s test_7 (tests.test_more.ChunkedEvenTests.test_7) ... ok 157s test_evenness (tests.test_more.ChunkedEvenTests.test_evenness) ... ok 157s test_infinite (tests.test_more.ChunkedEvenTests.test_infinite) ... ok 157s test_even (tests.test_more.ChunkedTests.test_even) 157s Test when ``n`` divides evenly into the length of the iterable. ... ok 157s test_none (tests.test_more.ChunkedTests.test_none) 157s Test when ``n`` has the value ``None``. ... ok 157s test_odd (tests.test_more.ChunkedTests.test_odd) 157s Test when ``n`` does not divide evenly into the length of the ... ok 157s test_strict_being_true (tests.test_more.ChunkedTests.test_strict_being_true) 157s Test when ``n`` does not divide evenly into the length of the ... ok 157s test_strict_being_true_with_size_none (tests.test_more.ChunkedTests.test_strict_being_true_with_size_none) 157s Test when ``n`` has value ``None`` and the keyword strict is True ... ok 157s test_strict_false (tests.test_more.ChunkedTests.test_strict_false) 157s Test when ``n`` does not divide evenly into the length of the ... ok 157s test_duplicates (tests.test_more.CircularShiftsTests.test_duplicates) ... ok 157s test_empty (tests.test_more.CircularShiftsTests.test_empty) ... ok 157s test_simple_circular_shifts (tests.test_more.CircularShiftsTests.test_simple_circular_shifts) ... ok 157s test_steps_negative (tests.test_more.CircularShiftsTests.test_steps_negative) ... ok 157s test_steps_positive (tests.test_more.CircularShiftsTests.test_steps_positive) ... ok 157s test_steps_zero (tests.test_more.CircularShiftsTests.test_steps_zero) ... ok 157s test_basic (tests.test_more.ClassifyUniqueTests.test_basic) ... ok 157s test_key_hashable (tests.test_more.ClassifyUniqueTests.test_key_hashable) ... ok 157s test_key_non_hashable (tests.test_more.ClassifyUniqueTests.test_key_non_hashable) ... ok 157s test_key_partially_hashable (tests.test_more.ClassifyUniqueTests.test_key_partially_hashable) ... ok 157s test_non_hashable (tests.test_more.ClassifyUniqueTests.test_non_hashable) ... ok 157s test_partially_hashable (tests.test_more.ClassifyUniqueTests.test_partially_hashable) ... ok 157s test_vs_duplicates_everseen (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_everseen) ... ok 157s test_vs_duplicates_everseen_key (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_everseen_key) ... ok 157s test_vs_duplicates_justseen (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_justseen) ... ok 157s test_vs_duplicates_justseen_key (tests.test_more.ClassifyUniqueTests.test_vs_duplicates_justseen_key) ... ok 157s test_vs_unique_everseen (tests.test_more.ClassifyUniqueTests.test_vs_unique_everseen) ... ok 157s test_vs_unique_everseen_key (tests.test_more.ClassifyUniqueTests.test_vs_unique_everseen_key) ... ok 157s test_vs_unique_justseen (tests.test_more.ClassifyUniqueTests.test_vs_unique_justseen) ... ok 157s test_vs_unique_justseen_key (tests.test_more.ClassifyUniqueTests.test_vs_unique_justseen_key) ... ok 157s test_invalid_large (tests.test_more.CombinationIndexTests.test_invalid_large) ... ok 157s test_invalid_match (tests.test_more.CombinationIndexTests.test_invalid_match) ... ok 157s test_invalid_order (tests.test_more.CombinationIndexTests.test_invalid_order) ... ok 157s test_long (tests.test_more.CombinationIndexTests.test_long) ... ok 157s test_multiplicity (tests.test_more.CombinationIndexTests.test_multiplicity) ... ok 157s test_null (tests.test_more.CombinationIndexTests.test_null) ... ok 157s test_r_equal_to_n (tests.test_more.CombinationIndexTests.test_r_equal_to_n) ... ok 157s test_r_less_than_n (tests.test_more.CombinationIndexTests.test_r_less_than_n) ... ok 157s test_invalid_large (tests.test_more.CombinationWithReplacementIndexTests.test_invalid_large) ... ok 157s test_invalid_match (tests.test_more.CombinationWithReplacementIndexTests.test_invalid_match) ... ok 157s test_invalid_order (tests.test_more.CombinationWithReplacementIndexTests.test_invalid_order) ... ok 157s test_long (tests.test_more.CombinationWithReplacementIndexTests.test_long) ... ok 157s test_multiplicity (tests.test_more.CombinationWithReplacementIndexTests.test_multiplicity) ... ok 157s test_null (tests.test_more.CombinationWithReplacementIndexTests.test_null) ... ok 157s test_r_equal_to_n (tests.test_more.CombinationWithReplacementIndexTests.test_r_equal_to_n) ... ok 157s test_r_less_than_n (tests.test_more.CombinationWithReplacementIndexTests.test_r_less_than_n) ... ok 157s test_custom_ordering (tests.test_more.ConsecutiveGroupsTest.test_custom_ordering) ... ok 157s test_exotic_ordering (tests.test_more.ConsecutiveGroupsTest.test_exotic_ordering) ... ok 157s test_numbers (tests.test_more.ConsecutiveGroupsTest.test_numbers) ... ok 157s test_bad_max (tests.test_more.ConstrainedBatchesTests.test_bad_max) ... ok 157s test_basic (tests.test_more.ConstrainedBatchesTests.test_basic) ... ok 157s test_get_len (tests.test_more.ConstrainedBatchesTests.test_get_len) ... ok 157s test_max_count (tests.test_more.ConstrainedBatchesTests.test_max_count) ... ok 157s test_strict (tests.test_more.ConstrainedBatchesTests.test_strict) ... ok 157s test_consumer (tests.test_more.ConsumerTests.test_consumer) ... ok 157s test_basic (tests.test_more.CountCycleTests.test_basic) ... ok 157s test_empty (tests.test_more.CountCycleTests.test_empty) ... ok 157s test_negative (tests.test_more.CountCycleTests.test_negative) ... ok 157s test_basic (tests.test_more.CountableTests.test_basic) ... ok 157s test_empty (tests.test_more.CountableTests.test_empty) ... ok 157s test_custom (tests.test_more.DifferenceTest.test_custom) ... ok 157s test_empty (tests.test_more.DifferenceTest.test_empty) ... ok 157s test_initial (tests.test_more.DifferenceTest.test_initial) ... ok 157s test_normal (tests.test_more.DifferenceTest.test_normal) ... ok 157s test_one (tests.test_more.DifferenceTest.test_one) ... ok 157s test_roundtrip (tests.test_more.DifferenceTest.test_roundtrip) ... ok 157s test_basic (tests.test_more.DiscreteFourierTransformTests.test_basic) ... ok 157s test_roundtrip (tests.test_more.DiscreteFourierTransformTests.test_roundtrip) ... ok 157s test_basic (tests.test_more.DistinctCombinationsTests.test_basic) ... ok 157s test_empty (tests.test_more.DistinctCombinationsTests.test_empty) ... ok 157s test_negative (tests.test_more.DistinctCombinationsTests.test_negative) ... ok 157s test_basic (tests.test_more.DistinctPermutationsTests.test_basic) ... ok 157s test_r (tests.test_more.DistinctPermutationsTests.test_r) ... ok 157s test_unhashable (tests.test_more.DistinctPermutationsTests.test_unhashable) ... ok 157s test_unsortable (tests.test_more.DistinctPermutationsTests.test_unsortable) ... ok 157s test_unsortable_r (tests.test_more.DistinctPermutationsTests.test_unsortable_r) ... ok 157s test_unsorted_equivalent (tests.test_more.DistinctPermutationsTests.test_unsorted_equivalent) ... ok 157s test_basic (tests.test_more.DistributeTest.test_basic) ... ok 157s test_invalid_n (tests.test_more.DistributeTest.test_invalid_n) ... ok 157s test_large_n (tests.test_more.DistributeTest.test_large_n) ... ok 157s test_basic (tests.test_more.DivideTest.test_basic) ... ok 157s test_invalid_n (tests.test_more.DivideTest.test_invalid_n) ... ok 157s test_large_n (tests.test_more.DivideTest.test_large_n) ... ok 157s test_adding (tests.test_more.DoubleStarMapTests.test_adding) ... ok 157s test_construction (tests.test_more.DoubleStarMapTests.test_construction) ... ok 157s test_empty (tests.test_more.DoubleStarMapTests.test_empty) ... ok 157s test_identity (tests.test_more.DoubleStarMapTests.test_identity) ... ok 157s test_mismatch_function_different (tests.test_more.DoubleStarMapTests.test_mismatch_function_different) ... ok 157s test_mismatch_function_larger (tests.test_more.DoubleStarMapTests.test_mismatch_function_larger) ... ok 157s test_mismatch_function_smaller (tests.test_more.DoubleStarMapTests.test_mismatch_function_smaller) ... ok 157s test_no_mapping (tests.test_more.DoubleStarMapTests.test_no_mapping) ... ok 157s test_basic (tests.test_more.DuplicatesEverSeenTests.test_basic) ... ok 157s test_key_hashable (tests.test_more.DuplicatesEverSeenTests.test_key_hashable) ... ok 157s test_key_non_hashable (tests.test_more.DuplicatesEverSeenTests.test_key_non_hashable) ... ok 157s test_key_partially_hashable (tests.test_more.DuplicatesEverSeenTests.test_key_partially_hashable) ... ok 157s test_non_hashable (tests.test_more.DuplicatesEverSeenTests.test_non_hashable) ... ok 157s test_partially_hashable (tests.test_more.DuplicatesEverSeenTests.test_partially_hashable) ... ok 157s test_basic (tests.test_more.DuplicatesJustSeenTests.test_basic) ... ok 157s test_key_hashable (tests.test_more.DuplicatesJustSeenTests.test_key_hashable) ... ok 157s test_key_non_hashable (tests.test_more.DuplicatesJustSeenTests.test_key_non_hashable) ... ok 157s test_key_partially_hashable (tests.test_more.DuplicatesJustSeenTests.test_key_partially_hashable) ... ok 157s test_nested (tests.test_more.DuplicatesJustSeenTests.test_nested) ... ok 157s test_non_hashable (tests.test_more.DuplicatesJustSeenTests.test_non_hashable) ... ok 157s test_partially_hashable (tests.test_more.DuplicatesJustSeenTests.test_partially_hashable) ... ok 157s test_empty (tests.test_more.ExactlyNTests.test_empty) 157s Return ``True`` if the iterable is empty and ``n`` is 0 ... ok 157s test_false (tests.test_more.ExactlyNTests.test_false) 157s Iterable does not have ``n`` ``True`` elements ... ok 157s test_true (tests.test_more.ExactlyNTests.test_true) 157s Iterable has ``n`` ``True`` elements ... ok 157s test_false (tests.test_more.FilterExceptTests.test_false) ... ok 157s test_multiple (tests.test_more.FilterExceptTests.test_multiple) ... ok 157s test_no_exceptions_pass (tests.test_more.FilterExceptTests.test_no_exceptions_pass) ... ok 157s test_no_exceptions_raise (tests.test_more.FilterExceptTests.test_no_exceptions_raise) ... ok 157s test_raise (tests.test_more.FilterExceptTests.test_raise) ... ok 157s test_filter (tests.test_more.FilterMapTests.test_filter) ... ok 157s test_filter_map (tests.test_more.FilterMapTests.test_filter_map) ... ok 157s test_map (tests.test_more.FilterMapTests.test_map) ... ok 157s test_no_iterables (tests.test_more.FilterMapTests.test_no_iterables) ... ok 157s test_default (tests.test_more.FirstTests.test_default) ... ok 157s test_empty (tests.test_more.FirstTests.test_empty) ... ok 157s test_many (tests.test_more.FirstTests.test_many) ... ok 157s test_one (tests.test_more.FirstTests.test_one) ... ok 157s test_basic (tests.test_more.GrayProductTests.test_basic) ... ok 157s test_errors (tests.test_more.GrayProductTests.test_errors) ... ok 157s test_vs_product (tests.test_more.GrayProductTests.test_vs_product) ... ok 157s test_default_funcs (tests.test_more.GroupByTransformTests.test_default_funcs) ... ok 157s test_no_valuefunc (tests.test_more.GroupByTransformTests.test_no_valuefunc) ... ok 157s test_reducefunc (tests.test_more.GroupByTransformTests.test_reducefunc) ... ok 157s test_valuefunc (tests.test_more.GroupByTransformTests.test_valuefunc) ... ok 157s test_even (tests.test_more.IchunkedTests.test_even) ... ok 157s test_laziness (tests.test_more.IchunkedTests.test_laziness) ... ok 157s test_memory_in_order (tests.test_more.IchunkedTests.test_memory_in_order) ... ok 157s test_negative (tests.test_more.IchunkedTests.test_negative) ... ok 157s test_odd (tests.test_more.IchunkedTests.test_odd) ... ok 157s test_out_of_order (tests.test_more.IchunkedTests.test_out_of_order) ... ok 157s test_zero (tests.test_more.IchunkedTests.test_zero) ... ok 157s test_basic (tests.test_more.IequalsTests.test_basic) ... ok 157s test_empty_iterables (tests.test_more.IequalsTests.test_empty_iterables) ... ok 157s test_more_than_two_iterable (tests.test_more.IequalsTests.test_more_than_two_iterable) ... ok 157s test_no_iterables (tests.test_more.IequalsTests.test_no_iterables) ... ok 157s test_none_is_not_a_sentinel (tests.test_more.IequalsTests.test_none_is_not_a_sentinel) ... ok 157s test_not_equal_lengths (tests.test_more.IequalsTests.test_not_equal_lengths) ... ok 157s test_not_identical_but_equal (tests.test_more.IequalsTests.test_not_identical_but_equal) ... ok 157s test_one_iterable (tests.test_more.IequalsTests.test_one_iterable) ... ok 157s test_order_matters (tests.test_more.IequalsTests.test_order_matters) ... ok 157s test_ilen (tests.test_more.IlenTests.test_ilen) 157s Sanity-checks for ``ilen()``. ... ok 157s test_argument_mismatch_raises (tests.test_more.InterleaveEvenlyTests.test_argument_mismatch_raises) ... ok 157s test_degenerate_empty (tests.test_more.InterleaveEvenlyTests.test_degenerate_empty) ... ok 157s test_degenerate_one (tests.test_more.InterleaveEvenlyTests.test_degenerate_one) ... ok 157s test_equal_lengths (tests.test_more.InterleaveEvenlyTests.test_equal_lengths) ... ok 157s test_manual_lengths (tests.test_more.InterleaveEvenlyTests.test_manual_lengths) ... ok 157s test_many_iters (tests.test_more.InterleaveEvenlyTests.test_many_iters) ... ok 157s test_no_length_raises (tests.test_more.InterleaveEvenlyTests.test_no_length_raises) ... ok 157s test_not_proportional (tests.test_more.InterleaveEvenlyTests.test_not_proportional) ... ok 157s test_proportional (tests.test_more.InterleaveEvenlyTests.test_proportional) ... ok 157s test_three_iters (tests.test_more.InterleaveEvenlyTests.test_three_iters) ... ok 157s test_even (tests.test_more.InterleaveLongestTests.test_even) ... ok 157s test_mixed_types (tests.test_more.InterleaveLongestTests.test_mixed_types) ... ok 157s test_short (tests.test_more.InterleaveLongestTests.test_short) ... ok 157s test_even (tests.test_more.InterleaveTests.test_even) ... ok 157s test_mixed_types (tests.test_more.InterleaveTests.test_mixed_types) ... ok 157s test_short (tests.test_more.InterleaveTests.test_short) ... ok 157s test_even (tests.test_more.IntersperseTest.test_even) ... ok 157s test_n (tests.test_more.IntersperseTest.test_n) ... ok 157s test_n_zero (tests.test_more.IntersperseTest.test_n_zero) ... ok 157s test_nested (tests.test_more.IntersperseTest.test_nested) ... ok 157s test_not_iterable (tests.test_more.IntersperseTest.test_not_iterable) ... ok 157s test_odd (tests.test_more.IntersperseTest.test_odd) ... ok 157s test_basic (tests.test_more.IsSortedTests.test_basic) ... ok 157s test_all (tests.test_more.IsliceExtendedTests.test_all) ... ok 157s test_invalid_slice (tests.test_more.IsliceExtendedTests.test_invalid_slice) ... ok 157s test_slicing (tests.test_more.IsliceExtendedTests.test_slicing) ... ok 157s test_slicing_extensive (tests.test_more.IsliceExtendedTests.test_slicing_extensive) ... ok 157s test_zero_step (tests.test_more.IsliceExtendedTests.test_zero_step) ... ok 157s test_early_suppression (tests.test_more.IterSuppressTests.test_early_suppression) ... ok 157s test_no_error (tests.test_more.IterSuppressTests.test_no_error) ... ok 157s test_raises_error (tests.test_more.IterSuppressTests.test_raises_error) ... ok 157s test_suppression (tests.test_more.IterSuppressTests.test_suppression) ... ok 157s test_basic (tests.test_more.IterateTests.test_basic) ... ok 157s test_func_controls_iteration_stop (tests.test_more.IterateTests.test_func_controls_iteration_stop) ... ok 157s test_basic (tests.test_more.JoinMappingTests.test_basic) ... ok 157s test_empty (tests.test_more.JoinMappingTests.test_empty) ... ok 157s test_basic (tests.test_more.LastTests.test_basic) ... ok 157s test_default (tests.test_more.LastTests.test_default) ... ok 157s test_empty (tests.test_more.LastTests.test_empty) ... ok 157s test_custom_pred (tests.test_more.LocateTests.test_custom_pred) ... ok 157s test_default_pred (tests.test_more.LocateTests.test_default_pred) ... ok 157s test_no_matches (tests.test_more.LocateTests.test_no_matches) ... ok 157s test_window_size (tests.test_more.LocateTests.test_window_size) ... ok 157s test_window_size_large (tests.test_more.LocateTests.test_window_size_large) ... ok 157s test_window_size_zero (tests.test_more.LocateTests.test_window_size_zero) ... ok 157s test_basic (tests.test_more.LongestCommonPrefixTests.test_basic) ... ok 157s test_contains_infinite_iterables (tests.test_more.LongestCommonPrefixTests.test_contains_infinite_iterables) ... ok 157s test_empty_iterables_only (tests.test_more.LongestCommonPrefixTests.test_empty_iterables_only) ... ok 157s test_includes_empty_iterables (tests.test_more.LongestCommonPrefixTests.test_includes_empty_iterables) ... ok 157s test_infinite_iterables (tests.test_more.LongestCommonPrefixTests.test_infinite_iterables) ... ok 157s test_iterators (tests.test_more.LongestCommonPrefixTests.test_iterators) ... ok 157s test_no_iterables (tests.test_more.LongestCommonPrefixTests.test_no_iterables) ... ok 157s test_non_hashable (tests.test_more.LongestCommonPrefixTests.test_non_hashable) ... ok 157s test_prefix_contains_elements_of_the_first_iterable (tests.test_more.LongestCommonPrefixTests.test_prefix_contains_elements_of_the_first_iterable) ... ok 157s test_basic (tests.test_more.MakeDecoratorTests.test_basic) ... ok 157s test_result_index (tests.test_more.MakeDecoratorTests.test_result_index) ... ok 157s test_wrap_class (tests.test_more.MakeDecoratorTests.test_wrap_class) ... ok 157s test_multiple (tests.test_more.MapExceptTests.test_multiple) ... ok 157s test_no_exceptions_pass (tests.test_more.MapExceptTests.test_no_exceptions_pass) ... ok 157s test_no_exceptions_raise (tests.test_more.MapExceptTests.test_no_exceptions_raise) ... ok 157s test_raise (tests.test_more.MapExceptTests.test_raise) ... ok 157s test_empty (tests.test_more.MapIfTests.test_empty) ... ok 157s test_with_func_else (tests.test_more.MapIfTests.test_with_func_else) ... ok 157s test_without_func_else (tests.test_more.MapIfTests.test_without_func_else) ... ok 157s test_default (tests.test_more.MapReduceTests.test_default) ... ok 157s test_reducefunc (tests.test_more.MapReduceTests.test_reducefunc) ... ok 157s test_ret (tests.test_more.MapReduceTests.test_ret) ... ok 157s test_valuefunc (tests.test_more.MapReduceTests.test_valuefunc) ... ok 157s test_basic (tests.test_more.MarkEndsTests.test_basic) ... ok 157s test_basic (tests.test_more.MinMaxTests.test_basic) ... ok 157s test_default (tests.test_more.MinMaxTests.test_default) ... ok 157s test_iterables (tests.test_more.MinMaxTests.test_iterables) ... ok 157s test_key (tests.test_more.MinMaxTests.test_key) ... ok 157s test_unpacked (tests.test_more.MinMaxTests.test_unpacked) ... ok 157s test_basic (tests.test_more.NthCombinationWithReplacementTests.test_basic) ... ok 157s test_invalid_index (tests.test_more.NthCombinationWithReplacementTests.test_invalid_index) ... ok 157s test_invalid_r (tests.test_more.NthCombinationWithReplacementTests.test_invalid_r) ... ok 157s test_long (tests.test_more.NthCombinationWithReplacementTests.test_long) ... ok 157s test_basic (tests.test_more.NthOrLastTests.test_basic) ... ok 157s test_default_value (tests.test_more.NthOrLastTests.test_default_value) ... ok 157s test_empty_iterable_no_default (tests.test_more.NthOrLastTests.test_empty_iterable_no_default) ... ok 157s test_basic (tests.test_more.NthProductTests.test_basic) ... ok 157s test_invalid_index (tests.test_more.NthProductTests.test_invalid_index) ... ok 157s test_long (tests.test_more.NthProductTests.test_long) ... ok 157s test_negative (tests.test_more.NthProductTests.test_negative) ... ok 157s test_arg_count (tests.test_more.NumericRangeTests.test_arg_count) ... ok 157s test_bad_key (tests.test_more.NumericRangeTests.test_bad_key) ... ok 157s test_basic (tests.test_more.NumericRangeTests.test_basic) ... ok 157s test_bool (tests.test_more.NumericRangeTests.test_bool) ... ok 157s test_contains (tests.test_more.NumericRangeTests.test_contains) ... ok 157s test_count (tests.test_more.NumericRangeTests.test_count) ... ok 157s test_eq (tests.test_more.NumericRangeTests.test_eq) ... ok 157s test_get_item_by_index (tests.test_more.NumericRangeTests.test_get_item_by_index) ... ok 157s test_get_item_by_slice (tests.test_more.NumericRangeTests.test_get_item_by_slice) ... ok 157s test_hash (tests.test_more.NumericRangeTests.test_hash) ... ok 157s test_index (tests.test_more.NumericRangeTests.test_index) ... ok 157s test_iter_twice (tests.test_more.NumericRangeTests.test_iter_twice) ... ok 157s test_len (tests.test_more.NumericRangeTests.test_len) ... ok 157s test_parent_classes (tests.test_more.NumericRangeTests.test_parent_classes) ... ok 157s test_pickle (tests.test_more.NumericRangeTests.test_pickle) ... ok 157s test_repr (tests.test_more.NumericRangeTests.test_repr) ... ok 157s test_reversed (tests.test_more.NumericRangeTests.test_reversed) ... ok 157s test_zero_step (tests.test_more.NumericRangeTests.test_zero_step) ... ok 157s test_basic (tests.test_more.OneTests.test_basic) ... ok 157s test_too_long (tests.test_more.OneTests.test_too_long) ... ok 157s test_too_long_default_message (tests.test_more.OneTests.test_too_long_default_message) ... ok 157s test_too_short (tests.test_more.OneTests.test_too_short) ... ok 157s test_custom_exception (tests.test_more.OnlyTests.test_custom_exception) ... ok 157s test_custom_value (tests.test_more.OnlyTests.test_custom_value) ... ok 157s test_default_exception_message (tests.test_more.OnlyTests.test_default_exception_message) ... ok 157s test_defaults (tests.test_more.OnlyTests.test_defaults) ... ok 157s test_basic (tests.test_more.OuterProductTests.test_basic) ... ok 157s test_invalid_n (tests.test_more.PaddedTest.test_invalid_n) ... ok 157s test_next_multiple (tests.test_more.PaddedTest.test_next_multiple) ... ok 157s test_no_n (tests.test_more.PaddedTest.test_no_n) ... ok 157s test_valid_n (tests.test_more.PaddedTest.test_valid_n) ... ok 157s test_basic (tests.test_more.PartialProductTests.test_basic) ... ok 157s test_empty_iterable (tests.test_more.PartialProductTests.test_empty_iterable) ... ok 157s test_no_iterables (tests.test_more.PartialProductTests.test_no_iterables) ... ok 157s test_one_iterable (tests.test_more.PartialProductTests.test_one_iterable) ... ok 157s test_two_iterables (tests.test_more.PartialProductTests.test_two_iterables) ... ok 157s test_uneven_length_iterables (tests.test_more.PartialProductTests.test_uneven_length_iterables) ... ok 157s test_duplicates (tests.test_more.PartitionsTest.test_duplicates) ... ok 157s test_empty (tests.test_more.PartitionsTest.test_empty) ... ok 157s test_order (tests.test_more.PartitionsTest.test_order) ... ok 157s test_types (tests.test_more.PartitionsTest.test_types) ... ok 157s test_empty (tests.test_more.PeekableTests.test_empty) 157s Tests prepending in front of an empty iterable ... ok 157s test_indexing (tests.test_more.PeekableTests.test_indexing) 157s Indexing into the peekable shouldn't advance the iterator. ... ok 157s test_multi_prepend (tests.test_more.PeekableTests.test_multi_prepend) 157s Tests prepending multiple items and getting them in proper order ... ok 157s test_multi_prepend_peek (tests.test_more.PeekableTests.test_multi_prepend_peek) 157s Tests prepending multiple elements and getting them in reverse order ... ok 157s test_passthrough (tests.test_more.PeekableTests.test_passthrough) 157s Iterating a peekable without using ``peek()`` or ``prepend()`` ... ok 157s test_peek_default (tests.test_more.PeekableTests.test_peek_default) 157s Make sure passing a default into ``peek()`` works. ... ok 157s test_prepend (tests.test_more.PeekableTests.test_prepend) 157s Tests interspersed ``prepend()`` and ``next()`` calls ... ok 157s test_prepend_after_stop (tests.test_more.PeekableTests.test_prepend_after_stop) 157s Test resuming iteration after a previous exhaustion ... ok 157s test_prepend_indexing (tests.test_more.PeekableTests.test_prepend_indexing) 157s Tests interaction between prepending and indexing ... ok 157s test_prepend_iterable (tests.test_more.PeekableTests.test_prepend_iterable) 157s Tests prepending from an iterable ... ok 157s test_prepend_many (tests.test_more.PeekableTests.test_prepend_many) 157s Tests that prepending a huge number of elements works ... ok 157s test_prepend_reversed (tests.test_more.PeekableTests.test_prepend_reversed) 157s Tests prepending from a reversed iterable ... ok 157s test_prepend_slicing (tests.test_more.PeekableTests.test_prepend_slicing) 157s Tests interaction between prepending and slicing ... ok 157s test_prepend_truthiness (tests.test_more.PeekableTests.test_prepend_truthiness) 157s Tests that ``__bool__()`` or ``__nonzero__()`` works properly ... ok 157s test_simple_peeking (tests.test_more.PeekableTests.test_simple_peeking) 157s Make sure ``next`` and ``peek`` advance and don't advance the ... ok 157s test_slicing (tests.test_more.PeekableTests.test_slicing) 157s Slicing the peekable shouldn't advance the iterator. ... ok 157s test_slicing_error (tests.test_more.PeekableTests.test_slicing_error) ... ok 157s test_slicing_reset (tests.test_more.PeekableTests.test_slicing_reset) 157s Test slicing on a fresh iterable each time ... ok 157s test_truthiness (tests.test_more.PeekableTests.test_truthiness) 157s Make sure a ``peekable`` tests true iff there are items remaining in ... ok 157s test_invalid_large (tests.test_more.PermutationIndexTests.test_invalid_large) ... ok 157s test_invalid_match (tests.test_more.PermutationIndexTests.test_invalid_match) ... ok 157s test_long (tests.test_more.PermutationIndexTests.test_long) ... ok 157s test_multiplicity (tests.test_more.PermutationIndexTests.test_multiplicity) ... ok 157s test_null (tests.test_more.PermutationIndexTests.test_null) ... ok 157s test_r_equal_to_n (tests.test_more.PermutationIndexTests.test_r_equal_to_n) ... ok 157s test_r_less_than_n (tests.test_more.PermutationIndexTests.test_r_less_than_n) ... ok 157s test_hash_count (tests.test_more.PowersetOfSetsTests.test_hash_count) ... ok 157s test_simple (tests.test_more.PowersetOfSetsTests.test_simple) ... ok 157s test_basic (tests.test_more.ProductIndexTests.test_basic) ... ok 157s test_invalid_empty (tests.test_more.ProductIndexTests.test_invalid_empty) ... ok 157s test_invalid_large (tests.test_more.ProductIndexTests.test_invalid_large) ... ok 157s test_invalid_match (tests.test_more.ProductIndexTests.test_invalid_match) ... ok 157s test_invalid_small (tests.test_more.ProductIndexTests.test_invalid_small) ... ok 157s test_long (tests.test_more.ProductIndexTests.test_long) ... ok 157s test_multiplicity (tests.test_more.ProductIndexTests.test_multiplicity) ... ok 157s test_basic (tests.test_more.RepeatEachTests.test_basic) ... ok 157s test_default (tests.test_more.RepeatEachTests.test_default) ... ok 157s test_empty (tests.test_more.RepeatEachTests.test_empty) ... ok 157s test_infinite_input (tests.test_more.RepeatEachTests.test_infinite_input) ... ok 157s test_negative_repeat (tests.test_more.RepeatEachTests.test_negative_repeat) ... ok 157s test_no_repeat (tests.test_more.RepeatEachTests.test_no_repeat) ... ok 157s test_basic (tests.test_more.RepeatLastTests.test_basic) ... ok 157s test_default_value (tests.test_more.RepeatLastTests.test_default_value) ... ok 157s test_empty_iterable (tests.test_more.RepeatLastTests.test_empty_iterable) ... ok 157s test_basic (tests.test_more.ReplaceTests.test_basic) ... ok 157s test_count (tests.test_more.ReplaceTests.test_count) ... ok 157s test_iterable_substitutes (tests.test_more.ReplaceTests.test_iterable_substitutes) ... ok 157s test_window_size (tests.test_more.ReplaceTests.test_window_size) ... ok 157s test_window_size_count (tests.test_more.ReplaceTests.test_window_size_count) ... ok 157s test_window_size_end (tests.test_more.ReplaceTests.test_window_size_end) ... ok 157s test_window_size_large (tests.test_more.ReplaceTests.test_window_size_large) ... ok 157s test_window_size_zero (tests.test_more.ReplaceTests.test_window_size_zero) ... ok 157s test_custom_pred (tests.test_more.RlocateTests.test_custom_pred) ... ok 157s test_default_pred (tests.test_more.RlocateTests.test_default_pred) ... ok 157s test_efficient_reversal (tests.test_more.RlocateTests.test_efficient_reversal) ... ok 157s test_no_matches (tests.test_more.RlocateTests.test_no_matches) ... ok 157s test_window_size (tests.test_more.RlocateTests.test_window_size) ... ok 157s test_window_size_large (tests.test_more.RlocateTests.test_window_size_large) ... ok 157s test_window_size_zero (tests.test_more.RlocateTests.test_window_size_zero) ... ok 157s test_decode (tests.test_more.RunLengthTest.test_decode) ... ok 157s test_encode (tests.test_more.RunLengthTest.test_encode) ... ok 157s test_counts (tests.test_more.SampleTests.test_counts) ... ok 157s test_counts_all (tests.test_more.SampleTests.test_counts_all) ... ok 157s test_invariance_under_permutations_unweighted (tests.test_more.SampleTests.test_invariance_under_permutations_unweighted) 157s The order of the data should not matter. This is a stochastic test, ... ok 157s test_invariance_under_permutations_weighted (tests.test_more.SampleTests.test_invariance_under_permutations_weighted) 157s The order of the data should not matter. This is a stochastic test, ... ok 157s test_length (tests.test_more.SampleTests.test_length) 157s Check that *k* elements are sampled. ... ok 157s test_negative (tests.test_more.SampleTests.test_negative) ... ok 157s test_sampling_entire_iterable (tests.test_more.SampleTests.test_sampling_entire_iterable) 157s If k=len(iterable), the sample contains the original elements. ... ok 157s test_scale_invariance_of_weights (tests.test_more.SampleTests.test_scale_invariance_of_weights) 157s The probability of choosing element a_i is w_i / sum(weights). ... ok 157s test_strict (tests.test_more.SampleTests.test_strict) ... ok 157s test_unit_case (tests.test_more.SampleTests.test_unit_case) 157s Test against a fixed case by seeding the random module. ... ok 157s test_elements (tests.test_more.SeekableTest.test_elements) ... ok 157s test_exhaustion_reset (tests.test_more.SeekableTest.test_exhaustion_reset) ... ok 157s test_forward (tests.test_more.SeekableTest.test_forward) ... ok 157s test_maxlen (tests.test_more.SeekableTest.test_maxlen) ... ok 157s test_maxlen_zero (tests.test_more.SeekableTest.test_maxlen_zero) ... ok 157s test_partial_reset (tests.test_more.SeekableTest.test_partial_reset) ... ok 157s test_passthrough (tests.test_more.SeekableTest.test_passthrough) 157s Iterating a peekable without using ``peek()`` or ``prepend()`` ... ok 157s test_past_end (tests.test_more.SeekableTest.test_past_end) ... ok 157s test_peek_default (tests.test_more.SeekableTest.test_peek_default) 157s Make sure passing a default into ``peek()`` works. ... ok 157s test_relative_seek (tests.test_more.SeekableTest.test_relative_seek) ... ok 157s test_simple_peeking (tests.test_more.SeekableTest.test_simple_peeking) 157s Make sure ``next`` and ``peek`` advance and don't advance the ... ok 157s test_truthiness (tests.test_more.SeekableTest.test_truthiness) 157s Make sure a ``peekable`` tests true iff there are items remaining in ... ok 157s test_abc_methods (tests.test_more.SequenceViewTests.test_abc_methods) ... ok 157s test_indexing (tests.test_more.SequenceViewTests.test_indexing) ... ok 157s test_init (tests.test_more.SequenceViewTests.test_init) ... ok 157s test_slicing (tests.test_more.SequenceViewTests.test_slicing) ... ok 157s test_update (tests.test_more.SequenceViewTests.test_update) ... ok 157s test_duplicates (tests.test_more.SetPartitionsTests.test_duplicates) ... ok 157s test_each_correct (tests.test_more.SetPartitionsTests.test_each_correct) ... ok 157s test_found_all (tests.test_more.SetPartitionsTests.test_found_all) 157s small example, hand-checked ... ok 157s test_max_size (tests.test_more.SetPartitionsTests.test_max_size) ... ok 157s test_min_size (tests.test_more.SetPartitionsTests.test_min_size) ... ok 157s test_no_group (tests.test_more.SetPartitionsTests.test_no_group) ... ok 157s test_repeated (tests.test_more.SetPartitionsTests.test_repeated) ... ok 157s test_stirling_numbers (tests.test_more.SetPartitionsTests.test_stirling_numbers) 157s Check against https://en.wikipedia.org/wiki/ ... ok 157s test_to_many_groups (tests.test_more.SetPartitionsTests.test_to_many_groups) ... ok 157s test_before_after (tests.test_more.SideEffectTests.test_before_after) ... ok 157s test_before_fails (tests.test_more.SideEffectTests.test_before_fails) ... ok 157s test_chunked (tests.test_more.SideEffectTests.test_chunked) ... ok 157s test_individual (tests.test_more.SideEffectTests.test_individual) ... ok 157s test_even (tests.test_more.SlicedTests.test_even) 157s Test when the length of the sequence is divisible by *n* ... ok 157s test_not_sliceable (tests.test_more.SlicedTests.test_not_sliceable) ... ok 157s test_numpy_like_array (tests.test_more.SlicedTests.test_numpy_like_array) ... ok 157s test_odd (tests.test_more.SlicedTests.test_odd) 157s Test when the length of the sequence is not divisible by *n* ... ok 157s test_odd_and_strict (tests.test_more.SlicedTests.test_odd_and_strict) ... ok 157s test_invalid_key_list (tests.test_more.SortTogetherTest.test_invalid_key_list) 157s tests `key_list` for indexes not available in `iterables` ... ok 157s test_key_function (tests.test_more.SortTogetherTest.test_key_function) 157s tests `key` function, including interaction with `key_list` ... ok 157s test_key_list (tests.test_more.SortTogetherTest.test_key_list) 157s tests `key_list` including default, iterables include duplicates ... ok 157s test_reverse (tests.test_more.SortTogetherTest.test_reverse) 157s tests `reverse` to ensure a reverse sort for `key_list` iterables ... ok 157s test_strict (tests.test_more.SortTogetherTest.test_strict) ... /usr/lib/python3/dist-packages/more_itertools/more.py:1742: DeprecationWarning: zip_equal will be removed in a future version of more-itertools. Use the builtin zip function with strict=True instead. 157s warnings.warn( 157s ok 157s test_uneven_iterables (tests.test_more.SortTogetherTest.test_uneven_iterables) 157s tests trimming of iterables to the shortest length before sorting ... ok 157s test_ends_with_sep (tests.test_more.SplitAfterTest.test_ends_with_sep) ... ok 157s test_max_split (tests.test_more.SplitAfterTest.test_max_split) ... ok 157s test_no_sep (tests.test_more.SplitAfterTest.test_no_sep) ... ok 157s test_starts_with_sep (tests.test_more.SplitAfterTest.test_starts_with_sep) ... ok 157s test_basic (tests.test_more.SplitAtTests.test_basic) ... ok 157s test_combination (tests.test_more.SplitAtTests.test_combination) ... ok 157s test_keep_separator (tests.test_more.SplitAtTests.test_keep_separator) ... ok 157s test_maxsplit (tests.test_more.SplitAtTests.test_maxsplit) ... ok 157s test_empty_collection (tests.test_more.SplitBeforeTest.test_empty_collection) ... ok 157s test_ends_with_sep (tests.test_more.SplitBeforeTest.test_ends_with_sep) ... ok 157s test_max_split (tests.test_more.SplitBeforeTest.test_max_split) ... ok 157s test_no_sep (tests.test_more.SplitBeforeTest.test_no_sep) ... ok 157s test_starts_with_sep (tests.test_more.SplitBeforeTest.test_starts_with_sep) ... ok 157s test_bool_in_sizes (tests.test_more.SplitIntoTests.test_bool_in_sizes) 157s A bool object is present in ``sizes`` is treated as a 1 or 0 for ... ok 157s test_both_empty (tests.test_more.SplitIntoTests.test_both_empty) 157s Both ``sizes`` and ``iterable`` arguments are empty. An empty ... ok 157s test_generator_iterable_integrity (tests.test_more.SplitIntoTests.test_generator_iterable_integrity) 157s Check that if ``iterable`` is an iterator, it is consumed only by as ... ok 157s test_generator_sizes_integrity (tests.test_more.SplitIntoTests.test_generator_sizes_integrity) 157s Check that if ``sizes`` is an iterator, it is consumed only until a ... ok 157s test_invalid_in_sizes (tests.test_more.SplitIntoTests.test_invalid_in_sizes) 157s A ValueError is raised if an object in ``sizes`` is neither ``None`` ... ok 157s test_invalid_in_sizes_after_none (tests.test_more.SplitIntoTests.test_invalid_in_sizes_after_none) 157s A item in ``sizes`` that is invalid will not raise a TypeError if it ... ok 157s test_iterable_empty (tests.test_more.SplitIntoTests.test_iterable_empty) 157s ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok 157s test_iterable_empty_using_none (tests.test_more.SplitIntoTests.test_iterable_empty_using_none) 157s ``iterable`` argument is empty but ``sizes`` is not. An empty ... ok 157s test_iterable_just_right (tests.test_more.SplitIntoTests.test_iterable_just_right) 157s Size of ``iterable`` equals the sum of ``sizes``. ... ok 157s test_iterable_too_large (tests.test_more.SplitIntoTests.test_iterable_too_large) 157s Size of ``iterable`` is larger than sum of ``sizes``. Not all ... ok 157s test_iterable_too_small (tests.test_more.SplitIntoTests.test_iterable_too_small) 157s Size of ``iterable`` is smaller than sum of ``sizes``. Last return ... ok 157s test_iterable_too_small_extra (tests.test_more.SplitIntoTests.test_iterable_too_small_extra) 157s Size of ``iterable`` is smaller than sum of ``sizes``. Second last ... ok 157s test_sizes_empty (tests.test_more.SplitIntoTests.test_sizes_empty) 157s ``sizes`` argument is empty but ``iterable`` is not. An empty ... ok 157s test_using_none_mid_sizes (tests.test_more.SplitIntoTests.test_using_none_mid_sizes) 157s None is present in ``sizes`` but is not the last item. Last list ... ok 157s test_using_none_with_leftover (tests.test_more.SplitIntoTests.test_using_none_with_leftover) 157s Last item of ``sizes`` is None when items still remain in ... ok 157s test_using_none_without_leftover (tests.test_more.SplitIntoTests.test_using_none_without_leftover) 157s Last item of ``sizes`` is None when no items remain in ... ok 157s test_after_emulation_ends_with_sep (tests.test_more.SplitWhenTests.test_after_emulation_ends_with_sep) ... ok 157s test_after_emulation_no_sep (tests.test_more.SplitWhenTests.test_after_emulation_no_sep) ... ok 157s test_after_emulation_starts_with_sep (tests.test_more.SplitWhenTests.test_after_emulation_starts_with_sep) ... ok 157s test_before_emulation_ends_with_sep (tests.test_more.SplitWhenTests.test_before_emulation_ends_with_sep) ... ok 157s test_before_emulation_no_sep (tests.test_more.SplitWhenTests.test_before_emulation_no_sep) ... ok 157s test_before_emulation_starts_with_sep (tests.test_more.SplitWhenTests.test_before_emulation_starts_with_sep) ... ok 157s test_empty_iterable (tests.test_more.SplitWhenTests.test_empty_iterable) ... ok 157s test_max_split (tests.test_more.SplitWhenTests.test_max_split) ... ok 157s test_one_element (tests.test_more.SplitWhenTests.test_one_element) ... ok 157s test_one_element_is_first_item (tests.test_more.SplitWhenTests.test_one_element_is_first_item) ... ok 157s test_one_element_is_second_item (tests.test_more.SplitWhenTests.test_one_element_is_second_item) ... ok 158s test_basic (tests.test_more.SpyTests.test_basic) ... ok 158s test_immutable (tests.test_more.SpyTests.test_immutable) ... ok 158s test_too_many (tests.test_more.SpyTests.test_too_many) ... ok 158s test_unpacking (tests.test_more.SpyTests.test_unpacking) ... ok 158s test_zero (tests.test_more.SpyTests.test_zero) ... ok 158s test_default (tests.test_more.StaggerTest.test_default) ... ok 158s test_longest (tests.test_more.StaggerTest.test_longest) ... ok 158s test_offsets (tests.test_more.StaggerTest.test_offsets) ... ok 158s test_basic (tests.test_more.StrictlyNTests.test_basic) ... ok 158s test_too_long_custom (tests.test_more.StrictlyNTests.test_too_long_custom) ... ok 158s test_too_long_default (tests.test_more.StrictlyNTests.test_too_long_default) ... ok 158s test_too_short_custom (tests.test_more.StrictlyNTests.test_too_short_custom) ... ok 158s test_too_short_default (tests.test_more.StrictlyNTests.test_too_short_default) ... ok 158s test_hashable (tests.test_more.StripFunctionTests.test_hashable) ... ok 158s test_math (tests.test_more.StripFunctionTests.test_math) ... ok 158s test_not_hashable (tests.test_more.StripFunctionTests.test_not_hashable) ... ok 158s test_basic (tests.test_more.SubstringsIndexesTests.test_basic) ... ok 158s test_empty (tests.test_more.SubstringsIndexesTests.test_empty) ... ok 158s test_order (tests.test_more.SubstringsIndexesTests.test_order) ... ok 158s test_reverse (tests.test_more.SubstringsIndexesTests.test_reverse) ... ok 158s test_strings (tests.test_more.SubstringsIndexesTests.test_strings) ... ok 158s test_basic (tests.test_more.SubstringsTests.test_basic) ... ok 158s test_empty (tests.test_more.SubstringsTests.test_empty) ... ok 158s test_order (tests.test_more.SubstringsTests.test_order) ... ok 158s test_strings (tests.test_more.SubstringsTests.test_strings) ... ok 158s test_basic (tests.test_more.TakewhileInclusiveTests.test_basic) ... ok 158s test_collatz_sequence (tests.test_more.TakewhileInclusiveTests.test_collatz_sequence) ... ok 158s test_empty_iterator (tests.test_more.TakewhileInclusiveTests.test_empty_iterator) ... ok 158s test_base_type (tests.test_more.TestAlwaysIterable.test_base_type) ... ok 158s test_generator (tests.test_more.TestAlwaysIterable.test_generator) ... ok 158s test_iterables (tests.test_more.TestAlwaysIterable.test_iterables) ... ok 158s test_none (tests.test_more.TestAlwaysIterable.test_none) ... ok 158s test_single (tests.test_more.TestAlwaysIterable.test_single) ... ok 158s test_strings (tests.test_more.TestAlwaysIterable.test_strings) ... ok 158s test_collapse (tests.test_more.TestCollapse.test_collapse) ... ok 158s test_collapse_flatten (tests.test_more.TestCollapse.test_collapse_flatten) ... ok 158s test_collapse_to_bytes (tests.test_more.TestCollapse.test_collapse_to_bytes) ... ok 158s test_collapse_to_level (tests.test_more.TestCollapse.test_collapse_to_level) ... ok 158s test_collapse_to_list (tests.test_more.TestCollapse.test_collapse_to_list) ... ok 158s test_collapse_to_string (tests.test_more.TestCollapse.test_collapse_to_string) ... ok 158s test_basic (tests.test_more.TimeLimitedTests.test_basic) ... ok 158s test_complete (tests.test_more.TimeLimitedTests.test_complete) ... ok 158s test_invalid_limit (tests.test_more.TimeLimitedTests.test_invalid_limit) ... ok 158s test_zero_limit (tests.test_more.TimeLimitedTests.test_zero_limit) ... ok 158s test_basic (tests.test_more.UniqueInWindowTests.test_basic) ... ok 158s test_invalid_n (tests.test_more.UniqueInWindowTests.test_invalid_n) ... ok 158s test_key (tests.test_more.UniqueInWindowTests.test_key) ... ok 158s test_all_unique (tests.test_more.UniqueToEachTests.test_all_unique) 158s When all the input iterables are unique the output should match ... ok 158s test_duplicates (tests.test_more.UniqueToEachTests.test_duplicates) 158s When there are duplicates in any of the input iterables that aren't ... ok 158s test_mixed (tests.test_more.UniqueToEachTests.test_mixed) 158s When the input iterables contain different types the function should ... ok 158s test_empty_iterable (tests.test_more.UnzipTests.test_empty_iterable) ... ok 158s test_improperly_zipped (tests.test_more.UnzipTests.test_improperly_zipped) ... ok 158s test_increasingly_zipped (tests.test_more.UnzipTests.test_increasingly_zipped) ... ok 158s test_length_one_iterable (tests.test_more.UnzipTests.test_length_one_iterable) ... ok 158s test_normal_case (tests.test_more.UnzipTests.test_normal_case) ... ok 158s test_complex (tests.test_more.ValueChainTests.test_complex) ... ok 158s test_empty (tests.test_more.ValueChainTests.test_empty) ... ok 158s test_empty_lists (tests.test_more.ValueChainTests.test_empty_lists) ... ok 158s test_more (tests.test_more.ValueChainTests.test_more) ... ok 158s test_simple (tests.test_more.ValueChainTests.test_simple) ... ok 158s test_basic (tests.test_more.WindowedCompleteTests.test_basic) ... ok 158s test_every_partition (tests.test_more.WindowedCompleteTests.test_every_partition) ... ok 158s test_wrong_length (tests.test_more.WindowedCompleteTests.test_wrong_length) ... ok 158s test_zero_length (tests.test_more.WindowedCompleteTests.test_zero_length) ... ok 158s test_basic (tests.test_more.WindowedTests.test_basic) ... ok 158s test_empty_seq (tests.test_more.WindowedTests.test_empty_seq) ... ok 158s test_fillvalue (tests.test_more.WindowedTests.test_fillvalue) ... ok 158s test_fillvalue_step (tests.test_more.WindowedTests.test_fillvalue_step) ... ok 158s test_invalid_step (tests.test_more.WindowedTests.test_invalid_step) ... ok 158s test_negative (tests.test_more.WindowedTests.test_negative) ... ok 158s test_step (tests.test_more.WindowedTests.test_step) ... ok 158s test_with_iter (tests.test_more.WithIterTests.test_with_iter) ... ok 158s test_scalar_types (tests.test_more.ZipBroadcastTests.test_scalar_types) ... ok 158s test_zip (tests.test_more.ZipBroadcastTests.test_zip) ... ok 158s test_deprecation (tests.test_more.ZipEqualTest.test_deprecation) ... ok 158s test_equal (tests.test_more.ZipEqualTest.test_equal) ... /usr/lib/python3/dist-packages/more_itertools/more.py:1742: DeprecationWarning: zip_equal will be removed in a future version of more-itertools. Use the builtin zip function with strict=True instead. 158s warnings.warn( 158s ok 158s test_unequal_lists (tests.test_more.ZipEqualTest.test_unequal_lists) ... ok 158s test_longest (tests.test_more.ZipOffsetTest.test_longest) ... ok 158s test_mismatch (tests.test_more.ZipOffsetTest.test_mismatch) ... ok 158s test_shortest (tests.test_more.ZipOffsetTest.test_shortest) ... ok 158s SequenceView (more_itertools.more) 158s Doctest: more_itertools.more.SequenceView ... ok 158s adjacent (more_itertools.more) 158s Doctest: more_itertools.more.adjacent ... ok 158s all_unique (more_itertools.more) 158s Doctest: more_itertools.more.all_unique ... ok 158s always_iterable (more_itertools.more) 158s Doctest: more_itertools.more.always_iterable ... ok 158s always_reversible (more_itertools.more) 158s Doctest: more_itertools.more.always_reversible ... ok 158s bucket (more_itertools.more) 158s Doctest: more_itertools.more.bucket ... ok 158s callback_iter (more_itertools.more) 158s Doctest: more_itertools.more.callback_iter ... ok 158s chunked (more_itertools.more) 158s Doctest: more_itertools.more.chunked ... ok 158s chunked_even (more_itertools.more) 158s Doctest: more_itertools.more.chunked_even ... ok 158s circular_shifts (more_itertools.more) 158s Doctest: more_itertools.more.circular_shifts ... ok 158s classify_unique (more_itertools.more) 158s Doctest: more_itertools.more.classify_unique ... ok 158s collapse (more_itertools.more) 158s Doctest: more_itertools.more.collapse ... ok 158s combination_index (more_itertools.more) 158s Doctest: more_itertools.more.combination_index ... ok 158s combination_with_replacement_index (more_itertools.more) 158s Doctest: more_itertools.more.combination_with_replacement_index ... ok 158s consecutive_groups (more_itertools.more) 158s Doctest: more_itertools.more.consecutive_groups ... ok 158s constrained_batches (more_itertools.more) 158s Doctest: more_itertools.more.constrained_batches ... ok 158s consumer (more_itertools.more) 158s Doctest: more_itertools.more.consumer ... ok 158s count_cycle (more_itertools.more) 158s Doctest: more_itertools.more.count_cycle ... ok 158s countable (more_itertools.more) 158s Doctest: more_itertools.more.countable ... ok 158s dft (more_itertools.more) 158s Doctest: more_itertools.more.dft ... ok 158s difference (more_itertools.more) 158s Doctest: more_itertools.more.difference ... ok 158s distinct_combinations (more_itertools.more) 158s Doctest: more_itertools.more.distinct_combinations ... ok 158s distinct_permutations (more_itertools.more) 158s Doctest: more_itertools.more.distinct_permutations ... ok 158s distribute (more_itertools.more) 158s Doctest: more_itertools.more.distribute ... ok 158s divide (more_itertools.more) 158s Doctest: more_itertools.more.divide ... ok 158s doublestarmap (more_itertools.more) 158s Doctest: more_itertools.more.doublestarmap ... ok 158s duplicates_everseen (more_itertools.more) 158s Doctest: more_itertools.more.duplicates_everseen ... ok 158s duplicates_justseen (more_itertools.more) 158s Doctest: more_itertools.more.duplicates_justseen ... ok 158s exactly_n (more_itertools.more) 158s Doctest: more_itertools.more.exactly_n ... ok 158s filter_except (more_itertools.more) 158s Doctest: more_itertools.more.filter_except ... ok 158s filter_map (more_itertools.more) 158s Doctest: more_itertools.more.filter_map ... ok 158s first (more_itertools.more) 158s Doctest: more_itertools.more.first ... ok 158s gray_product (more_itertools.more) 158s Doctest: more_itertools.more.gray_product ... ok 158s groupby_transform (more_itertools.more) 158s Doctest: more_itertools.more.groupby_transform ... ok 158s ichunked (more_itertools.more) 158s Doctest: more_itertools.more.ichunked ... ok 158s idft (more_itertools.more) 158s Doctest: more_itertools.more.idft ... ok 158s iequals (more_itertools.more) 158s Doctest: more_itertools.more.iequals ... ok 158s ilen (more_itertools.more) 158s Doctest: more_itertools.more.ilen ... ok 158s interleave (more_itertools.more) 158s Doctest: more_itertools.more.interleave ... ok 158s interleave_evenly (more_itertools.more) 158s Doctest: more_itertools.more.interleave_evenly ... ok 158s interleave_longest (more_itertools.more) 158s Doctest: more_itertools.more.interleave_longest ... ok 158s intersperse (more_itertools.more) 158s Doctest: more_itertools.more.intersperse ... ok 158s is_sorted (more_itertools.more) 158s Doctest: more_itertools.more.is_sorted ... ok 158s islice_extended (more_itertools.more) 158s Doctest: more_itertools.more.islice_extended ... ok 158s iter_suppress (more_itertools.more) 158s Doctest: more_itertools.more.iter_suppress ... ok 158s iterate (more_itertools.more) 158s Doctest: more_itertools.more.iterate ... ok 158s join_mappings (more_itertools.more) 158s Doctest: more_itertools.more.join_mappings ... ok 158s last (more_itertools.more) 158s Doctest: more_itertools.more.last ... ok 158s locate (more_itertools.more) 158s Doctest: more_itertools.more.locate ... ok 158s longest_common_prefix (more_itertools.more) 158s Doctest: more_itertools.more.longest_common_prefix ... ok 158s lstrip (more_itertools.more) 158s Doctest: more_itertools.more.lstrip ... ok 158s make_decorator (more_itertools.more) 158s Doctest: more_itertools.more.make_decorator ... ok 158s map_except (more_itertools.more) 158s Doctest: more_itertools.more.map_except ... ok 158s map_if (more_itertools.more) 158s Doctest: more_itertools.more.map_if ... ok 158s map_reduce (more_itertools.more) 158s Doctest: more_itertools.more.map_reduce ... ok 158s mark_ends (more_itertools.more) 158s Doctest: more_itertools.more.mark_ends ... ok 158s minmax (more_itertools.more) 158s Doctest: more_itertools.more.minmax ... ok 158s nth_combination_with_replacement (more_itertools.more) 158s Doctest: more_itertools.more.nth_combination_with_replacement ... ok 158s nth_or_last (more_itertools.more) 158s Doctest: more_itertools.more.nth_or_last ... ok 158s nth_permutation (more_itertools.more) 158s Doctest: more_itertools.more.nth_permutation ... ok 158s nth_product (more_itertools.more) 158s Doctest: more_itertools.more.nth_product ... ok 158s numeric_range (more_itertools.more) 158s Doctest: more_itertools.more.numeric_range ... ok 158s one (more_itertools.more) 158s Doctest: more_itertools.more.one ... ok 158s only (more_itertools.more) 158s Doctest: more_itertools.more.only ... ok 158s outer_product (more_itertools.more) 158s Doctest: more_itertools.more.outer_product ... ok 158s padded (more_itertools.more) 158s Doctest: more_itertools.more.padded ... ok 158s partial_product (more_itertools.more) 158s Doctest: more_itertools.more.partial_product ... ok 158s partitions (more_itertools.more) 158s Doctest: more_itertools.more.partitions ... ok 158s peekable (more_itertools.more) 158s Doctest: more_itertools.more.peekable ... ok 158s prepend (more_itertools.more.peekable) 158s Doctest: more_itertools.more.peekable.prepend ... ok 158s permutation_index (more_itertools.more) 158s Doctest: more_itertools.more.permutation_index ... ok 158s powerset_of_sets (more_itertools.more) 158s Doctest: more_itertools.more.powerset_of_sets ... skipped 'all examples were skipped' 158s product_index (more_itertools.more) 158s Doctest: more_itertools.more.product_index ... ok 158s repeat_each (more_itertools.more) 158s Doctest: more_itertools.more.repeat_each ... ok 158s repeat_last (more_itertools.more) 158s Doctest: more_itertools.more.repeat_last ... ok 158s replace (more_itertools.more) 158s Doctest: more_itertools.more.replace ... ok 158s rlocate (more_itertools.more) 158s Doctest: more_itertools.more.rlocate ... ok 158s rstrip (more_itertools.more) 158s Doctest: more_itertools.more.rstrip ... ok 158s run_length (more_itertools.more) 158s Doctest: more_itertools.more.run_length ... ok 158s sample (more_itertools.more) 158s Doctest: more_itertools.more.sample ... ok 158s seekable (more_itertools.more) 158s Doctest: more_itertools.more.seekable ... ok 158s set_partitions (more_itertools.more) 158s Doctest: more_itertools.more.set_partitions ... ok 158s side_effect (more_itertools.more) 158s Doctest: more_itertools.more.side_effect ... ok 158s sliced (more_itertools.more) 158s Doctest: more_itertools.more.sliced ... ok 158s sort_together (more_itertools.more) 158s Doctest: more_itertools.more.sort_together ... ok 158s split_after (more_itertools.more) 158s Doctest: more_itertools.more.split_after ... ok 158s split_at (more_itertools.more) 158s Doctest: more_itertools.more.split_at ... ok 158s split_before (more_itertools.more) 158s Doctest: more_itertools.more.split_before ... ok 158s split_into (more_itertools.more) 158s Doctest: more_itertools.more.split_into ... ok 158s split_when (more_itertools.more) 158s Doctest: more_itertools.more.split_when ... ok 158s spy (more_itertools.more) 158s Doctest: more_itertools.more.spy ... ok 158s stagger (more_itertools.more) 158s Doctest: more_itertools.more.stagger ... ok 158s strictly_n (more_itertools.more) 158s Doctest: more_itertools.more.strictly_n ... ok 158s strip (more_itertools.more) 158s Doctest: more_itertools.more.strip ... ok 158s substrings (more_itertools.more) 158s Doctest: more_itertools.more.substrings ... ok 158s substrings_indexes (more_itertools.more) 158s Doctest: more_itertools.more.substrings_indexes ... ok 158s takewhile_inclusive (more_itertools.more) 158s Doctest: more_itertools.more.takewhile_inclusive ... ok 158s time_limited (more_itertools.more) 158s Doctest: more_itertools.more.time_limited ... ok 158s unique_in_window (more_itertools.more) 158s Doctest: more_itertools.more.unique_in_window ... ok 158s unique_to_each (more_itertools.more) 158s Doctest: more_itertools.more.unique_to_each ... ok 158s unzip (more_itertools.more) 158s Doctest: more_itertools.more.unzip ... ok 158s value_chain (more_itertools.more) 158s Doctest: more_itertools.more.value_chain ... ok 158s windowed (more_itertools.more) 158s Doctest: more_itertools.more.windowed ... ok 158s windowed_complete (more_itertools.more) 158s Doctest: more_itertools.more.windowed_complete ... ok 158s zip_broadcast (more_itertools.more) 158s Doctest: more_itertools.more.zip_broadcast ... ok 158s zip_equal (more_itertools.more) 158s Doctest: more_itertools.more.zip_equal ... ok 158s zip_offset (more_itertools.more) 158s Doctest: more_itertools.more.zip_offset ... ok 158s test_empty (tests.test_recipes.AllEqualTests.test_empty) ... ok 158s test_false (tests.test_recipes.AllEqualTests.test_false) ... ok 158s test_groupby_calls (tests.test_recipes.AllEqualTests.test_groupby_calls) ... ok 158s test_key (tests.test_recipes.AllEqualTests.test_key) ... ok 158s test_one (tests.test_recipes.AllEqualTests.test_one) ... ok 158s test_tricky (tests.test_recipes.AllEqualTests.test_tricky) ... ok 158s test_true (tests.test_recipes.AllEqualTests.test_true) ... ok 158s test_basic (tests.test_recipes.BatchedTests.test_basic) ... ok 158s test_strict (tests.test_recipes.BatchedTests.test_strict) ... ok 158s test_empty (tests.test_recipes.BeforeAndAfterTests.test_empty) ... ok 158s test_nested_remainder (tests.test_recipes.BeforeAndAfterTests.test_nested_remainder) ... ok 158s test_never_false (tests.test_recipes.BeforeAndAfterTests.test_never_false) ... ok 158s test_never_true (tests.test_recipes.BeforeAndAfterTests.test_never_true) ... ok 158s test_some_true (tests.test_recipes.BeforeAndAfterTests.test_some_true) ... ok 158s test_negative_consume (tests.test_recipes.ConsumeTests.test_negative_consume) 158s Check that negative consumption throws an error ... ok 158s test_null_consume (tests.test_recipes.ConsumeTests.test_null_consume) 158s Check the null case ... ok 158s test_sanity (tests.test_recipes.ConsumeTests.test_sanity) 158s Test basic functionality ... ok 158s test_total_consume (tests.test_recipes.ConsumeTests.test_total_consume) 158s Check that iterator is totally consumed by default ... ok 158s test_derivative (tests.test_recipes.Convolvetests.test_derivative) ... ok 158s test_infinite_signal (tests.test_recipes.Convolvetests.test_infinite_signal) ... ok 158s test_moving_average (tests.test_recipes.Convolvetests.test_moving_average) ... ok 158s test_happy_path (tests.test_recipes.DotproductTests.test_happy_path) 158s simple dotproduct example ... ok 158s test_basic (tests.test_recipes.FactorTests.test_basic) ... ok 158s test_cross_check (tests.test_recipes.FactorTests.test_cross_check) ... ok 158s test_default (tests.test_recipes.FirstTrueTests.test_default) 158s Test with a default keyword ... ok 158s test_nothing_true (tests.test_recipes.FirstTrueTests.test_nothing_true) 158s Test default return value. ... ok 158s test_pred (tests.test_recipes.FirstTrueTests.test_pred) 158s Test with a custom predicate ... ok 158s test_something_true (tests.test_recipes.FirstTrueTests.test_something_true) 158s Test with no keywords ... ok 158s test_basic_usage (tests.test_recipes.FlattenTests.test_basic_usage) 158s ensure list of lists is flattened one level ... ok 158s test_single_level (tests.test_recipes.FlattenTests.test_single_level) 158s ensure list of lists is flattened only one level ... ok 158s test_basic (tests.test_recipes.GrouperTests.test_basic) ... ok 158s test_fill (tests.test_recipes.GrouperTests.test_fill) ... ok 158s test_ignore (tests.test_recipes.GrouperTests.test_ignore) ... ok 158s test_invalid_incomplete (tests.test_recipes.GrouperTests.test_invalid_incomplete) ... ok 158s test_strict (tests.test_recipes.GrouperTests.test_strict) ... ok 158s test_strict_fails (tests.test_recipes.GrouperTests.test_strict_fails) ... ok 158s test_exact_exception (tests.test_recipes.IterExceptTests.test_exact_exception) 158s ensure the exact specified exception is caught ... ok 158s test_first (tests.test_recipes.IterExceptTests.test_first) 158s ensure first is run before the function ... ok 158s test_generic_exception (tests.test_recipes.IterExceptTests.test_generic_exception) 158s ensure the generic exception can be caught ... ok 158s test_multiple (tests.test_recipes.IterExceptTests.test_multiple) 158s ensure can catch multiple exceptions ... ok 158s test_uncaught_exception_is_raised (tests.test_recipes.IterExceptTests.test_uncaught_exception_is_raised) 158s ensure a non-specified exception is raised ... ok 158s test_basic (tests.test_recipes.IterIndexTests.test_basic) ... ok 158s test_start (tests.test_recipes.IterIndexTests.test_start) ... ok 158s test_stop (tests.test_recipes.IterIndexTests.test_stop) ... ok 158s test_m_by_n (tests.test_recipes.MatMulTests.test_m_by_n) ... ok 158s test_n_by_n (tests.test_recipes.MatMulTests.test_n_by_n) ... ok 158s test_happy_path (tests.test_recipes.NcyclesTests.test_happy_path) 158s cycle a sequence three times ... ok 158s test_null_case (tests.test_recipes.NcyclesTests.test_null_case) 158s asking for 0 cycles should return an empty iterator ... ok 158s test_pathological_case (tests.test_recipes.NcyclesTests.test_pathological_case) 158s asking for negative cycles should return an empty iterator ... ok 158s test_basic (tests.test_recipes.NthCombinationTests.test_basic) ... ok 158s test_invalid_index (tests.test_recipes.NthCombinationTests.test_invalid_index) ... ok 158s test_invalid_r (tests.test_recipes.NthCombinationTests.test_invalid_r) ... ok 158s test_long (tests.test_recipes.NthCombinationTests.test_long) ... ok 158s test_invalid_index (tests.test_recipes.NthPermutationTests.test_invalid_index) ... ok 158s test_invalid_r (tests.test_recipes.NthPermutationTests.test_invalid_r) ... ok 158s test_long (tests.test_recipes.NthPermutationTests.test_long) ... ok 158s test_negative_index (tests.test_recipes.NthPermutationTests.test_negative_index) ... ok 158s test_null (tests.test_recipes.NthPermutationTests.test_null) ... ok 158s test_r_equal_to_n (tests.test_recipes.NthPermutationTests.test_r_equal_to_n) ... ok 158s test_r_less_than_n (tests.test_recipes.NthPermutationTests.test_r_less_than_n) ... ok 158s test_basic (tests.test_recipes.NthTests.test_basic) 158s Make sure the nth item is returned ... ok 158s test_default (tests.test_recipes.NthTests.test_default) 158s Ensure a default value is returned when nth item not found ... ok 158s test_negative_item_raises (tests.test_recipes.NthTests.test_negative_item_raises) 158s Ensure asking for a negative item raises an exception ... ok 158s test_basic (tests.test_recipes.PadnoneTests.test_basic) ... ok 158s test_base_case (tests.test_recipes.PairwiseTests.test_base_case) 158s ensure an iterable will return pairwise ... ok 158s test_coverage (tests.test_recipes.PairwiseTests.test_coverage) ... ok 158s test_short_case (tests.test_recipes.PairwiseTests.test_short_case) 158s ensure an empty iterator if there's not enough values to pair ... ok 158s test_arbitrary (tests.test_recipes.PartitionTests.test_arbitrary) ... ok 158s test_bool (tests.test_recipes.PartitionTests.test_bool) ... ok 158s test_pred_is_none (tests.test_recipes.PartitionTests.test_pred_is_none) ... ok 158s test_basic (tests.test_recipes.PolynomialDerivativeTests.test_basic) ... ok 158s test_basic (tests.test_recipes.PolynomialEvalTests.test_basic) ... ok 158s test_basic (tests.test_recipes.PolynomialFromRootsTests.test_basic) ... ok 158s test_combinatorics (tests.test_recipes.PowersetTests.test_combinatorics) 158s Ensure a proper enumeration ... ok 158s test_basic (tests.test_recipes.PrependTests.test_basic) ... ok 158s test_multiple (tests.test_recipes.PrependTests.test_multiple) ... ok 158s test_custom_predicate (tests.test_recipes.QuantifyTests.test_custom_predicate) 158s Ensure non-default predicates return as expected ... ok 158s test_happy_path (tests.test_recipes.QuantifyTests.test_happy_path) 158s Make sure True count is returned ... ok 158s test_no_replacement (tests.test_recipes.RandomCombinationTests.test_no_replacement) 158s ensure that elements are sampled without replacement ... ok 158s test_pseudorandomness (tests.test_recipes.RandomCombinationTests.test_pseudorandomness) 158s ensure different subsets of the iterable get returned over many ... ok 158s test_pseudorandomness (tests.test_recipes.RandomCombinationWithReplacementTests.test_pseudorandomness) 158s ensure different subsets of the iterable get returned over many ... ok 158s test_replacement (tests.test_recipes.RandomCombinationWithReplacementTests.test_replacement) 158s ensure that elements are sampled with replacement ... ok 158s test_full_permutation (tests.test_recipes.RandomPermutationTests.test_full_permutation) 158s ensure every item from the iterable is returned in a new ordering ... ok 158s test_partial_permutation (tests.test_recipes.RandomPermutationTests.test_partial_permutation) 158s ensure all returned items are from the iterable, that the returned ... ok 158s test_list_with_repeat (tests.test_recipes.RandomProductTests.test_list_with_repeat) 158s ensure multiple items are chosen, and that they appear to be chosen ... ok 158s test_simple_lists (tests.test_recipes.RandomProductTests.test_simple_lists) 158s Ensure that one item is chosen from each list in each pair. ... ok 158s test_added_arguments (tests.test_recipes.RepeatfuncTests.test_added_arguments) 158s ensure arguments are applied to the function ... ok 158s test_finite_repeat (tests.test_recipes.RepeatfuncTests.test_finite_repeat) 158s ensure limited repeat when times is provided ... ok 158s test_null_times (tests.test_recipes.RepeatfuncTests.test_null_times) 158s repeat 0 should return an empty iterator ... ok 158s test_simple_repeat (tests.test_recipes.RepeatfuncTests.test_simple_repeat) 158s test simple repeated functions ... ok 158s test_basic (tests.test_recipes.ReshapeTests.test_basic) ... ok 158s test_empty (tests.test_recipes.ReshapeTests.test_empty) ... ok 158s test_zero (tests.test_recipes.ReshapeTests.test_zero) ... ok 158s test_even_groups (tests.test_recipes.RoundrobinTests.test_even_groups) 158s Ensure ordered output from evenly populated iterables ... ok 158s test_uneven_groups (tests.test_recipes.RoundrobinTests.test_uneven_groups) 158s Ensure ordered output from unevenly populated iterables ... ok 158s test_basic (tests.test_recipes.SieveTests.test_basic) ... ok 158s test_prime_counts (tests.test_recipes.SieveTests.test_prime_counts) ... ok 158s test_small_numbers (tests.test_recipes.SieveTests.test_small_numbers) ... ok 158s test_deque_version (tests.test_recipes.SlidingWindowTests.test_deque_version) ... ok 158s test_islice_version (tests.test_recipes.SlidingWindowTests.test_islice_version) ... ok 158s test_zero (tests.test_recipes.SlidingWindowTests.test_zero) ... ok 158s test_basic (tests.test_recipes.SubslicesTests.test_basic) ... ok 158s test_basic (tests.test_recipes.SumOfSquaresTests.test_basic) ... ok 158s test_count (tests.test_recipes.TabulateTests.test_count) 158s Ensure tabulate accepts specific count ... ok 158s test_simple_tabulate (tests.test_recipes.TabulateTests.test_simple_tabulate) 158s Test the happy path ... ok 158s test_iterator_equal (tests.test_recipes.TailTests.test_iterator_equal) 158s Length of iterator is equal to the requested tail ... ok 158s test_iterator_greater (tests.test_recipes.TailTests.test_iterator_greater) 158s Length of iterator is greater than requested tail ... ok 158s test_iterator_less (tests.test_recipes.TailTests.test_iterator_less) 158s Length of iterator is less than requested tail ... ok 158s test_sized_equal (tests.test_recipes.TailTests.test_sized_equal) 158s Length of sized iterable is less than requested tail ... ok 158s test_sized_greater (tests.test_recipes.TailTests.test_sized_greater) 158s Length of sized iterable is greater than requested tail ... ok 158s test_sized_less (tests.test_recipes.TailTests.test_sized_less) 158s Length of sized iterable is less than requested tail ... ok 158s test_negative_take (tests.test_recipes.TakeTests.test_negative_take) 158s Make sure taking negative items results in a ValueError ... ok 158s test_null_take (tests.test_recipes.TakeTests.test_null_take) 158s Check the null case ... ok 158s test_simple_take (tests.test_recipes.TakeTests.test_simple_take) 158s Test basic usage ... ok 158s test_take_too_much (tests.test_recipes.TakeTests.test_take_too_much) 158s Taking more than an iterator has remaining should return what the ... ok 158s test_basic (tests.test_recipes.TotientTests.test_basic) ... ok 158s test_basic (tests.test_recipes.TransposeTests.test_basic) ... ok 158s test_empty (tests.test_recipes.TransposeTests.test_empty) ... ok 158s test_incompatible_allow (tests.test_recipes.TransposeTests.test_incompatible_allow) ... skipped 'strict=True missing on 3.9' 158s test_incompatible_error (tests.test_recipes.TransposeTests.test_incompatible_error) ... ok 158s test_basic (tests.test_recipes.TriplewiseTests.test_basic) ... ok 158s test_custom_key (tests.test_recipes.UniqueEverseenTests.test_custom_key) ... ok 158s test_everseen (tests.test_recipes.UniqueEverseenTests.test_everseen) ... ok 158s test_unhashable (tests.test_recipes.UniqueEverseenTests.test_unhashable) ... ok 158s test_unhashable_key (tests.test_recipes.UniqueEverseenTests.test_unhashable_key) ... ok 158s test_custom_key (tests.test_recipes.UniqueJustseenTests.test_custom_key) ... ok 158s test_justseen (tests.test_recipes.UniqueJustseenTests.test_justseen) ... ok 158s test_basic (tests.test_recipes.UniqueTests.test_basic) ... ok 158s test_key (tests.test_recipes.UniqueTests.test_key) ... ok 158s test_reverse (tests.test_recipes.UniqueTests.test_reverse) ... ok 158s _batched (more_itertools.recipes) 158s Doctest: more_itertools.recipes._batched ... ok 158s _pairwise (more_itertools.recipes) 158s Doctest: more_itertools.recipes._pairwise ... ok 158s all_equal (more_itertools.recipes) 158s Doctest: more_itertools.recipes.all_equal ... ok 158s before_and_after (more_itertools.recipes) 158s Doctest: more_itertools.recipes.before_and_after ... ok 158s consume (more_itertools.recipes) 158s Doctest: more_itertools.recipes.consume ... ok 158s convolve (more_itertools.recipes) 158s Doctest: more_itertools.recipes.convolve ... ok 158s dotproduct (more_itertools.recipes) 158s Doctest: more_itertools.recipes.dotproduct ... ok 158s factor (more_itertools.recipes) 158s Doctest: more_itertools.recipes.factor ... ok 158s first_true (more_itertools.recipes) 158s Doctest: more_itertools.recipes.first_true ... ok 158s flatten (more_itertools.recipes) 158s Doctest: more_itertools.recipes.flatten ... ok 158s grouper (more_itertools.recipes) 158s Doctest: more_itertools.recipes.grouper ... ok 158s iter_except (more_itertools.recipes) 158s Doctest: more_itertools.recipes.iter_except ... ok 158s iter_index (more_itertools.recipes) 158s Doctest: more_itertools.recipes.iter_index ... ok 158s matmul (more_itertools.recipes) 158s Doctest: more_itertools.recipes.matmul ... ok 158s ncycles (more_itertools.recipes) 158s Doctest: more_itertools.recipes.ncycles ... ok 158s nth (more_itertools.recipes) 158s Doctest: more_itertools.recipes.nth ... ok 158s nth_combination (more_itertools.recipes) 158s Doctest: more_itertools.recipes.nth_combination ... ok 158s pad_none (more_itertools.recipes) 158s Doctest: more_itertools.recipes.pad_none ... ok 158s pairwise (more_itertools.recipes) 158s Doctest: more_itertools.recipes.pairwise ... ok 158s partition (more_itertools.recipes) 158s Doctest: more_itertools.recipes.partition ... ok 158s polynomial_derivative (more_itertools.recipes) 158s Doctest: more_itertools.recipes.polynomial_derivative ... ok 158s polynomial_eval (more_itertools.recipes) 158s Doctest: more_itertools.recipes.polynomial_eval ... ok 158s polynomial_from_roots (more_itertools.recipes) 158s Doctest: more_itertools.recipes.polynomial_from_roots ... ok 158s powerset (more_itertools.recipes) 158s Doctest: more_itertools.recipes.powerset ... ok 158s prepend (more_itertools.recipes) 158s Doctest: more_itertools.recipes.prepend ... ok 158s quantify (more_itertools.recipes) 158s Doctest: more_itertools.recipes.quantify ... ok 158s random_combination (more_itertools.recipes) 158s Doctest: more_itertools.recipes.random_combination ... skipped 'all examples were skipped' 158s random_combination_with_replacement (more_itertools.recipes) 158s Doctest: more_itertools.recipes.random_combination_with_replacement ... skipped 'all examples were skipped' 158s random_permutation (more_itertools.recipes) 158s Doctest: more_itertools.recipes.random_permutation ... skipped 'all examples were skipped' 158s random_product (more_itertools.recipes) 158s Doctest: more_itertools.recipes.random_product ... skipped 'all examples were skipped' 158s repeatfunc (more_itertools.recipes) 158s Doctest: more_itertools.recipes.repeatfunc ... ok 158s reshape (more_itertools.recipes) 158s Doctest: more_itertools.recipes.reshape ... ok 158s roundrobin (more_itertools.recipes) 158s Doctest: more_itertools.recipes.roundrobin ... ok 158s sieve (more_itertools.recipes) 158s Doctest: more_itertools.recipes.sieve ... ok 158s sliding_window (more_itertools.recipes) 158s Doctest: more_itertools.recipes.sliding_window ... ok 158s subslices (more_itertools.recipes) 158s Doctest: more_itertools.recipes.subslices ... ok 158s sum_of_squares (more_itertools.recipes) 158s Doctest: more_itertools.recipes.sum_of_squares ... ok 158s tabulate (more_itertools.recipes) 158s Doctest: more_itertools.recipes.tabulate ... ok 158s tail (more_itertools.recipes) 158s Doctest: more_itertools.recipes.tail ... ok 158s take (more_itertools.recipes) 158s Doctest: more_itertools.recipes.take ... ok 158s totient (more_itertools.recipes) 158s Doctest: more_itertools.recipes.totient ... ok 158s transpose (more_itertools.recipes) 158s Doctest: more_itertools.recipes.transpose ... ok 158s triplewise (more_itertools.recipes) 158s Doctest: more_itertools.recipes.triplewise ... ok 158s unique (more_itertools.recipes) 158s Doctest: more_itertools.recipes.unique ... ok 158s unique_everseen (more_itertools.recipes) 158s Doctest: more_itertools.recipes.unique_everseen ... ok 158s unique_justseen (more_itertools.recipes) 158s Doctest: more_itertools.recipes.unique_justseen ... ok 158s 158s ---------------------------------------------------------------------- 158s Ran 817 tests in 1.944s 158s 158s OK (skipped=6) 159s autopkgtest [15:55:25]: test command1: -----------------------] 159s autopkgtest [15:55:25]: test command1: - - - - - - - - - - results - - - - - - - - - - 159s command1 PASS 160s autopkgtest [15:55:26]: @@@@@@@@@@@@@@@@@@@@ summary 160s command1 PASS 179s nova [W] Using flock in prodstack6-arm64 179s Creating nova instance adt-plucky-arm64-more-itertools-20250103-155246-juju-7f2275-prod-proposed-migration-environment-2-faffd1a1-edb9-4394-9a7a-f180d246148d from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 179s nova [W] Timed out waiting for 4e45eaf5-2b3c-436e-8a8b-8f06b3e70257 to get deleted.