0s autopkgtest [16:36:04]: starting date and time: 2024-11-13 16:36:04+0000 0s autopkgtest [16:36:04]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [16:36:04]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.411oqxug/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade textdistance --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-12.secgroup --name adt-plucky-s390x-textdistance-20241113-163604-juju-7f2275-prod-proposed-migration-environment-15-e3711ef8-cf29-4163-b7dd-f1c12845f3bb --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 95s autopkgtest [16:37:39]: testbed dpkg architecture: s390x 95s autopkgtest [16:37:39]: testbed apt version: 2.9.8 95s autopkgtest [16:37:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 96s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 96s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 97s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [950 kB] 97s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 97s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 97s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [110 kB] 97s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [636 kB] 97s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [17.8 kB] 97s Fetched 1916 kB in 1s (2314 kB/s) 97s Reading package lists... 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Calculating upgrade... 99s The following NEW packages will be installed: 99s python3.13-gdbm 99s The following packages will be upgraded: 99s libgnutls30t64 libgpgme11t64 libjson-glib-1.0-0 libjson-glib-1.0-common 99s libpython3-stdlib libutempter0 python3 python3-gdbm python3-minimal 99s 9 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 99s Need to get 1285 kB of archives. 99s After this operation, 103 kB of additional disk space will be used. 99s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.12.7-1 [27.4 kB] 100s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.12.7-1 [24.0 kB] 100s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.12.7-1 [10.0 kB] 100s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgnutls30t64 s390x 3.8.8-2ubuntu1 [950 kB] 100s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-gdbm s390x 3.13.0-2 [31.0 kB] 100s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-gdbm s390x 3.12.7-1 [8642 B] 100s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.23.2-5ubuntu4 [151 kB] 100s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 100s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libjson-glib-1.0-0 s390x 1.10.0+ds-3 [67.5 kB] 100s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libutempter0 s390x 1.2.1-4 [9708 B] 100s Fetched 1285 kB in 1s (2112 kB/s) 100s (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 ... 55510 files and directories currently installed.) 100s Preparing to unpack .../python3-minimal_3.12.7-1_s390x.deb ... 100s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 100s Setting up python3-minimal (3.12.7-1) ... 100s (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 ... 55510 files and directories currently installed.) 100s Preparing to unpack .../python3_3.12.7-1_s390x.deb ... 100s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 100s Preparing to unpack .../libpython3-stdlib_3.12.7-1_s390x.deb ... 100s Unpacking libpython3-stdlib:s390x (3.12.7-1) over (3.12.6-0ubuntu1) ... 100s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_s390x.deb ... 100s Unpacking libgnutls30t64:s390x (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 100s Setting up libgnutls30t64:s390x (3.8.8-2ubuntu1) ... 100s Selecting previously unselected package python3.13-gdbm. 100s (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 ... 55510 files and directories currently installed.) 100s Preparing to unpack .../0-python3.13-gdbm_3.13.0-2_s390x.deb ... 100s Unpacking python3.13-gdbm (3.13.0-2) ... 100s Preparing to unpack .../1-python3-gdbm_3.12.7-1_s390x.deb ... 100s Unpacking python3-gdbm:s390x (3.12.7-1) over (3.12.6-1ubuntu1) ... 100s Preparing to unpack .../2-libgpgme11t64_1.23.2-5ubuntu4_s390x.deb ... 100s Unpacking libgpgme11t64:s390x (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 100s Preparing to unpack .../3-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 100s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 100s Preparing to unpack .../4-libjson-glib-1.0-0_1.10.0+ds-3_s390x.deb ... 100s Unpacking libjson-glib-1.0-0:s390x (1.10.0+ds-3) over (1.10.0+ds-2) ... 100s Preparing to unpack .../5-libutempter0_1.2.1-4_s390x.deb ... 100s Unpacking libutempter0:s390x (1.2.1-4) over (1.2.1-3build1) ... 101s Setting up libutempter0:s390x (1.2.1-4) ... 101s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 101s Setting up libgpgme11t64:s390x (1.23.2-5ubuntu4) ... 101s Setting up python3.13-gdbm (3.13.0-2) ... 101s Setting up libpython3-stdlib:s390x (3.12.7-1) ... 101s Setting up python3 (3.12.7-1) ... 101s Setting up libjson-glib-1.0-0:s390x (1.10.0+ds-3) ... 101s Setting up python3-gdbm:s390x (3.12.7-1) ... 101s Processing triggers for man-db (2.12.1-3) ... 101s Processing triggers for libc-bin (2.40-1ubuntu3) ... 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 102s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 102s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 102s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 103s Reading package lists... 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Calculating upgrade... 103s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s autopkgtest [16:37:50]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 106s autopkgtest [16:37:50]: @@@@@@@@@@@@@@@@@@@@ apt-source textdistance 107s Get:1 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (dsc) [2362 B] 107s Get:2 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (tar) [46.6 kB] 107s Get:3 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (diff) [4188 B] 107s gpgv: Signature made Mon Sep 9 19:25:22 2024 UTC 107s gpgv: using RSA key 7E1AC3FA27A649284C323EF6695C429316C07BFE 107s gpgv: issuer "jdg@debian.org" 107s gpgv: Can't check signature: No public key 107s dpkg-source: warning: cannot verify inline signature for ./textdistance_4.6.3-4.dsc: no acceptable signature found 107s autopkgtest [16:37:51]: testing package textdistance version 4.6.3-4 108s autopkgtest [16:37:52]: build not needed 108s autopkgtest [16:37:52]: test pybuild-autopkgtest: preparing testbed 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s Starting pkgProblemResolver with broken count: 0 110s Starting 2 pkgProblemResolver with broken count: 0 110s Done 110s The following additional packages will be installed: 110s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 110s cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit dh-autoreconf 110s dh-python dh-strip-nondeterminism dwz g++ g++-14 g++-14-s390x-linux-gnu 110s g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu 110s gettext intltool-debian libarchive-zip-perl libasan8 libblas3 libcc1-0 110s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev 110s libgfortran5 libgomp1 libisl23 libitm1 liblapack3 libmpc3 110s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool 110s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest python3-all 110s python3-dateutil python3-hypothesis python3-iniconfig python3-isort 110s python3-jellyfish python3-levenshtein python3-numpy python3-packaging 110s python3-pluggy python3-pylev python3-pytest python3-pyxdameraulevenshtein 110s python3-rapidfuzz python3-six python3-sortedcontainers python3-textdistance 110s python3.13 python3.13-minimal 110s Suggested packages: 110s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 110s cpp-14-doc dh-make flit python3-build python3-installer python3-wheel 110s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 110s gdb-s390x-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 110s libstdc++-14-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 110s libmail-box-perl python-hypothesis-doc python-jellyfish-doc gfortran 110s python-numpy-doc python3-dev python-rapidfuzz-doc 110s python-sortedcontainers-doc python3.13-venv python3.13-doc binfmt-support 110s Recommended packages: 110s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl python3-click 110s The following NEW packages will be installed: 110s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 110s cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit 110s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 110s g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu 110s gcc-s390x-linux-gnu gettext intltool-debian libarchive-zip-perl libasan8 110s libblas3 libcc1-0 libdebhelper-perl libfile-stripnondeterminism-perl 110s libgcc-14-dev libgfortran5 libgomp1 libisl23 libitm1 liblapack3 libmpc3 110s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool 110s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest python3-all 110s python3-dateutil python3-hypothesis python3-iniconfig python3-isort 110s python3-jellyfish python3-levenshtein python3-numpy python3-packaging 110s python3-pluggy python3-pylev python3-pytest python3-pyxdameraulevenshtein 110s python3-rapidfuzz python3-six python3-sortedcontainers python3-textdistance 110s python3.13 python3.13-minimal 110s 0 upgraded, 66 newly installed, 0 to remove and 0 not upgraded. 110s Need to get 70.0 MB/70.0 MB of archives. 110s After this operation, 235 MB of additional disk space will be used. 110s Get:1 /tmp/autopkgtest.ciTkmz/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [860 B] 110s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-minimal s390x 3.13.0-2 [877 kB] 110s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-minimal s390x 3.13.0-2 [2172 kB] 110s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x m4 s390x 1.4.19-4build1 [256 kB] 110s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x autoconf all 2.72-3 [382 kB] 110s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x autotools-dev all 20220109.1 [44.9 kB] 110s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 110s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x autopoint all 0.22.5-2 [616 kB] 110s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 111s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 111s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [9570 kB] 111s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-8ubuntu1 [1026 B] 111s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 111s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 111s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-8ubuntu1 [50.6 kB] 111s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-8ubuntu1 [151 kB] 111s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-8ubuntu1 [30.9 kB] 111s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-8ubuntu1 [2963 kB] 111s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-8ubuntu1 [1184 kB] 111s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-8ubuntu1 [1037 kB] 111s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [18.7 MB] 112s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-8ubuntu1 [518 kB] 112s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 112s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 112s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-8ubuntu1 [2608 kB] 112s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [11.0 MB] 112s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-8ubuntu1 [19.9 kB] 112s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 112s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 112s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 112s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 112s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libtool all 2.4.7-7build1 [166 kB] 112s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x dh-autoreconf all 20 [16.1 kB] 112s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 112s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 112s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x dh-strip-nondeterminism all 1.14.0-1 [5058 B] 112s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x debugedit s390x 1:5.1-1 [49.9 kB] 112s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x dwz s390x 0.15-1build6 [122 kB] 112s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x gettext s390x 0.22.5-2 [996 kB] 112s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 112s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 112s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x debhelper all 13.20ubuntu1 [893 kB] 112s Get:43 http://ftpmaster.internal/ubuntu plucky/universe s390x dh-python all 6.20241024 [112 kB] 112s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.0-3build2 [238 kB] 112s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 14.2.0-8ubuntu1 [587 kB] 112s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.0-3build2 [2953 kB] 112s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-stdlib s390x 3.13.0-2 [2086 kB] 112s Get:48 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 112s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13 s390x 3.13.0-2 [719 kB] 112s Get:50 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-all s390x 3.12.7-1 [890 B] 112s Get:51 http://ftpmaster.internal/ubuntu plucky/main s390x python3-six all 1.16.0-7 [13.1 kB] 112s Get:52 http://ftpmaster.internal/ubuntu plucky/main s390x python3-dateutil all 2.9.0-2 [80.3 kB] 112s Get:53 http://ftpmaster.internal/ubuntu plucky/main s390x python3-sortedcontainers all 2.4.0-2 [27.6 kB] 112s Get:54 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-hypothesis all 6.116.0-1 [326 kB] 112s Get:55 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 112s Get:56 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-isort all 5.13.2-2 [59.3 kB] 113s Get:57 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-jellyfish s390x 1.1.0-1 [294 kB] 113s Get:58 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-rapidfuzz s390x 3.9.4+ds-1 [1481 kB] 113s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-levenshtein s390x 0.26.0-1 [204 kB] 113s Get:60 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy s390x 1:1.26.4+ds-11build1 [4113 kB] 113s Get:61 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 113s Get:62 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 113s Get:63 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pylev all 1.4.0-1 [6594 B] 113s Get:64 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 113s Get:65 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyxdameraulevenshtein s390x 1.7.1-2build3 [27.8 kB] 113s Get:66 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-textdistance all 4.6.3-4 [37.0 kB] 113s Fetched 70.0 MB in 3s (22.9 MB/s) 113s Selecting previously unselected package libpython3.13-minimal:s390x. 113s (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 ... 55517 files and directories currently installed.) 113s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_s390x.deb ... 113s Unpacking libpython3.13-minimal:s390x (3.13.0-2) ... 113s Selecting previously unselected package python3.13-minimal. 113s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_s390x.deb ... 113s Unpacking python3.13-minimal (3.13.0-2) ... 113s Selecting previously unselected package m4. 113s Preparing to unpack .../02-m4_1.4.19-4build1_s390x.deb ... 113s Unpacking m4 (1.4.19-4build1) ... 113s Selecting previously unselected package autoconf. 113s Preparing to unpack .../03-autoconf_2.72-3_all.deb ... 113s Unpacking autoconf (2.72-3) ... 113s Selecting previously unselected package autotools-dev. 113s Preparing to unpack .../04-autotools-dev_20220109.1_all.deb ... 113s Unpacking autotools-dev (20220109.1) ... 113s Selecting previously unselected package automake. 113s Preparing to unpack .../05-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 113s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 113s Selecting previously unselected package autopoint. 113s Preparing to unpack .../06-autopoint_0.22.5-2_all.deb ... 113s Unpacking autopoint (0.22.5-2) ... 113s Selecting previously unselected package libisl23:s390x. 113s Preparing to unpack .../07-libisl23_0.27-1_s390x.deb ... 113s Unpacking libisl23:s390x (0.27-1) ... 113s Selecting previously unselected package libmpc3:s390x. 113s Preparing to unpack .../08-libmpc3_1.3.1-1build2_s390x.deb ... 113s Unpacking libmpc3:s390x (1.3.1-1build2) ... 113s Selecting previously unselected package cpp-14-s390x-linux-gnu. 113s Preparing to unpack .../09-cpp-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 113s Unpacking cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 113s Selecting previously unselected package cpp-14. 113s Preparing to unpack .../10-cpp-14_14.2.0-8ubuntu1_s390x.deb ... 113s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 113s Selecting previously unselected package cpp-s390x-linux-gnu. 113s Preparing to unpack .../11-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 113s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 113s Selecting previously unselected package cpp. 113s Preparing to unpack .../12-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 113s Unpacking cpp (4:14.1.0-2ubuntu1) ... 113s Selecting previously unselected package libcc1-0:s390x. 113s Preparing to unpack .../13-libcc1-0_14.2.0-8ubuntu1_s390x.deb ... 113s Unpacking libcc1-0:s390x (14.2.0-8ubuntu1) ... 113s Selecting previously unselected package libgomp1:s390x. 113s Preparing to unpack .../14-libgomp1_14.2.0-8ubuntu1_s390x.deb ... 113s Unpacking libgomp1:s390x (14.2.0-8ubuntu1) ... 113s Selecting previously unselected package libitm1:s390x. 113s Preparing to unpack .../15-libitm1_14.2.0-8ubuntu1_s390x.deb ... 113s Unpacking libitm1:s390x (14.2.0-8ubuntu1) ... 113s Selecting previously unselected package libasan8:s390x. 113s Preparing to unpack .../16-libasan8_14.2.0-8ubuntu1_s390x.deb ... 113s Unpacking libasan8:s390x (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libubsan1:s390x. 114s Preparing to unpack .../17-libubsan1_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking libubsan1:s390x (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libgcc-14-dev:s390x. 114s Preparing to unpack .../18-libgcc-14-dev_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package gcc-14-s390x-linux-gnu. 114s Preparing to unpack .../19-gcc-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package gcc-14. 114s Preparing to unpack .../20-gcc-14_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package gcc-s390x-linux-gnu. 114s Preparing to unpack .../21-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 114s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 114s Selecting previously unselected package gcc. 114s Preparing to unpack .../22-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 114s Unpacking gcc (4:14.1.0-2ubuntu1) ... 114s Selecting previously unselected package libstdc++-14-dev:s390x. 114s Preparing to unpack .../23-libstdc++-14-dev_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package g++-14-s390x-linux-gnu. 114s Preparing to unpack .../24-g++-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package g++-14. 114s Preparing to unpack .../25-g++-14_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking g++-14 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package g++-s390x-linux-gnu. 114s Preparing to unpack .../26-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 114s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 114s Selecting previously unselected package g++. 114s Preparing to unpack .../27-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 114s Unpacking g++ (4:14.1.0-2ubuntu1) ... 114s Selecting previously unselected package build-essential. 114s Preparing to unpack .../28-build-essential_12.10ubuntu1_s390x.deb ... 114s Unpacking build-essential (12.10ubuntu1) ... 114s Selecting previously unselected package libdebhelper-perl. 114s Preparing to unpack .../29-libdebhelper-perl_13.20ubuntu1_all.deb ... 114s Unpacking libdebhelper-perl (13.20ubuntu1) ... 114s Selecting previously unselected package libtool. 114s Preparing to unpack .../30-libtool_2.4.7-7build1_all.deb ... 114s Unpacking libtool (2.4.7-7build1) ... 114s Selecting previously unselected package dh-autoreconf. 114s Preparing to unpack .../31-dh-autoreconf_20_all.deb ... 114s Unpacking dh-autoreconf (20) ... 114s Selecting previously unselected package libarchive-zip-perl. 114s Preparing to unpack .../32-libarchive-zip-perl_1.68-1_all.deb ... 114s Unpacking libarchive-zip-perl (1.68-1) ... 114s Selecting previously unselected package libfile-stripnondeterminism-perl. 114s Preparing to unpack .../33-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 114s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 114s Selecting previously unselected package dh-strip-nondeterminism. 114s Preparing to unpack .../34-dh-strip-nondeterminism_1.14.0-1_all.deb ... 114s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 114s Selecting previously unselected package debugedit. 114s Preparing to unpack .../35-debugedit_1%3a5.1-1_s390x.deb ... 114s Unpacking debugedit (1:5.1-1) ... 114s Selecting previously unselected package dwz. 114s Preparing to unpack .../36-dwz_0.15-1build6_s390x.deb ... 114s Unpacking dwz (0.15-1build6) ... 114s Selecting previously unselected package gettext. 114s Preparing to unpack .../37-gettext_0.22.5-2_s390x.deb ... 114s Unpacking gettext (0.22.5-2) ... 114s Selecting previously unselected package intltool-debian. 114s Preparing to unpack .../38-intltool-debian_0.35.0+20060710.6_all.deb ... 114s Unpacking intltool-debian (0.35.0+20060710.6) ... 114s Selecting previously unselected package po-debconf. 114s Preparing to unpack .../39-po-debconf_1.0.21+nmu1_all.deb ... 114s Unpacking po-debconf (1.0.21+nmu1) ... 114s Selecting previously unselected package debhelper. 114s Preparing to unpack .../40-debhelper_13.20ubuntu1_all.deb ... 114s Unpacking debhelper (13.20ubuntu1) ... 114s Selecting previously unselected package dh-python. 114s Preparing to unpack .../41-dh-python_6.20241024_all.deb ... 114s Unpacking dh-python (6.20241024) ... 114s Selecting previously unselected package libblas3:s390x. 114s Preparing to unpack .../42-libblas3_3.12.0-3build2_s390x.deb ... 114s Unpacking libblas3:s390x (3.12.0-3build2) ... 114s Selecting previously unselected package libgfortran5:s390x. 114s Preparing to unpack .../43-libgfortran5_14.2.0-8ubuntu1_s390x.deb ... 114s Unpacking libgfortran5:s390x (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package liblapack3:s390x. 114s Preparing to unpack .../44-liblapack3_3.12.0-3build2_s390x.deb ... 114s Unpacking liblapack3:s390x (3.12.0-3build2) ... 114s Selecting previously unselected package libpython3.13-stdlib:s390x. 114s Preparing to unpack .../45-libpython3.13-stdlib_3.13.0-2_s390x.deb ... 114s Unpacking libpython3.13-stdlib:s390x (3.13.0-2) ... 114s Selecting previously unselected package pybuild-plugin-autopkgtest. 114s Preparing to unpack .../46-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 114s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 114s Selecting previously unselected package python3.13. 114s Preparing to unpack .../47-python3.13_3.13.0-2_s390x.deb ... 114s Unpacking python3.13 (3.13.0-2) ... 114s Selecting previously unselected package python3-all. 114s Preparing to unpack .../48-python3-all_3.12.7-1_s390x.deb ... 114s Unpacking python3-all (3.12.7-1) ... 114s Selecting previously unselected package python3-six. 114s Preparing to unpack .../49-python3-six_1.16.0-7_all.deb ... 114s Unpacking python3-six (1.16.0-7) ... 115s Selecting previously unselected package python3-dateutil. 115s Preparing to unpack .../50-python3-dateutil_2.9.0-2_all.deb ... 115s Unpacking python3-dateutil (2.9.0-2) ... 115s Selecting previously unselected package python3-sortedcontainers. 115s Preparing to unpack .../51-python3-sortedcontainers_2.4.0-2_all.deb ... 115s Unpacking python3-sortedcontainers (2.4.0-2) ... 115s Selecting previously unselected package python3-hypothesis. 115s Preparing to unpack .../52-python3-hypothesis_6.116.0-1_all.deb ... 115s Unpacking python3-hypothesis (6.116.0-1) ... 115s Selecting previously unselected package python3-iniconfig. 115s Preparing to unpack .../53-python3-iniconfig_1.1.1-2_all.deb ... 115s Unpacking python3-iniconfig (1.1.1-2) ... 115s Selecting previously unselected package python3-isort. 115s Preparing to unpack .../54-python3-isort_5.13.2-2_all.deb ... 115s Unpacking python3-isort (5.13.2-2) ... 115s Selecting previously unselected package python3-jellyfish. 115s Preparing to unpack .../55-python3-jellyfish_1.1.0-1_s390x.deb ... 115s Unpacking python3-jellyfish (1.1.0-1) ... 115s Selecting previously unselected package python3-rapidfuzz. 115s Preparing to unpack .../56-python3-rapidfuzz_3.9.4+ds-1_s390x.deb ... 115s Unpacking python3-rapidfuzz (3.9.4+ds-1) ... 115s Selecting previously unselected package python3-levenshtein. 115s Preparing to unpack .../57-python3-levenshtein_0.26.0-1_s390x.deb ... 115s Unpacking python3-levenshtein (0.26.0-1) ... 115s Selecting previously unselected package python3-numpy. 115s Preparing to unpack .../58-python3-numpy_1%3a1.26.4+ds-11build1_s390x.deb ... 115s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 115s Selecting previously unselected package python3-packaging. 115s Preparing to unpack .../59-python3-packaging_24.1-1_all.deb ... 115s Unpacking python3-packaging (24.1-1) ... 115s Selecting previously unselected package python3-pluggy. 115s Preparing to unpack .../60-python3-pluggy_1.5.0-1_all.deb ... 115s Unpacking python3-pluggy (1.5.0-1) ... 115s Selecting previously unselected package python3-pylev. 115s Preparing to unpack .../61-python3-pylev_1.4.0-1_all.deb ... 115s Unpacking python3-pylev (1.4.0-1) ... 115s Selecting previously unselected package python3-pytest. 115s Preparing to unpack .../62-python3-pytest_8.3.3-1_all.deb ... 115s Unpacking python3-pytest (8.3.3-1) ... 115s Selecting previously unselected package python3-pyxdameraulevenshtein:s390x. 115s Preparing to unpack .../63-python3-pyxdameraulevenshtein_1.7.1-2build3_s390x.deb ... 115s Unpacking python3-pyxdameraulevenshtein:s390x (1.7.1-2build3) ... 115s Selecting previously unselected package python3-textdistance. 115s Preparing to unpack .../64-python3-textdistance_4.6.3-4_all.deb ... 115s Unpacking python3-textdistance (4.6.3-4) ... 115s Selecting previously unselected package autopkgtest-satdep. 115s Preparing to unpack .../65-1-autopkgtest-satdep.deb ... 115s Unpacking autopkgtest-satdep (0) ... 115s Setting up dh-python (6.20241024) ... 115s Setting up python3-iniconfig (1.1.1-2) ... 115s Setting up python3-rapidfuzz (3.9.4+ds-1) ... 115s Setting up python3-jellyfish (1.1.0-1) ... 115s Setting up python3-pyxdameraulevenshtein:s390x (1.7.1-2build3) ... 115s Setting up libarchive-zip-perl (1.68-1) ... 115s Setting up libdebhelper-perl (13.20ubuntu1) ... 115s Setting up python3-pylev (1.4.0-1) ... 116s Setting up m4 (1.4.19-4build1) ... 116s Setting up python3-sortedcontainers (2.4.0-2) ... 116s Setting up libgomp1:s390x (14.2.0-8ubuntu1) ... 116s Setting up python3-six (1.16.0-7) ... 116s Setting up libpython3.13-minimal:s390x (3.13.0-2) ... 116s Setting up autotools-dev (20220109.1) ... 116s Setting up libblas3:s390x (3.12.0-3build2) ... 116s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 116s Setting up python3-packaging (24.1-1) ... 116s Setting up libmpc3:s390x (1.3.1-1build2) ... 116s Setting up autopoint (0.22.5-2) ... 116s Setting up libgfortran5:s390x (14.2.0-8ubuntu1) ... 116s Setting up autoconf (2.72-3) ... 116s Setting up python3-isort (5.13.2-2) ... 116s Setting up python3-pluggy (1.5.0-1) ... 116s Setting up libubsan1:s390x (14.2.0-8ubuntu1) ... 116s Setting up dwz (0.15-1build6) ... 116s Setting up libasan8:s390x (14.2.0-8ubuntu1) ... 116s Setting up debugedit (1:5.1-1) ... 116s Setting up python3.13-minimal (3.13.0-2) ... 118s Setting up python3-dateutil (2.9.0-2) ... 118s Setting up python3-levenshtein (0.26.0-1) ... 118s Setting up libisl23:s390x (0.27-1) ... 118s Setting up libpython3.13-stdlib:s390x (3.13.0-2) ... 118s Setting up libcc1-0:s390x (14.2.0-8ubuntu1) ... 118s Setting up libitm1:s390x (14.2.0-8ubuntu1) ... 118s Setting up python3-textdistance (4.6.3-4) ... 118s Setting up automake (1:1.16.5-1.3ubuntu1) ... 118s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 118s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 118s Setting up liblapack3:s390x (3.12.0-3build2) ... 118s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 118s Setting up gettext (0.22.5-2) ... 118s Setting up python3.13 (3.13.0-2) ... 119s Setting up python3-pytest (8.3.3-1) ... 119s Setting up python3-hypothesis (6.116.0-1) ... 120s Setting up python3-all (3.12.7-1) ... 120s Setting up intltool-debian (0.35.0+20060710.6) ... 120s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 123s Setting up cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 123s Setting up cpp-14 (14.2.0-8ubuntu1) ... 123s Setting up dh-strip-nondeterminism (1.14.0-1) ... 123s Setting up libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 123s Setting up libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 123s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up po-debconf (1.0.21+nmu1) ... 123s Setting up gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 123s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 123s Setting up cpp (4:14.1.0-2ubuntu1) ... 124s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 124s Setting up gcc-14 (14.2.0-8ubuntu1) ... 124s Setting up g++-14 (14.2.0-8ubuntu1) ... 124s Setting up libtool (2.4.7-7build1) ... 124s Setting up gcc (4:14.1.0-2ubuntu1) ... 124s Setting up dh-autoreconf (20) ... 124s Setting up g++ (4:14.1.0-2ubuntu1) ... 124s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 124s Setting up build-essential (12.10ubuntu1) ... 124s Setting up debhelper (13.20ubuntu1) ... 124s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 124s Setting up autopkgtest-satdep (0) ... 124s Processing triggers for systemd (256.5-2ubuntu4) ... 124s Processing triggers for man-db (2.12.1-3) ... 124s Processing triggers for install-info (7.1.1-1) ... 124s Processing triggers for libc-bin (2.40-1ubuntu3) ... 126s (Reading database ... 59982 files and directories currently installed.) 126s Removing autopkgtest-satdep (0) ... 126s autopkgtest [16:38:10]: test pybuild-autopkgtest: pybuild-autopkgtest 126s autopkgtest [16:38:10]: test pybuild-autopkgtest: [----------------------- 127s pybuild-autopkgtest 127s I: pybuild base:311: cd /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build; python3.13 -m pytest tests 127s ============================= test session starts ============================== 127s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 127s rootdir: /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build 127s configfile: setup.cfg 127s plugins: typeguard-4.4.1, hypothesis-6.116.0 127s collected 430 items 127s 149s tests/test_common.py .....................FF......................FF.... [ 11%] 187s ..................FF......................FF......................FF.... [ 28%] 187s ..................FF......................F.. [ 39%] 187s tests/test_compression/test_arith_ncd.py .... [ 40%] 187s tests/test_compression/test_bwtrle_ncd.py .. [ 40%] 187s tests/test_compression/test_bz2_ncd.py .. [ 40%] 191s tests/test_compression/test_common.py ............................ [ 47%] 192s tests/test_compression/test_entropy_ncd.py ........ [ 49%] 192s tests/test_compression/test_sqrt_ncd.py ....... [ 50%] 192s tests/test_edit/test_damerau_levenshtein.py ............................ [ 57%] 192s .... [ 58%] 192s tests/test_edit/test_editex.py ............ [ 61%] 192s tests/test_edit/test_gotoh.py FFFFF [ 62%] 192s tests/test_edit/test_hamming.py ...... [ 63%] 192s tests/test_edit/test_jaro.py ........ [ 65%] 192s tests/test_edit/test_jaro_winkler.py ....... [ 67%] 192s tests/test_edit/test_levenshtein.py ...... [ 68%] 192s tests/test_edit/test_matrix.py .......... [ 70%] 192s tests/test_edit/test_mlipns.py ........... [ 73%] 192s tests/test_edit/test_needleman_wunsch.py FFFFF [ 74%] 193s tests/test_edit/test_smith_waterman.py FFFFF [ 75%] 193s tests/test_edit/test_strcmp95.py .... [ 76%] 252s tests/test_external.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 83%] 252s tests/test_phonetic/test_editex.py .............................. [ 90%] 252s tests/test_sequence/test_lcsseq.py ........... [ 93%] 252s tests/test_sequence/test_lcsstr.py .......... [ 95%] 252s tests/test_token/test_bag.py .... [ 96%] 252s tests/test_token/test_cosine.py .. [ 96%] 252s tests/test_token/test_jaccard.py ..... [ 98%] 252s tests/test_token/test_monge_elkan.py .. [ 98%] 252s tests/test_token/test_overlap.py ... [ 99%] 252s tests/test_token/test_sorensen.py ... [100%] 252s 252s =================================== FAILURES =================================== 252s _______________________ test_normalization_range[alg21] ________________________ 252s 252s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.given( 252s left=hypothesis.strategies.text(), 252s right=hypothesis.strategies.text(), 252s ) 252s 252s tests/test_common.py:50: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:55: in test_normalization_range 252s assert 0 <= alg.normalized_distance(left, right) <= 1 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 252s return (self.distance(*sequences) - minimum) / (maximum - minimum) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 252s return -1 * self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '', s2 = '0' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s E Falsifying example: test_normalization_range( 252s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E left='', # or any other generated value 252s E right='0', 252s E ) 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s _______________________ test_normalization_range[alg22] ________________________ 252s 252s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.given( 252s left=hypothesis.strategies.text(), 252s right=hypothesis.strategies.text(), 252s ) 252s 252s tests/test_common.py:50: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:55: in test_normalization_range 252s assert 0 <= alg.normalized_distance(left, right) <= 1 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 252s return self.distance(*sequences) / maximum 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 252s return self.maximum(*sequences) - self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '0', s2 = '0' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s E Falsifying example: test_normalization_range( 252s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179 252s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s _______________________ test_normalization_by_one[alg21] _______________________ 252s 252s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.given( 252s left=hypothesis.strategies.text(), 252s right=hypothesis.strategies.text(), 252s ) 252s 252s tests/test_common.py:60: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:65: in test_normalization_by_one 252s d = alg.normalized_distance(left, right) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 252s return (self.distance(*sequences) - minimum) / (maximum - minimum) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 252s return -1 * self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '', s2 = '0' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s E Falsifying example: test_normalization_by_one( 252s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E left='', # or any other generated value 252s E right='0', 252s E ) 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s _______________________ test_normalization_by_one[alg22] _______________________ 252s 252s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.given( 252s left=hypothesis.strategies.text(), 252s right=hypothesis.strategies.text(), 252s ) 252s 252s tests/test_common.py:60: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:65: in test_normalization_by_one 252s d = alg.normalized_distance(left, right) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 252s return self.distance(*sequences) / maximum 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 252s return self.maximum(*sequences) - self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '0', s2 = '0' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s E Falsifying example: test_normalization_by_one( 252s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179 252s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s ________________________ test_normalization_same[alg21] ________________________ 252s 252s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.given(text=hypothesis.strategies.text()) 252s 252s tests/test_common.py:71: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:73: in test_normalization_same 252s assert alg.normalized_distance(text, text) == 0 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 252s return (self.distance(*sequences) - minimum) / (maximum - minimum) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 252s return -1 * self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '0', s2 = '0' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s E Falsifying example: test_normalization_same( 252s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E text='0', 252s E ) 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ________________________ test_normalization_same[alg22] ________________________ 252s 252s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.given(text=hypothesis.strategies.text()) 252s 252s tests/test_common.py:71: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:75: in test_normalization_same 252s assert alg.distance(text, text) == 0 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 252s return self.maximum(*sequences) - self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '', s2 = '' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s E Falsifying example: test_normalization_same( 252s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E text='', # or any other generated value 252s E ) 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s _____________________ test_normalization_monotonic[alg21] ______________________ 252s 252s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.settings(deadline=None) 252s 252s tests/test_common.py:80: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:86: in test_normalization_monotonic 252s nd = alg.normalized_distance(left, right) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 252s return (self.distance(*sequences) - minimum) / (maximum - minimum) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 252s return -1 * self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '0', s2 = '0' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s E Falsifying example: test_normalization_monotonic( 252s E # The test always failed when commented parts were varied together. 252s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s _____________________ test_normalization_monotonic[alg22] ______________________ 252s 252s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s > @hypothesis.settings(deadline=None) 252s 252s tests/test_common.py:80: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s tests/test_common.py:86: in test_normalization_monotonic 252s nd = alg.normalized_distance(left, right) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 252s return self.distance(*sequences) / maximum 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 252s return self.maximum(*sequences) - self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '0', s2 = '0' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s E Falsifying example: test_normalization_monotonic( 252s E # The test always failed when commented parts were varied together. 252s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s _________________________ test_no_common_chars[alg21] __________________________ 252s 252s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s def test_no_common_chars(alg): 252s if alg is textdistance.editex: 252s return 252s > assert alg.similarity('spam', 'qwer') == 0 252s 252s tests/test_common.py:97: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = 'spam', s2 = 'qwer' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s _________________________ test_no_common_chars[alg22] __________________________ 252s 252s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s def test_no_common_chars(alg): 252s if alg is textdistance.editex: 252s return 252s > assert alg.similarity('spam', 'qwer') == 0 252s 252s tests/test_common.py:97: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = 'spam', s2 = 'qwer' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s ______________________________ test_empty[alg21] _______________________________ 252s 252s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s def test_empty(alg): 252s > assert alg.distance('', '') == 0 252s 252s tests/test_common.py:102: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 252s return -1 * self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '', s2 = '' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ______________________________ test_empty[alg22] _______________________________ 252s 252s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s def test_empty(alg): 252s > assert alg.distance('', '') == 0 252s 252s tests/test_common.py:102: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 252s return self.maximum(*sequences) - self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '', s2 = '' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s _________________________ test_unequal_distance[alg21] _________________________ 252s 252s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s 252s @pytest.mark.parametrize('alg', ALGS) 252s def test_unequal_distance(alg): 252s if alg.maximum('', 'qwertyui'): 252s > assert alg.distance('', 'qwertyui') > 0 252s 252s tests/test_common.py:108: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 252s return -1 * self.similarity(*sequences) 252s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 252s return self(*sequences) 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = '', s2 = 'qwertyui' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 252s 252s left = 'GATTACA', right = 'GCATGCU', expected = 0 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('GATTACA', 'GCATGCU', 0), 252s ]) 252s def test_distance_ident(left, right, expected): 252s > actual = ALG(gap_open=1, gap_ext=1, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_gotoh.py:35: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 1, 'sim_func': , 'external': True}) 252s s1 = 'GATTACA', s2 = 'GCATGCU' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Gotoh measure') 252s E ImportError: Please, install numpy for Gotoh measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 252s ______________ test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] ______________ 252s 252s left = 'GATTACA', right = 'GCATGCU', expected = 0 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('GATTACA', 'GCATGCU', 0), 252s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 252s ('AGACTAGTTAC', 'CGAGACGT', 1), 252s ]) 252s def test_distance_ident_with_gap_05(left, right, expected): 252s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_gotoh.py:45: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 252s s1 = 'GATTACA', s2 = 'GCATGCU' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Gotoh measure') 252s E ImportError: Please, install numpy for Gotoh measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 252s __________ test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] __________ 252s 252s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = 1.5 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('GATTACA', 'GCATGCU', 0), 252s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 252s ('AGACTAGTTAC', 'CGAGACGT', 1), 252s ]) 252s def test_distance_ident_with_gap_05(left, right, expected): 252s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_gotoh.py:45: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Gotoh measure') 252s E ImportError: Please, install numpy for Gotoh measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 252s ___________ test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] ____________ 252s 252s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 1 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('GATTACA', 'GCATGCU', 0), 252s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 252s ('AGACTAGTTAC', 'CGAGACGT', 1), 252s ]) 252s def test_distance_ident_with_gap_05(left, right, expected): 252s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_gotoh.py:45: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Gotoh measure') 252s E ImportError: Please, install numpy for Gotoh measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 252s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] ___________ 252s 252s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = -15 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('AGACTAGTTAC', 'CGAGACGT', -15), 252s ]) 252s def test_distance_ident_with_gap_5(left, right, expected): 252s > actual = ALG(gap_open=5, gap_ext=5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_gotoh.py:53: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = Gotoh({'qval': 1, 'gap_open': 5, 'gap_ext': 5, 'sim_func': , 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Gotoh measure') 252s E ImportError: Please, install numpy for Gotoh measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 252s ________________ test_distance_matrix[AGACTAGTTAC-CGAGACGT-16] _________________ 252s 252s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 16 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('AGACTAGTTAC', 'CGAGACGT', 16), 252s ]) 252s def test_distance_matrix(left, right, expected): 252s sim_matrix = textdistance.Matrix(NW_MATRIX, symmetric=True) 252s > actual = ALG(gap_cost=5, sim_func=sim_matrix)(left, right) 252s 252s tests/test_edit/test_needleman_wunsch.py:29: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': Matrix({'mat': {('A', 'A'): 10, ('G', 'G'): 7, ('C', 'C'): 9, (... 'C'): -5, ('G', 'T'): -3, ('C', 'T'): 0}, 'mismatch_cost': 0, 'match_cost': 1, 'symmetric': True}), 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 252s 252s left = 'GATTACA', right = 'GCATGCU', expected = 0 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('GATTACA', 'GCATGCU', 0), 252s ]) 252s def test_distance_ident(left, right, expected): 252s > actual = ALG(sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_needleman_wunsch.py:44: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = 'GATTACA', s2 = 'GCATGCU' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ____________ test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC--5] ____________ 252s 252s left = 'CGATATCAG', right = 'TGACGSTGC', expected = -5 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('CGATATCAG', 'TGACGSTGC', -5), 252s ('AGACTAGTTAC', 'TGACGSTGC', -7), 252s ('AGACTAGTTAC', 'CGAGACGT', -15), 252s ]) 252s def test_distance_ident_with_gap_5(left, right, expected): 252s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_needleman_wunsch.py:54: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 252s s1 = 'CGATATCAG', s2 = 'TGACGSTGC' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC--7] ___________ 252s 252s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = -7 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('CGATATCAG', 'TGACGSTGC', -5), 252s ('AGACTAGTTAC', 'TGACGSTGC', -7), 252s ('AGACTAGTTAC', 'CGAGACGT', -15), 252s ]) 252s def test_distance_ident_with_gap_5(left, right, expected): 252s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_needleman_wunsch.py:54: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] ___________ 252s 252s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = -15 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('CGATATCAG', 'TGACGSTGC', -5), 252s ('AGACTAGTTAC', 'TGACGSTGC', -7), 252s ('AGACTAGTTAC', 'CGAGACGT', -15), 252s ]) 252s def test_distance_ident_with_gap_5(left, right, expected): 252s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_needleman_wunsch.py:54: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 252s E ImportError: Please, install numpy for Needleman-Wunsch measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 252s ________________ test_distance_matrix[AGACTAGTTAC-CGAGACGT-26] _________________ 252s 252s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 26 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('AGACTAGTTAC', 'CGAGACGT', 26), 252s ]) 252s def test_distance_matrix(left, right, expected): 252s sim_matrix = textdistance.Matrix(NW_MATRIX, symmetric=True) 252s > actual = ALG(gap_cost=5, sim_func=sim_matrix)(left, right) 252s 252s tests/test_edit/test_smith_waterman.py:29: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': Matrix({'mat': {('A', 'A'): 10, ('G', 'G'): 7, ('C', 'C'): 9, ('T... 'C'): -5, ('G', 'T'): -3, ('C', 'T'): 0}, 'mismatch_cost': 0, 'match_cost': 1, 'symmetric': True}), 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 252s 252s left = 'GATTACA', right = 'GCATGCU', expected = 0 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('GATTACA', 'GCATGCU', 0), 252s ]) 252s def test_distance_ident(left, right, expected): 252s > actual = ALG(sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_smith_waterman.py:44: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 252s s1 = 'GATTACA', s2 = 'GCATGCU' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s ____________ test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC-0] _____________ 252s 252s left = 'CGATATCAG', right = 'TGACGSTGC', expected = 0 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('CGATATCAG', 'TGACGSTGC', 0), 252s ('AGACTAGTTAC', 'TGACGSTGC', 1), 252s ('AGACTAGTTAC', 'CGAGACGT', 0), 252s ]) 252s def test_distance_ident_with_gap_5(left, right, expected): 252s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_smith_waterman.py:54: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 252s s1 = 'CGATATCAG', s2 = 'TGACGSTGC' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC-1] ____________ 252s 252s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = 1 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('CGATATCAG', 'TGACGSTGC', 0), 252s ('AGACTAGTTAC', 'TGACGSTGC', 1), 252s ('AGACTAGTTAC', 'CGAGACGT', 0), 252s ]) 252s def test_distance_ident_with_gap_5(left, right, expected): 252s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_smith_waterman.py:54: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s ____________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT-0] ____________ 252s 252s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 0 252s 252s @pytest.mark.parametrize('left, right, expected', [ 252s ('CGATATCAG', 'TGACGSTGC', 0), 252s ('AGACTAGTTAC', 'TGACGSTGC', 1), 252s ('AGACTAGTTAC', 'CGAGACGT', 0), 252s ]) 252s def test_distance_ident_with_gap_5(left, right, expected): 252s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 252s 252s tests/test_edit/test_smith_waterman.py:54: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 252s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 252s 252s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 252s if not numpy: 252s > raise ImportError('Please, install numpy for Smith-Waterman measure') 252s E ImportError: Please, install numpy for Smith-Waterman measure 252s 252s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 252s _______________________ test_compare[DamerauLevenshtein] _______________________ 252s 252s alg = 'DamerauLevenshtein' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:21: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'DamerauLevenshtein' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.settings(deadline=None) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s def test_compare(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 252s E Falsifying example: test_compare( 252s E # The test always failed when commented parts were varied together. 252s E alg='DamerauLevenshtein', 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:39: RuntimeError 252s ____________________________ test_compare[Hamming] _____________________________ 252s 252s alg = 'Hamming' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:21: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Hamming' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.settings(deadline=None) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s def test_compare(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import Levenshtein.hamming 252s E Falsifying example: test_compare( 252s E # The test always failed when commented parts were varied together. 252s E alg='Hamming', 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:39: RuntimeError 252s ______________________________ test_compare[Jaro] ______________________________ 252s 252s alg = 'Jaro' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:21: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Jaro' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.settings(deadline=None) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s def test_compare(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_similarity 252s E Falsifying example: test_compare( 252s E alg='Jaro', 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:39 252s 252s tests/test_external.py:39: RuntimeError 252s __________________________ test_compare[JaroWinkler] ___________________________ 252s 252s alg = 'JaroWinkler' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:21: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'JaroWinkler' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.settings(deadline=None) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s def test_compare(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 252s E Falsifying example: test_compare( 252s E alg='JaroWinkler', 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:39 252s 252s tests/test_external.py:39: RuntimeError 252s __________________________ test_compare[Levenshtein] ___________________________ 252s 252s alg = 'Levenshtein' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:21: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Levenshtein' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.settings(deadline=None) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s def test_compare(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.levenshtein_distance 252s E Falsifying example: test_compare( 252s E # The test always failed when commented parts were varied together. 252s E alg='Levenshtein', 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:39: RuntimeError 252s ______________________ test_qval[None-DamerauLevenshtein] ______________________ 252s 252s alg = 'DamerauLevenshtein', qval = None 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = None 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='DamerauLevenshtein', 252s E qval=None, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________________ test_qval[None-Hamming] ____________________________ 252s 252s alg = 'Hamming', qval = None 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Hamming', qval = None 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import Levenshtein.hamming 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Hamming', 252s E qval=None, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s _____________________________ test_qval[None-Jaro] _____________________________ 252s 252s alg = 'Jaro', qval = None 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Jaro', qval = None 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_similarity 252s E Falsifying example: test_qval( 252s E alg='Jaro', 252s E qval=None, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s _________________________ test_qval[None-JaroWinkler] __________________________ 252s 252s alg = 'JaroWinkler', qval = None 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'JaroWinkler', qval = None 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 252s E Falsifying example: test_qval( 252s E alg='JaroWinkler', 252s E qval=None, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s _________________________ test_qval[None-Levenshtein] __________________________ 252s 252s alg = 'Levenshtein', qval = None 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Levenshtein', qval = None 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Levenshtein', 252s E qval=None, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s _______________________ test_qval[1-DamerauLevenshtein] ________________________ 252s 252s alg = 'DamerauLevenshtein', qval = 1 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 1 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='DamerauLevenshtein', 252s E qval=1, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s _____________________________ test_qval[1-Hamming] _____________________________ 252s 252s alg = 'Hamming', qval = 1 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Hamming', qval = 1 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import Levenshtein.hamming 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Hamming', 252s E qval=1, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s ______________________________ test_qval[1-Jaro] _______________________________ 252s 252s alg = 'Jaro', qval = 1 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Jaro', qval = 1 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_similarity 252s E Falsifying example: test_qval( 252s E alg='Jaro', 252s E qval=1, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________________ test_qval[1-JaroWinkler] ___________________________ 252s 252s alg = 'JaroWinkler', qval = 1 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'JaroWinkler', qval = 1 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 252s E Falsifying example: test_qval( 252s E alg='JaroWinkler', 252s E qval=1, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________________ test_qval[1-Levenshtein] ___________________________ 252s 252s alg = 'Levenshtein', qval = 1 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Levenshtein', qval = 1 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Levenshtein', 252s E qval=1, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s _______________________ test_qval[2-DamerauLevenshtein] ________________________ 252s 252s alg = 'DamerauLevenshtein', qval = 2 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 2 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='DamerauLevenshtein', 252s E qval=2, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s _____________________________ test_qval[2-Hamming] _____________________________ 252s 252s alg = 'Hamming', qval = 2 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Hamming', qval = 2 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import Levenshtein.hamming 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Hamming', 252s E qval=2, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s ______________________________ test_qval[2-Jaro] _______________________________ 252s 252s alg = 'Jaro', qval = 2 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Jaro', qval = 2 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_similarity 252s E Falsifying example: test_qval( 252s E alg='Jaro', 252s E qval=2, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________________ test_qval[2-JaroWinkler] ___________________________ 252s 252s alg = 'JaroWinkler', qval = 2 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'JaroWinkler', qval = 2 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 252s E Falsifying example: test_qval( 252s E alg='JaroWinkler', 252s E qval=2, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________________ test_qval[2-Levenshtein] ___________________________ 252s 252s alg = 'Levenshtein', qval = 2 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Levenshtein', qval = 2 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Levenshtein', 252s E qval=2, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s _______________________ test_qval[3-DamerauLevenshtein] ________________________ 252s 252s alg = 'DamerauLevenshtein', qval = 3 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 3 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='DamerauLevenshtein', 252s E qval=3, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s _____________________________ test_qval[3-Hamming] _____________________________ 252s 252s alg = 'Hamming', qval = 3 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Hamming', qval = 3 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import Levenshtein.hamming 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Hamming', 252s E qval=3, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s ______________________________ test_qval[3-Jaro] _______________________________ 252s 252s alg = 'Jaro', qval = 3 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Jaro', qval = 3 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_similarity 252s E Falsifying example: test_qval( 252s E alg='Jaro', 252s E qval=3, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________________ test_qval[3-JaroWinkler] ___________________________ 252s 252s alg = 'JaroWinkler', qval = 3 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'JaroWinkler', qval = 3 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 252s E Falsifying example: test_qval( 252s E alg='JaroWinkler', 252s E qval=3, 252s E left='0', 252s E right='0', 252s E ) 252s E Explanation: 252s E These lines were always and only run by failing examples: 252s E /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build/tests/test_external.py:69 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________________ test_qval[3-Levenshtein] ___________________________ 252s 252s alg = 'Levenshtein', qval = 3 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:51: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = '0', right = '0', alg = 'Levenshtein', qval = 3 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.text(min_size=1), 252s right=hypothesis.strategies.text(min_size=1), 252s ) 252s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 252s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 252s for lib in libraries.get_libs(alg): 252s 252s if lib.module_name == 'jellyfish': 252s ascii = set(string.printable) 252s if (set(left) | set(right)) - ascii: 252s continue 252s 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.levenshtein_distance 252s E Falsifying example: test_qval( 252s E # The test always failed when commented parts were varied together. 252s E alg='Levenshtein', 252s E qval=3, 252s E left='0', # or any other generated value 252s E right='0', # or any other generated value 252s E ) 252s 252s tests/test_external.py:69: RuntimeError 252s ___________________ test_list_of_numbers[DamerauLevenshtein] ___________________ 252s 252s alg = 'DamerauLevenshtein' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:91: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = [], right = [], alg = 'DamerauLevenshtein' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s ) 252s def test_list_of_numbers(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 252s E Falsifying example: test_list_of_numbers( 252s E # The test always failed when commented parts were varied together. 252s E alg='DamerauLevenshtein', 252s E left=[], # or any other generated value 252s E right=[], # or any other generated value 252s E ) 252s 252s tests/test_external.py:102: RuntimeError 252s ________________________ test_list_of_numbers[Hamming] _________________________ 252s 252s alg = 'Hamming' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:91: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = [], right = [], alg = 'Hamming' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s ) 252s def test_list_of_numbers(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import Levenshtein.hamming 252s E Falsifying example: test_list_of_numbers( 252s E # The test always failed when commented parts were varied together. 252s E alg='Hamming', 252s E left=[], # or any other generated value 252s E right=[], # or any other generated value 252s E ) 252s 252s tests/test_external.py:102: RuntimeError 252s __________________________ test_list_of_numbers[Jaro] __________________________ 252s 252s alg = 'Jaro' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:91: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = [], right = [], alg = 'Jaro' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s ) 252s def test_list_of_numbers(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_similarity 252s E Falsifying example: test_list_of_numbers( 252s E # The test always failed when commented parts were varied together. 252s E alg='Jaro', 252s E left=[], # or any other generated value 252s E right=[], # or any other generated value 252s E ) 252s 252s tests/test_external.py:102: RuntimeError 252s ______________________ test_list_of_numbers[JaroWinkler] _______________________ 252s 252s alg = 'JaroWinkler' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:91: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = [], right = [], alg = 'JaroWinkler' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s ) 252s def test_list_of_numbers(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 252s E Falsifying example: test_list_of_numbers( 252s E # The test always failed when commented parts were varied together. 252s E alg='JaroWinkler', 252s E left=[], # or any other generated value 252s E right=[], # or any other generated value 252s E ) 252s 252s tests/test_external.py:102: RuntimeError 252s ______________________ test_list_of_numbers[Levenshtein] _______________________ 252s 252s alg = 'Levenshtein' 252s 252s @pytest.mark.external 252s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s 252s tests/test_external.py:91: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s left = [], right = [], alg = 'Levenshtein' 252s 252s @pytest.mark.external 252s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 252s @hypothesis.given( 252s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 252s ) 252s def test_list_of_numbers(left, right, alg): 252s for lib in libraries.get_libs(alg): 252s conditions = lib.conditions or {} 252s internal_func = getattr(textdistance, alg)(external=False, **conditions) 252s external_func = lib.get_function() 252s if external_func is None: 252s > raise RuntimeError('cannot import {}'.format(str(lib))) 252s E RuntimeError: cannot import jellyfish.levenshtein_distance 252s E Falsifying example: test_list_of_numbers( 252s E # The test always failed when commented parts were varied together. 252s E alg='Levenshtein', 252s E left=[], # or any other generated value 252s E right=[], # or any other generated value 252s E ) 252s 252s tests/test_external.py:102: RuntimeError 252s =========================== short test summary info ============================ 252s FAILED tests/test_common.py::test_normalization_range[alg21] - ImportError: P... 252s FAILED tests/test_common.py::test_normalization_range[alg22] - ImportError: P... 252s FAILED tests/test_common.py::test_normalization_by_one[alg21] - ImportError: ... 252s FAILED tests/test_common.py::test_normalization_by_one[alg22] - ImportError: ... 252s FAILED tests/test_common.py::test_normalization_same[alg21] - ImportError: Pl... 252s FAILED tests/test_common.py::test_normalization_same[alg22] - ImportError: Pl... 252s FAILED tests/test_common.py::test_normalization_monotonic[alg21] - ImportErro... 252s FAILED tests/test_common.py::test_normalization_monotonic[alg22] - ImportErro... 252s FAILED tests/test_common.py::test_no_common_chars[alg21] - ImportError: Pleas... 252s FAILED tests/test_common.py::test_no_common_chars[alg22] - ImportError: Pleas... 252s FAILED tests/test_common.py::test_empty[alg21] - ImportError: Please, install... 252s FAILED tests/test_common.py::test_empty[alg22] - ImportError: Please, install... 252s FAILED tests/test_common.py::test_unequal_distance[alg21] - ImportError: Plea... 252s FAILED tests/test_edit/test_gotoh.py::test_distance_ident[GATTACA-GCATGCU-0] 252s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] 252s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] 252s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] 252s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] 252s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-16] 252s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident[GATTACA-GCATGCU-0] 252s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC--5] 252s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC--7] 252s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] 252s FAILED tests/test_edit/test_smith_waterman.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-26] 252s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident[GATTACA-GCATGCU-0] 252s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC-0] 252s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC-1] 252s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT-0] 252s FAILED tests/test_external.py::test_compare[DamerauLevenshtein] - RuntimeErro... 252s FAILED tests/test_external.py::test_compare[Hamming] - RuntimeError: cannot i... 252s FAILED tests/test_external.py::test_compare[Jaro] - RuntimeError: cannot impo... 252s FAILED tests/test_external.py::test_compare[JaroWinkler] - RuntimeError: cann... 252s FAILED tests/test_external.py::test_compare[Levenshtein] - RuntimeError: cann... 252s FAILED tests/test_external.py::test_qval[None-DamerauLevenshtein] - RuntimeEr... 252s FAILED tests/test_external.py::test_qval[None-Hamming] - RuntimeError: cannot... 252s FAILED tests/test_external.py::test_qval[None-Jaro] - RuntimeError: cannot im... 252s FAILED tests/test_external.py::test_qval[None-JaroWinkler] - RuntimeError: ca... 252s FAILED tests/test_external.py::test_qval[None-Levenshtein] - RuntimeError: ca... 252s FAILED tests/test_external.py::test_qval[1-DamerauLevenshtein] - RuntimeError... 252s FAILED tests/test_external.py::test_qval[1-Hamming] - RuntimeError: cannot im... 252s FAILED tests/test_external.py::test_qval[1-Jaro] - RuntimeError: cannot impor... 252s FAILED tests/test_external.py::test_qval[1-JaroWinkler] - RuntimeError: canno... 252s FAILED tests/test_external.py::test_qval[1-Levenshtein] - RuntimeError: canno... 252s FAILED tests/test_external.py::test_qval[2-DamerauLevenshtein] - RuntimeError... 252s FAILED tests/test_external.py::test_qval[2-Hamming] - RuntimeError: cannot im... 252s FAILED tests/test_external.py::test_qval[2-Jaro] - RuntimeError: cannot impor... 252s FAILED tests/test_external.py::test_qval[2-JaroWinkler] - RuntimeError: canno... 252s FAILED tests/test_external.py::test_qval[2-Levenshtein] - RuntimeError: canno... 252s FAILED tests/test_external.py::test_qval[3-DamerauLevenshtein] - RuntimeError... 252s FAILED tests/test_external.py::test_qval[3-Hamming] - RuntimeError: cannot im... 252s FAILED tests/test_external.py::test_qval[3-Jaro] - RuntimeError: cannot impor... 252s FAILED tests/test_external.py::test_qval[3-JaroWinkler] - RuntimeError: canno... 252s FAILED tests/test_external.py::test_qval[3-Levenshtein] - RuntimeError: canno... 252s FAILED tests/test_external.py::test_list_of_numbers[DamerauLevenshtein] - Run... 252s FAILED tests/test_external.py::test_list_of_numbers[Hamming] - RuntimeError: ... 252s FAILED tests/test_external.py::test_list_of_numbers[Jaro] - RuntimeError: can... 252s FAILED tests/test_external.py::test_list_of_numbers[JaroWinkler] - RuntimeErr... 252s FAILED tests/test_external.py::test_list_of_numbers[Levenshtein] - RuntimeErr... 252s ================== 58 failed, 372 passed in 125.45s (0:02:05) ================== 252s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build; python3.13 -m pytest tests 252s I: pybuild base:311: cd /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build; python3.12 -m pytest tests 253s ============================= test session starts ============================== 253s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 253s rootdir: /tmp/autopkgtest.ciTkmz/autopkgtest_tmp/build 253s configfile: setup.cfg 253s plugins: typeguard-4.4.1, hypothesis-6.116.0 253s collected 430 items 253s 259s tests/test_common.py ................................................... [ 11%] 264s ........................................................................ [ 28%] 264s ............................................. [ 39%] 264s tests/test_compression/test_arith_ncd.py .... [ 40%] 264s tests/test_compression/test_bwtrle_ncd.py .. [ 40%] 264s tests/test_compression/test_bz2_ncd.py .. [ 40%] 267s tests/test_compression/test_common.py ............................ [ 47%] 267s tests/test_compression/test_entropy_ncd.py ........ [ 49%] 267s tests/test_compression/test_sqrt_ncd.py ....... [ 50%] 267s tests/test_edit/test_damerau_levenshtein.py ............................ [ 57%] 267s .... [ 58%] 267s tests/test_edit/test_editex.py ............ [ 61%] 267s tests/test_edit/test_gotoh.py ..... [ 62%] 267s tests/test_edit/test_hamming.py ...... [ 63%] 267s tests/test_edit/test_jaro.py ........ [ 65%] 267s tests/test_edit/test_jaro_winkler.py ....... [ 67%] 267s tests/test_edit/test_levenshtein.py ...... [ 68%] 267s tests/test_edit/test_matrix.py .......... [ 70%] 267s tests/test_edit/test_mlipns.py ........... [ 73%] 267s tests/test_edit/test_needleman_wunsch.py ..... [ 74%] 267s tests/test_edit/test_smith_waterman.py ..... [ 75%] 267s tests/test_edit/test_strcmp95.py .... [ 76%] 271s tests/test_external.py .............................. [ 83%] 271s tests/test_phonetic/test_editex.py .............................. [ 90%] 271s tests/test_sequence/test_lcsseq.py ........... [ 93%] 271s tests/test_sequence/test_lcsstr.py .......... [ 95%] 271s tests/test_token/test_bag.py .... [ 96%] 271s tests/test_token/test_cosine.py .. [ 96%] 271s tests/test_token/test_jaccard.py ..... [ 98%] 271s tests/test_token/test_monge_elkan.py .. [ 98%] 271s tests/test_token/test_overlap.py ... [ 99%] 272s tests/test_token/test_sorensen.py ... [100%] 272s 272s ============================= 430 passed in 18.89s ============================= 272s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 272s make: *** [/tmp/1XDn7jre23/run:4: pybuild-autopkgtest] Error 25 272s pybuild-autopkgtest: error: /tmp/1XDn7jre23/run pybuild-autopkgtest returned exit code 2 272s autopkgtest [16:40:36]: test pybuild-autopkgtest: -----------------------] 272s pybuild-autopkgtest FAIL non-zero exit status 25 272s autopkgtest [16:40:36]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 273s autopkgtest [16:40:37]: @@@@@@@@@@@@@@@@@@@@ summary 273s pybuild-autopkgtest FAIL non-zero exit status 25 285s nova [W] Using flock in prodstack6-s390x 285s flock: timeout while waiting to get lock 285s Creating nova instance adt-plucky-s390x-textdistance-20241113-163604-juju-7f2275-prod-proposed-migration-environment-15-e3711ef8-cf29-4163-b7dd-f1c12845f3bb from image adt/ubuntu-plucky-s390x-server-20241113.img (UUID e740277e-1f72-40ae-bfbe-46030537c71c)...