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