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