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