0s autopkgtest [06:26:14]: starting date and time: 2024-11-14 06:26:14+0000 0s autopkgtest [06:26:14]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [06:26:14]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.y3s6f34c/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --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' -- lxd -r lxd-armhf-10.145.243.247 lxd-armhf-10.145.243.247:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [06:27:08]: testbed dpkg architecture: armhf 56s autopkgtest [06:27:10]: testbed apt version: 2.9.8 56s autopkgtest [06:27:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 64s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [98.6 kB] 64s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 64s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.4 kB] 64s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [987 kB] 65s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [103 kB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [684 kB] 65s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5040 B] 65s Fetched 1973 kB in 1s (2231 kB/s) 65s Reading package lists... 82s tee: /proc/self/fd/2: Permission denied 103s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 104s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 104s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 104s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 105s Reading package lists... 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 106s Calculating upgrade... 106s The following NEW packages will be installed: 106s python3.13-gdbm 106s The following packages will be upgraded: 106s libpython3-stdlib python3 python3-gdbm python3-minimal 107s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 99.6 kB of archives. 107s After this operation, 91.1 kB of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 107s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 107s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 107s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 107s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 107s Fetched 99.6 kB in 0s (286 kB/s) 107s (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 ... 59560 files and directories currently installed.) 107s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 107s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 107s Setting up python3-minimal (3.12.7-1) ... 107s (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 ... 59560 files and directories currently installed.) 107s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 107s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 108s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Selecting previously unselected package python3.13-gdbm. 108s Preparing to unpack .../python3.13-gdbm_3.13.0-2_armhf.deb ... 108s Unpacking python3.13-gdbm (3.13.0-2) ... 108s Preparing to unpack .../python3-gdbm_3.12.7-1_armhf.deb ... 108s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 108s Setting up python3.13-gdbm (3.13.0-2) ... 108s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 108s Setting up python3 (3.12.7-1) ... 108s Setting up python3-gdbm:armhf (3.12.7-1) ... 108s Processing triggers for man-db (2.12.1-3) ... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s autopkgtest [06:28:06]: rebooting testbed after setup commands that affected boot 179s autopkgtest [06:29:13]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 206s autopkgtest [06:29:40]: @@@@@@@@@@@@@@@@@@@@ apt-source textdistance 217s Get:1 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (dsc) [2362 B] 217s Get:2 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (tar) [46.6 kB] 217s Get:3 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (diff) [4188 B] 217s gpgv: Signature made Mon Sep 9 19:25:22 2024 UTC 217s gpgv: using RSA key 7E1AC3FA27A649284C323EF6695C429316C07BFE 217s gpgv: issuer "jdg@debian.org" 217s gpgv: Can't check signature: No public key 217s dpkg-source: warning: cannot verify inline signature for ./textdistance_4.6.3-4.dsc: no acceptable signature found 217s autopkgtest [06:29:51]: testing package textdistance version 4.6.3-4 219s autopkgtest [06:29:53]: build not needed 222s autopkgtest [06:29:56]: test pybuild-autopkgtest: preparing testbed 233s Reading package lists... 233s Building dependency tree... 233s Reading state information... 233s Starting pkgProblemResolver with broken count: 0 233s Starting 2 pkgProblemResolver with broken count: 0 233s Done 234s The following additional packages will be installed: 234s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 234s cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper debugedit 234s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 234s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 234s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 234s libarchive-zip-perl libasan8 libblas3 libc-dev-bin libc6-dev libcc1-0 234s libcrypt-dev libdebhelper-perl libfile-stripnondeterminism-perl 234s libgcc-14-dev libgfortran5 libgomp1 libisl23 liblapack3 libmpc3 234s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool 234s libubsan1 linux-libc-dev m4 po-debconf pybuild-plugin-autopkgtest 234s python3-all python3-dateutil python3-hypothesis python3-iniconfig 234s python3-isort python3-jellyfish python3-levenshtein python3-numpy 234s python3-packaging python3-pluggy python3-pylev python3-pytest 234s python3-pyxdameraulevenshtein python3-rapidfuzz python3-six 234s python3-sortedcontainers python3-textdistance python3.13 python3.13-minimal 234s rpcsvc-proto 234s Suggested packages: 234s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 234s cpp-14-doc dh-make flit python3-build python3-installer python3-wheel 234s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 234s gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev libgettextpo-dev 234s libc-devtools glibc-doc libstdc++-14-doc libtool-doc gfortran 234s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python-hypothesis-doc 234s python-jellyfish-doc gfortran python-numpy-doc python3-dev 234s python-rapidfuzz-doc python-sortedcontainers-doc python3.13-venv 234s python3.13-doc binfmt-support 234s Recommended packages: 234s manpages manpages-dev libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 234s python3-click 234s The following NEW packages will be installed: 234s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 234s cpp cpp-14 cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 234s debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 234s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 234s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 234s libarchive-zip-perl libasan8 libblas3 libc-dev-bin libc6-dev libcc1-0 234s libcrypt-dev libdebhelper-perl libfile-stripnondeterminism-perl 234s libgcc-14-dev libgfortran5 libgomp1 libisl23 liblapack3 libmpc3 234s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool 234s libubsan1 linux-libc-dev m4 po-debconf pybuild-plugin-autopkgtest 234s python3-all python3-dateutil python3-hypothesis python3-iniconfig 234s python3-isort python3-jellyfish python3-levenshtein python3-numpy 234s python3-packaging python3-pluggy python3-pylev python3-pytest 234s python3-pyxdameraulevenshtein python3-rapidfuzz python3-six 234s python3-sortedcontainers python3-textdistance python3.13 python3.13-minimal 234s rpcsvc-proto 234s 0 upgraded, 70 newly installed, 0 to remove and 0 not upgraded. 234s Need to get 68.4 MB/68.4 MB of archives. 234s After this operation, 208 MB of additional disk space will be used. 234s Get:1 /tmp/autopkgtest.lvxrl0/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [864 B] 234s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 235s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 235s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf m4 armhf 1.4.19-4build1 [235 kB] 235s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf autoconf all 2.72-3 [382 kB] 235s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf autotools-dev all 20220109.1 [44.9 kB] 235s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 235s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf autopoint all 0.22.5-2 [616 kB] 235s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB] 235s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 235s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-4build1 [120 kB] 235s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 235s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB] 235s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 235s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 235s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [9219 kB] 235s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-8ubuntu1 [1032 B] 235s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 235s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 235s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-8ubuntu1 [43.3 kB] 235s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-8ubuntu1 [125 kB] 235s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-8ubuntu1 [2901 kB] 236s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-8ubuntu1 [1150 kB] 236s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-8ubuntu1 [897 kB] 236s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [18.0 MB] 236s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-8ubuntu1 [498 kB] 236s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 236s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 236s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-8ubuntu1 [2569 kB] 236s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [10.5 MB] 236s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-8ubuntu1 [19.9 kB] 236s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 236s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 236s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 236s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 236s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libtool all 2.4.7-7build1 [166 kB] 236s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf dh-autoreconf all 20 [16.1 kB] 236s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 236s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 236s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf dh-strip-nondeterminism all 1.14.0-1 [5058 B] 237s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf debugedit armhf 1:5.1-1 [46.5 kB] 237s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf dwz armhf 0.15-1build6 [116 kB] 237s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf gettext armhf 0.22.5-2 [995 kB] 237s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 237s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 237s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf debhelper all 13.20ubuntu1 [893 kB] 237s Get:47 http://ftpmaster.internal/ubuntu plucky/universe armhf dh-python all 6.20241024 [112 kB] 237s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.0-3build2 [126 kB] 237s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 14.2.0-8ubuntu1 [311 kB] 237s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.0-3build2 [2086 kB] 237s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 237s Get:52 http://ftpmaster.internal/ubuntu plucky/universe armhf pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 237s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 237s Get:54 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 237s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3-six all 1.16.0-7 [13.1 kB] 237s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-2 [80.3 kB] 237s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf python3-sortedcontainers all 2.4.0-2 [27.6 kB] 237s Get:58 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-hypothesis all 6.116.0-1 [326 kB] 237s Get:59 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 237s Get:60 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-isort all 5.13.2-2 [59.3 kB] 237s Get:61 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-jellyfish armhf 1.1.0-1 [260 kB] 237s Get:62 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-rapidfuzz armhf 3.9.4+ds-1 [1200 kB] 237s Get:63 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-levenshtein armhf 0.26.0-1 [146 kB] 237s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:1.26.4+ds-11build1 [3570 kB] 237s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 237s Get:66 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 237s Get:67 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pylev all 1.4.0-1 [6594 B] 237s Get:68 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 237s Get:69 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pyxdameraulevenshtein armhf 1.7.1-2build3 [22.9 kB] 237s Get:70 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-textdistance all 4.6.3-4 [37.0 kB] 237s Fetched 68.4 MB in 3s (25.6 MB/s) 238s Selecting previously unselected package libpython3.13-minimal:armhf. 238s (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 ... 59567 files and directories currently installed.) 238s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 238s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 238s Selecting previously unselected package python3.13-minimal. 238s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 238s Unpacking python3.13-minimal (3.13.0-2) ... 238s Selecting previously unselected package m4. 238s Preparing to unpack .../02-m4_1.4.19-4build1_armhf.deb ... 238s Unpacking m4 (1.4.19-4build1) ... 238s Selecting previously unselected package autoconf. 238s Preparing to unpack .../03-autoconf_2.72-3_all.deb ... 238s Unpacking autoconf (2.72-3) ... 238s Selecting previously unselected package autotools-dev. 238s Preparing to unpack .../04-autotools-dev_20220109.1_all.deb ... 238s Unpacking autotools-dev (20220109.1) ... 238s Selecting previously unselected package automake. 238s Preparing to unpack .../05-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 238s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 238s Selecting previously unselected package autopoint. 238s Preparing to unpack .../06-autopoint_0.22.5-2_all.deb ... 238s Unpacking autopoint (0.22.5-2) ... 238s Selecting previously unselected package libc-dev-bin. 238s Preparing to unpack .../07-libc-dev-bin_2.40-1ubuntu3_armhf.deb ... 238s Unpacking libc-dev-bin (2.40-1ubuntu3) ... 238s Selecting previously unselected package linux-libc-dev:armhf. 238s Preparing to unpack .../08-linux-libc-dev_6.11.0-8.8_armhf.deb ... 238s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 238s Selecting previously unselected package libcrypt-dev:armhf. 238s Preparing to unpack .../09-libcrypt-dev_1%3a4.4.36-4build1_armhf.deb ... 238s Unpacking libcrypt-dev:armhf (1:4.4.36-4build1) ... 238s Selecting previously unselected package rpcsvc-proto. 238s Preparing to unpack .../10-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 238s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 238s Selecting previously unselected package libc6-dev:armhf. 238s Preparing to unpack .../11-libc6-dev_2.40-1ubuntu3_armhf.deb ... 238s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ... 238s Selecting previously unselected package libisl23:armhf. 238s Preparing to unpack .../12-libisl23_0.27-1_armhf.deb ... 238s Unpacking libisl23:armhf (0.27-1) ... 238s Selecting previously unselected package libmpc3:armhf. 238s Preparing to unpack .../13-libmpc3_1.3.1-1build2_armhf.deb ... 238s Unpacking libmpc3:armhf (1.3.1-1build2) ... 238s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 238s Preparing to unpack .../14-cpp-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 238s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package cpp-14. 239s Preparing to unpack .../15-cpp-14_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package cpp-arm-linux-gnueabihf. 239s Preparing to unpack .../16-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 239s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 239s Selecting previously unselected package cpp. 239s Preparing to unpack .../17-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 239s Unpacking cpp (4:14.1.0-2ubuntu1) ... 239s Selecting previously unselected package libcc1-0:armhf. 239s Preparing to unpack .../18-libcc1-0_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking libcc1-0:armhf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package libgomp1:armhf. 239s Preparing to unpack .../19-libgomp1_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking libgomp1:armhf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package libasan8:armhf. 239s Preparing to unpack .../20-libasan8_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking libasan8:armhf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package libubsan1:armhf. 239s Preparing to unpack .../21-libubsan1_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking libubsan1:armhf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package libgcc-14-dev:armhf. 239s Preparing to unpack .../22-libgcc-14-dev_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 239s Preparing to unpack .../23-gcc-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package gcc-14. 239s Preparing to unpack .../24-gcc-14_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package gcc-arm-linux-gnueabihf. 239s Preparing to unpack .../25-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 239s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 239s Selecting previously unselected package gcc. 239s Preparing to unpack .../26-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 239s Unpacking gcc (4:14.1.0-2ubuntu1) ... 239s Selecting previously unselected package libstdc++-14-dev:armhf. 240s Preparing to unpack .../27-libstdc++-14-dev_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 240s Preparing to unpack .../28-g++-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package g++-14. 240s Preparing to unpack .../29-g++-14_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking g++-14 (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package g++-arm-linux-gnueabihf. 240s Preparing to unpack .../30-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 240s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 240s Selecting previously unselected package g++. 240s Preparing to unpack .../31-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 240s Unpacking g++ (4:14.1.0-2ubuntu1) ... 240s Selecting previously unselected package build-essential. 240s Preparing to unpack .../32-build-essential_12.10ubuntu1_armhf.deb ... 240s Unpacking build-essential (12.10ubuntu1) ... 240s Selecting previously unselected package libdebhelper-perl. 240s Preparing to unpack .../33-libdebhelper-perl_13.20ubuntu1_all.deb ... 240s Unpacking libdebhelper-perl (13.20ubuntu1) ... 240s Selecting previously unselected package libtool. 240s Preparing to unpack .../34-libtool_2.4.7-7build1_all.deb ... 240s Unpacking libtool (2.4.7-7build1) ... 240s Selecting previously unselected package dh-autoreconf. 240s Preparing to unpack .../35-dh-autoreconf_20_all.deb ... 240s Unpacking dh-autoreconf (20) ... 240s Selecting previously unselected package libarchive-zip-perl. 240s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 240s Unpacking libarchive-zip-perl (1.68-1) ... 240s Selecting previously unselected package libfile-stripnondeterminism-perl. 240s Preparing to unpack .../37-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 240s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 240s Selecting previously unselected package dh-strip-nondeterminism. 240s Preparing to unpack .../38-dh-strip-nondeterminism_1.14.0-1_all.deb ... 240s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 240s Selecting previously unselected package debugedit. 240s Preparing to unpack .../39-debugedit_1%3a5.1-1_armhf.deb ... 240s Unpacking debugedit (1:5.1-1) ... 240s Selecting previously unselected package dwz. 240s Preparing to unpack .../40-dwz_0.15-1build6_armhf.deb ... 240s Unpacking dwz (0.15-1build6) ... 240s Selecting previously unselected package gettext. 241s Preparing to unpack .../41-gettext_0.22.5-2_armhf.deb ... 241s Unpacking gettext (0.22.5-2) ... 241s Selecting previously unselected package intltool-debian. 241s Preparing to unpack .../42-intltool-debian_0.35.0+20060710.6_all.deb ... 241s Unpacking intltool-debian (0.35.0+20060710.6) ... 241s Selecting previously unselected package po-debconf. 241s Preparing to unpack .../43-po-debconf_1.0.21+nmu1_all.deb ... 241s Unpacking po-debconf (1.0.21+nmu1) ... 241s Selecting previously unselected package debhelper. 241s Preparing to unpack .../44-debhelper_13.20ubuntu1_all.deb ... 241s Unpacking debhelper (13.20ubuntu1) ... 241s Selecting previously unselected package dh-python. 241s Preparing to unpack .../45-dh-python_6.20241024_all.deb ... 241s Unpacking dh-python (6.20241024) ... 241s Selecting previously unselected package libblas3:armhf. 241s Preparing to unpack .../46-libblas3_3.12.0-3build2_armhf.deb ... 241s Unpacking libblas3:armhf (3.12.0-3build2) ... 241s Selecting previously unselected package libgfortran5:armhf. 241s Preparing to unpack .../47-libgfortran5_14.2.0-8ubuntu1_armhf.deb ... 241s Unpacking libgfortran5:armhf (14.2.0-8ubuntu1) ... 241s Selecting previously unselected package liblapack3:armhf. 241s Preparing to unpack .../48-liblapack3_3.12.0-3build2_armhf.deb ... 241s Unpacking liblapack3:armhf (3.12.0-3build2) ... 241s Selecting previously unselected package libpython3.13-stdlib:armhf. 241s Preparing to unpack .../49-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 241s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 241s Selecting previously unselected package pybuild-plugin-autopkgtest. 241s Preparing to unpack .../50-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 241s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 241s Selecting previously unselected package python3.13. 241s Preparing to unpack .../51-python3.13_3.13.0-2_armhf.deb ... 241s Unpacking python3.13 (3.13.0-2) ... 241s Selecting previously unselected package python3-all. 241s Preparing to unpack .../52-python3-all_3.12.7-1_armhf.deb ... 241s Unpacking python3-all (3.12.7-1) ... 241s Selecting previously unselected package python3-six. 241s Preparing to unpack .../53-python3-six_1.16.0-7_all.deb ... 241s Unpacking python3-six (1.16.0-7) ... 241s Selecting previously unselected package python3-dateutil. 241s Preparing to unpack .../54-python3-dateutil_2.9.0-2_all.deb ... 241s Unpacking python3-dateutil (2.9.0-2) ... 241s Selecting previously unselected package python3-sortedcontainers. 241s Preparing to unpack .../55-python3-sortedcontainers_2.4.0-2_all.deb ... 241s Unpacking python3-sortedcontainers (2.4.0-2) ... 241s Selecting previously unselected package python3-hypothesis. 241s Preparing to unpack .../56-python3-hypothesis_6.116.0-1_all.deb ... 241s Unpacking python3-hypothesis (6.116.0-1) ... 241s Selecting previously unselected package python3-iniconfig. 241s Preparing to unpack .../57-python3-iniconfig_1.1.1-2_all.deb ... 241s Unpacking python3-iniconfig (1.1.1-2) ... 241s Selecting previously unselected package python3-isort. 241s Preparing to unpack .../58-python3-isort_5.13.2-2_all.deb ... 241s Unpacking python3-isort (5.13.2-2) ... 241s Selecting previously unselected package python3-jellyfish. 241s Preparing to unpack .../59-python3-jellyfish_1.1.0-1_armhf.deb ... 241s Unpacking python3-jellyfish (1.1.0-1) ... 241s Selecting previously unselected package python3-rapidfuzz. 241s Preparing to unpack .../60-python3-rapidfuzz_3.9.4+ds-1_armhf.deb ... 241s Unpacking python3-rapidfuzz (3.9.4+ds-1) ... 241s Selecting previously unselected package python3-levenshtein. 241s Preparing to unpack .../61-python3-levenshtein_0.26.0-1_armhf.deb ... 241s Unpacking python3-levenshtein (0.26.0-1) ... 241s Selecting previously unselected package python3-numpy. 241s Preparing to unpack .../62-python3-numpy_1%3a1.26.4+ds-11build1_armhf.deb ... 241s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 242s Selecting previously unselected package python3-packaging. 242s Preparing to unpack .../63-python3-packaging_24.1-1_all.deb ... 242s Unpacking python3-packaging (24.1-1) ... 242s Selecting previously unselected package python3-pluggy. 242s Preparing to unpack .../64-python3-pluggy_1.5.0-1_all.deb ... 242s Unpacking python3-pluggy (1.5.0-1) ... 242s Selecting previously unselected package python3-pylev. 242s Preparing to unpack .../65-python3-pylev_1.4.0-1_all.deb ... 242s Unpacking python3-pylev (1.4.0-1) ... 242s Selecting previously unselected package python3-pytest. 242s Preparing to unpack .../66-python3-pytest_8.3.3-1_all.deb ... 242s Unpacking python3-pytest (8.3.3-1) ... 242s Selecting previously unselected package python3-pyxdameraulevenshtein:armhf. 242s Preparing to unpack .../67-python3-pyxdameraulevenshtein_1.7.1-2build3_armhf.deb ... 242s Unpacking python3-pyxdameraulevenshtein:armhf (1.7.1-2build3) ... 242s Selecting previously unselected package python3-textdistance. 242s Preparing to unpack .../68-python3-textdistance_4.6.3-4_all.deb ... 242s Unpacking python3-textdistance (4.6.3-4) ... 242s Selecting previously unselected package autopkgtest-satdep. 242s Preparing to unpack .../69-1-autopkgtest-satdep.deb ... 242s Unpacking autopkgtest-satdep (0) ... 242s Setting up dh-python (6.20241024) ... 242s Setting up python3-iniconfig (1.1.1-2) ... 242s Setting up python3-rapidfuzz (3.9.4+ds-1) ... 243s Setting up python3-jellyfish (1.1.0-1) ... 243s Setting up python3-pyxdameraulevenshtein:armhf (1.7.1-2build3) ... 243s Setting up libarchive-zip-perl (1.68-1) ... 243s Setting up libdebhelper-perl (13.20ubuntu1) ... 243s Setting up python3-pylev (1.4.0-1) ... 243s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 243s Setting up m4 (1.4.19-4build1) ... 243s Setting up python3-sortedcontainers (2.4.0-2) ... 243s Setting up libgomp1:armhf (14.2.0-8ubuntu1) ... 243s Setting up python3-six (1.16.0-7) ... 243s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 243s Setting up autotools-dev (20220109.1) ... 243s Setting up libblas3:armhf (3.12.0-3build2) ... 243s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 243s Setting up python3-packaging (24.1-1) ... 244s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 244s Setting up libmpc3:armhf (1.3.1-1build2) ... 244s Setting up autopoint (0.22.5-2) ... 244s Setting up libgfortran5:armhf (14.2.0-8ubuntu1) ... 244s Setting up autoconf (2.72-3) ... 244s Setting up python3-isort (5.13.2-2) ... 244s Setting up python3-pluggy (1.5.0-1) ... 244s Setting up libubsan1:armhf (14.2.0-8ubuntu1) ... 244s Setting up dwz (0.15-1build6) ... 244s Setting up libcrypt-dev:armhf (1:4.4.36-4build1) ... 244s Setting up libasan8:armhf (14.2.0-8ubuntu1) ... 244s Setting up debugedit (1:5.1-1) ... 244s Setting up python3.13-minimal (3.13.0-2) ... 245s Setting up python3-dateutil (2.9.0-2) ... 245s Setting up python3-levenshtein (0.26.0-1) ... 245s Setting up libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 245s Setting up libisl23:armhf (0.27-1) ... 245s Setting up libc-dev-bin (2.40-1ubuntu3) ... 245s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 245s Setting up libcc1-0:armhf (14.2.0-8ubuntu1) ... 245s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 245s Setting up python3-textdistance (4.6.3-4) ... 246s Setting up automake (1:1.16.5-1.3ubuntu1) ... 246s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 246s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 246s Setting up liblapack3:armhf (3.12.0-3build2) ... 246s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 246s Setting up gettext (0.22.5-2) ... 246s Setting up python3.13 (3.13.0-2) ... 247s Setting up python3-pytest (8.3.3-1) ... 248s Setting up python3-hypothesis (6.116.0-1) ... 248s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 248s Setting up python3-all (3.12.7-1) ... 248s Setting up intltool-debian (0.35.0+20060710.6) ... 248s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 253s Setting up cpp-14 (14.2.0-8ubuntu1) ... 253s Setting up dh-strip-nondeterminism (1.14.0-1) ... 253s Setting up libc6-dev:armhf (2.40-1ubuntu3) ... 253s Setting up libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 253s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 253s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 253s Setting up g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 253s Setting up po-debconf (1.0.21+nmu1) ... 253s Setting up gcc-14 (14.2.0-8ubuntu1) ... 253s Setting up cpp (4:14.1.0-2ubuntu1) ... 253s Setting up g++-14 (14.2.0-8ubuntu1) ... 253s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 253s Setting up libtool (2.4.7-7build1) ... 253s Setting up gcc (4:14.1.0-2ubuntu1) ... 253s Setting up dh-autoreconf (20) ... 253s Setting up g++ (4:14.1.0-2ubuntu1) ... 253s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 253s Setting up build-essential (12.10ubuntu1) ... 253s Setting up debhelper (13.20ubuntu1) ... 253s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 253s Setting up autopkgtest-satdep (0) ... 253s Processing triggers for systemd (256.5-2ubuntu4) ... 253s Processing triggers for man-db (2.12.1-3) ... 254s Processing triggers for install-info (7.1.1-1) ... 255s Processing triggers for libc-bin (2.40-1ubuntu3) ... 269s (Reading database ... 65632 files and directories currently installed.) 269s Removing autopkgtest-satdep (0) ... 276s autopkgtest [06:30:50]: test pybuild-autopkgtest: pybuild-autopkgtest 276s autopkgtest [06:30:50]: test pybuild-autopkgtest: [----------------------- 279s pybuild-autopkgtest 279s I: pybuild base:311: cd /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build; python3.13 -m pytest tests 280s ============================= test session starts ============================== 280s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 280s rootdir: /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build 280s configfile: setup.cfg 280s plugins: typeguard-4.4.1, hypothesis-6.116.0 280s collected 430 items 280s 309s tests/test_common.py .....................FF......................FF.... [ 11%] 361s ..................FF......................FF......................FF.... [ 28%] 361s ..................FF......................F.. [ 39%] 361s tests/test_compression/test_arith_ncd.py .... [ 40%] 361s tests/test_compression/test_bwtrle_ncd.py .. [ 40%] 361s tests/test_compression/test_bz2_ncd.py .. [ 40%] 366s tests/test_compression/test_common.py ............................ [ 47%] 367s tests/test_compression/test_entropy_ncd.py ........ [ 49%] 368s tests/test_compression/test_sqrt_ncd.py ....... [ 50%] 368s tests/test_edit/test_damerau_levenshtein.py ............................ [ 57%] 368s .... [ 58%] 368s tests/test_edit/test_editex.py ............ [ 61%] 368s tests/test_edit/test_gotoh.py FFFFF [ 62%] 368s tests/test_edit/test_hamming.py ...... [ 63%] 368s tests/test_edit/test_jaro.py ........ [ 65%] 368s tests/test_edit/test_jaro_winkler.py ....... [ 67%] 368s tests/test_edit/test_levenshtein.py ...... [ 68%] 368s tests/test_edit/test_matrix.py .......... [ 70%] 368s tests/test_edit/test_mlipns.py ........... [ 73%] 368s tests/test_edit/test_needleman_wunsch.py FFFFF [ 74%] 368s tests/test_edit/test_smith_waterman.py FFFFF [ 75%] 368s tests/test_edit/test_strcmp95.py .... [ 76%] 456s tests/test_external.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 83%] 456s tests/test_phonetic/test_editex.py .............................. [ 90%] 456s tests/test_sequence/test_lcsseq.py ........... [ 93%] 456s tests/test_sequence/test_lcsstr.py .......... [ 95%] 456s tests/test_token/test_bag.py .... [ 96%] 456s tests/test_token/test_cosine.py .. [ 96%] 456s tests/test_token/test_jaccard.py ..... [ 98%] 456s tests/test_token/test_monge_elkan.py .. [ 98%] 456s tests/test_token/test_overlap.py ... [ 99%] 457s tests/test_token/test_sorensen.py ... [100%] 457s 457s =================================== FAILURES =================================== 457s _______________________ test_normalization_range[alg21] ________________________ 457s 457s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.given( 457s left=hypothesis.strategies.text(), 457s right=hypothesis.strategies.text(), 457s ) 457s 457s tests/test_common.py:50: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:55: in test_normalization_range 457s assert 0 <= alg.normalized_distance(left, right) <= 1 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 457s return (self.distance(*sequences) - minimum) / (maximum - minimum) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 457s return -1 * self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '', s2 = '0' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s E Falsifying example: test_normalization_range( 457s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E left='', # or any other generated value 457s E right='0', 457s E ) 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s _______________________ test_normalization_range[alg22] ________________________ 457s 457s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.given( 457s left=hypothesis.strategies.text(), 457s right=hypothesis.strategies.text(), 457s ) 457s 457s tests/test_common.py:50: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:55: in test_normalization_range 457s assert 0 <= alg.normalized_distance(left, right) <= 1 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 457s return self.distance(*sequences) / maximum 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 457s return self.maximum(*sequences) - self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '0', s2 = '0' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s E Falsifying example: test_normalization_range( 457s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179 457s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s _______________________ test_normalization_by_one[alg21] _______________________ 457s 457s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.given( 457s left=hypothesis.strategies.text(), 457s right=hypothesis.strategies.text(), 457s ) 457s 457s tests/test_common.py:60: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:65: in test_normalization_by_one 457s d = alg.normalized_distance(left, right) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 457s return (self.distance(*sequences) - minimum) / (maximum - minimum) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 457s return -1 * self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '', s2 = '0' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s E Falsifying example: test_normalization_by_one( 457s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E left='', # or any other generated value 457s E right='0', 457s E ) 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s _______________________ test_normalization_by_one[alg22] _______________________ 457s 457s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.given( 457s left=hypothesis.strategies.text(), 457s right=hypothesis.strategies.text(), 457s ) 457s 457s tests/test_common.py:60: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:65: in test_normalization_by_one 457s d = alg.normalized_distance(left, right) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 457s return self.distance(*sequences) / maximum 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 457s return self.maximum(*sequences) - self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '0', s2 = '0' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s E Falsifying example: test_normalization_by_one( 457s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179 457s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s ________________________ test_normalization_same[alg21] ________________________ 457s 457s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.given(text=hypothesis.strategies.text()) 457s 457s tests/test_common.py:71: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:73: in test_normalization_same 457s assert alg.normalized_distance(text, text) == 0 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 457s return (self.distance(*sequences) - minimum) / (maximum - minimum) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 457s return -1 * self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '0', s2 = '0' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s E Falsifying example: test_normalization_same( 457s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E text='0', 457s E ) 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ________________________ test_normalization_same[alg22] ________________________ 457s 457s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.given(text=hypothesis.strategies.text()) 457s 457s tests/test_common.py:71: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:75: in test_normalization_same 457s assert alg.distance(text, text) == 0 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 457s return self.maximum(*sequences) - self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '', s2 = '' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s E Falsifying example: test_normalization_same( 457s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E text='', # or any other generated value 457s E ) 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s _____________________ test_normalization_monotonic[alg21] ______________________ 457s 457s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.settings(deadline=None) 457s 457s tests/test_common.py:80: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:86: in test_normalization_monotonic 457s nd = alg.normalized_distance(left, right) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 457s return (self.distance(*sequences) - minimum) / (maximum - minimum) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 457s return -1 * self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '0', s2 = '0' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s E Falsifying example: test_normalization_monotonic( 457s E # The test always failed when commented parts were varied together. 457s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s _____________________ test_normalization_monotonic[alg22] ______________________ 457s 457s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s > @hypothesis.settings(deadline=None) 457s 457s tests/test_common.py:80: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s tests/test_common.py:86: in test_normalization_monotonic 457s nd = alg.normalized_distance(left, right) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 457s return self.distance(*sequences) / maximum 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 457s return self.maximum(*sequences) - self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '0', s2 = '0' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s E Falsifying example: test_normalization_monotonic( 457s E # The test always failed when commented parts were varied together. 457s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s _________________________ test_no_common_chars[alg21] __________________________ 457s 457s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s def test_no_common_chars(alg): 457s if alg is textdistance.editex: 457s return 457s > assert alg.similarity('spam', 'qwer') == 0 457s 457s tests/test_common.py:97: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = 'spam', s2 = 'qwer' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s _________________________ test_no_common_chars[alg22] __________________________ 457s 457s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s def test_no_common_chars(alg): 457s if alg is textdistance.editex: 457s return 457s > assert alg.similarity('spam', 'qwer') == 0 457s 457s tests/test_common.py:97: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = 'spam', s2 = 'qwer' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s ______________________________ test_empty[alg21] _______________________________ 457s 457s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s def test_empty(alg): 457s > assert alg.distance('', '') == 0 457s 457s tests/test_common.py:102: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 457s return -1 * self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '', s2 = '' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ______________________________ test_empty[alg22] _______________________________ 457s 457s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s def test_empty(alg): 457s > assert alg.distance('', '') == 0 457s 457s tests/test_common.py:102: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 457s return self.maximum(*sequences) - self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '', s2 = '' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s _________________________ test_unequal_distance[alg21] _________________________ 457s 457s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s 457s @pytest.mark.parametrize('alg', ALGS) 457s def test_unequal_distance(alg): 457s if alg.maximum('', 'qwertyui'): 457s > assert alg.distance('', 'qwertyui') > 0 457s 457s tests/test_common.py:108: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 457s return -1 * self.similarity(*sequences) 457s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 457s return self(*sequences) 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = '', s2 = 'qwertyui' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 457s 457s left = 'GATTACA', right = 'GCATGCU', expected = 0 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('GATTACA', 'GCATGCU', 0), 457s ]) 457s def test_distance_ident(left, right, expected): 457s > actual = ALG(gap_open=1, gap_ext=1, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_gotoh.py:35: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 1, 'sim_func': , 'external': True}) 457s s1 = 'GATTACA', s2 = 'GCATGCU' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Gotoh measure') 457s E ImportError: Please, install numpy for Gotoh measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 457s ______________ test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] ______________ 457s 457s left = 'GATTACA', right = 'GCATGCU', expected = 0 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('GATTACA', 'GCATGCU', 0), 457s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 457s ('AGACTAGTTAC', 'CGAGACGT', 1), 457s ]) 457s def test_distance_ident_with_gap_05(left, right, expected): 457s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_gotoh.py:45: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 457s s1 = 'GATTACA', s2 = 'GCATGCU' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Gotoh measure') 457s E ImportError: Please, install numpy for Gotoh measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 457s __________ test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] __________ 457s 457s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = 1.5 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('GATTACA', 'GCATGCU', 0), 457s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 457s ('AGACTAGTTAC', 'CGAGACGT', 1), 457s ]) 457s def test_distance_ident_with_gap_05(left, right, expected): 457s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_gotoh.py:45: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 457s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Gotoh measure') 457s E ImportError: Please, install numpy for Gotoh measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 457s ___________ test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] ____________ 457s 457s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 1 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('GATTACA', 'GCATGCU', 0), 457s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 457s ('AGACTAGTTAC', 'CGAGACGT', 1), 457s ]) 457s def test_distance_ident_with_gap_05(left, right, expected): 457s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_gotoh.py:45: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 457s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Gotoh measure') 457s E ImportError: Please, install numpy for Gotoh measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 457s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] ___________ 457s 457s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = -15 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('AGACTAGTTAC', 'CGAGACGT', -15), 457s ]) 457s def test_distance_ident_with_gap_5(left, right, expected): 457s > actual = ALG(gap_open=5, gap_ext=5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_gotoh.py:53: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = Gotoh({'qval': 1, 'gap_open': 5, 'gap_ext': 5, 'sim_func': , 'external': True}) 457s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Gotoh measure') 457s E ImportError: Please, install numpy for Gotoh measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 457s ________________ test_distance_matrix[AGACTAGTTAC-CGAGACGT-16] _________________ 457s 457s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 16 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('AGACTAGTTAC', 'CGAGACGT', 16), 457s ]) 457s def test_distance_matrix(left, right, expected): 457s sim_matrix = textdistance.Matrix(NW_MATRIX, symmetric=True) 457s > actual = ALG(gap_cost=5, sim_func=sim_matrix)(left, right) 457s 457s tests/test_edit/test_needleman_wunsch.py:29: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s 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}) 457s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 457s 457s left = 'GATTACA', right = 'GCATGCU', expected = 0 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('GATTACA', 'GCATGCU', 0), 457s ]) 457s def test_distance_ident(left, right, expected): 457s > actual = ALG(sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_needleman_wunsch.py:44: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = 'GATTACA', s2 = 'GCATGCU' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ____________ test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC--5] ____________ 457s 457s left = 'CGATATCAG', right = 'TGACGSTGC', expected = -5 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('CGATATCAG', 'TGACGSTGC', -5), 457s ('AGACTAGTTAC', 'TGACGSTGC', -7), 457s ('AGACTAGTTAC', 'CGAGACGT', -15), 457s ]) 457s def test_distance_ident_with_gap_5(left, right, expected): 457s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_needleman_wunsch.py:54: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 457s s1 = 'CGATATCAG', s2 = 'TGACGSTGC' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC--7] ___________ 457s 457s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = -7 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('CGATATCAG', 'TGACGSTGC', -5), 457s ('AGACTAGTTAC', 'TGACGSTGC', -7), 457s ('AGACTAGTTAC', 'CGAGACGT', -15), 457s ]) 457s def test_distance_ident_with_gap_5(left, right, expected): 457s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_needleman_wunsch.py:54: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 457s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] ___________ 457s 457s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = -15 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('CGATATCAG', 'TGACGSTGC', -5), 457s ('AGACTAGTTAC', 'TGACGSTGC', -7), 457s ('AGACTAGTTAC', 'CGAGACGT', -15), 457s ]) 457s def test_distance_ident_with_gap_5(left, right, expected): 457s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_needleman_wunsch.py:54: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 457s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 457s E ImportError: Please, install numpy for Needleman-Wunsch measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 457s ________________ test_distance_matrix[AGACTAGTTAC-CGAGACGT-26] _________________ 457s 457s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 26 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('AGACTAGTTAC', 'CGAGACGT', 26), 457s ]) 457s def test_distance_matrix(left, right, expected): 457s sim_matrix = textdistance.Matrix(NW_MATRIX, symmetric=True) 457s > actual = ALG(gap_cost=5, sim_func=sim_matrix)(left, right) 457s 457s tests/test_edit/test_smith_waterman.py:29: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s 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}) 457s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 457s 457s left = 'GATTACA', right = 'GCATGCU', expected = 0 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('GATTACA', 'GCATGCU', 0), 457s ]) 457s def test_distance_ident(left, right, expected): 457s > actual = ALG(sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_smith_waterman.py:44: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 457s s1 = 'GATTACA', s2 = 'GCATGCU' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s ____________ test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC-0] _____________ 457s 457s left = 'CGATATCAG', right = 'TGACGSTGC', expected = 0 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('CGATATCAG', 'TGACGSTGC', 0), 457s ('AGACTAGTTAC', 'TGACGSTGC', 1), 457s ('AGACTAGTTAC', 'CGAGACGT', 0), 457s ]) 457s def test_distance_ident_with_gap_5(left, right, expected): 457s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_smith_waterman.py:54: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 457s s1 = 'CGATATCAG', s2 = 'TGACGSTGC' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC-1] ____________ 457s 457s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = 1 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('CGATATCAG', 'TGACGSTGC', 0), 457s ('AGACTAGTTAC', 'TGACGSTGC', 1), 457s ('AGACTAGTTAC', 'CGAGACGT', 0), 457s ]) 457s def test_distance_ident_with_gap_5(left, right, expected): 457s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_smith_waterman.py:54: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 457s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s ____________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT-0] ____________ 457s 457s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 0 457s 457s @pytest.mark.parametrize('left, right, expected', [ 457s ('CGATATCAG', 'TGACGSTGC', 0), 457s ('AGACTAGTTAC', 'TGACGSTGC', 1), 457s ('AGACTAGTTAC', 'CGAGACGT', 0), 457s ]) 457s def test_distance_ident_with_gap_5(left, right, expected): 457s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 457s 457s tests/test_edit/test_smith_waterman.py:54: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 457s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 457s 457s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 457s if not numpy: 457s > raise ImportError('Please, install numpy for Smith-Waterman measure') 457s E ImportError: Please, install numpy for Smith-Waterman measure 457s 457s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 457s _______________________ test_compare[DamerauLevenshtein] _______________________ 457s 457s alg = 'DamerauLevenshtein' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:21: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'DamerauLevenshtein' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.settings(deadline=None) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s def test_compare(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 457s E Falsifying example: test_compare( 457s E # The test always failed when commented parts were varied together. 457s E alg='DamerauLevenshtein', 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:39: RuntimeError 457s ____________________________ test_compare[Hamming] _____________________________ 457s 457s alg = 'Hamming' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:21: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Hamming' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.settings(deadline=None) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s def test_compare(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import Levenshtein.hamming 457s E Falsifying example: test_compare( 457s E # The test always failed when commented parts were varied together. 457s E alg='Hamming', 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:39: RuntimeError 457s ______________________________ test_compare[Jaro] ______________________________ 457s 457s alg = 'Jaro' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:21: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Jaro' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.settings(deadline=None) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s def test_compare(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_similarity 457s E Falsifying example: test_compare( 457s E alg='Jaro', 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:39 457s 457s tests/test_external.py:39: RuntimeError 457s __________________________ test_compare[JaroWinkler] ___________________________ 457s 457s alg = 'JaroWinkler' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:21: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'JaroWinkler' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.settings(deadline=None) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s def test_compare(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 457s E Falsifying example: test_compare( 457s E alg='JaroWinkler', 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:39 457s 457s tests/test_external.py:39: RuntimeError 457s __________________________ test_compare[Levenshtein] ___________________________ 457s 457s alg = 'Levenshtein' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:21: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Levenshtein' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.settings(deadline=None) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s def test_compare(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.levenshtein_distance 457s E Falsifying example: test_compare( 457s E # The test always failed when commented parts were varied together. 457s E alg='Levenshtein', 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:39: RuntimeError 457s ______________________ test_qval[None-DamerauLevenshtein] ______________________ 457s 457s alg = 'DamerauLevenshtein', qval = None 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = None 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='DamerauLevenshtein', 457s E qval=None, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________________ test_qval[None-Hamming] ____________________________ 457s 457s alg = 'Hamming', qval = None 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Hamming', qval = None 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import Levenshtein.hamming 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Hamming', 457s E qval=None, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s _____________________________ test_qval[None-Jaro] _____________________________ 457s 457s alg = 'Jaro', qval = None 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Jaro', qval = None 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_similarity 457s E Falsifying example: test_qval( 457s E alg='Jaro', 457s E qval=None, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s _________________________ test_qval[None-JaroWinkler] __________________________ 457s 457s alg = 'JaroWinkler', qval = None 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'JaroWinkler', qval = None 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 457s E Falsifying example: test_qval( 457s E alg='JaroWinkler', 457s E qval=None, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s _________________________ test_qval[None-Levenshtein] __________________________ 457s 457s alg = 'Levenshtein', qval = None 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Levenshtein', qval = None 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Levenshtein', 457s E qval=None, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s _______________________ test_qval[1-DamerauLevenshtein] ________________________ 457s 457s alg = 'DamerauLevenshtein', qval = 1 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 1 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='DamerauLevenshtein', 457s E qval=1, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s _____________________________ test_qval[1-Hamming] _____________________________ 457s 457s alg = 'Hamming', qval = 1 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Hamming', qval = 1 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import Levenshtein.hamming 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Hamming', 457s E qval=1, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s ______________________________ test_qval[1-Jaro] _______________________________ 457s 457s alg = 'Jaro', qval = 1 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Jaro', qval = 1 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_similarity 457s E Falsifying example: test_qval( 457s E alg='Jaro', 457s E qval=1, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________________ test_qval[1-JaroWinkler] ___________________________ 457s 457s alg = 'JaroWinkler', qval = 1 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'JaroWinkler', qval = 1 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 457s E Falsifying example: test_qval( 457s E alg='JaroWinkler', 457s E qval=1, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________________ test_qval[1-Levenshtein] ___________________________ 457s 457s alg = 'Levenshtein', qval = 1 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Levenshtein', qval = 1 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Levenshtein', 457s E qval=1, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s _______________________ test_qval[2-DamerauLevenshtein] ________________________ 457s 457s alg = 'DamerauLevenshtein', qval = 2 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 2 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='DamerauLevenshtein', 457s E qval=2, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s _____________________________ test_qval[2-Hamming] _____________________________ 457s 457s alg = 'Hamming', qval = 2 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Hamming', qval = 2 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import Levenshtein.hamming 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Hamming', 457s E qval=2, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s ______________________________ test_qval[2-Jaro] _______________________________ 457s 457s alg = 'Jaro', qval = 2 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Jaro', qval = 2 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_similarity 457s E Falsifying example: test_qval( 457s E alg='Jaro', 457s E qval=2, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________________ test_qval[2-JaroWinkler] ___________________________ 457s 457s alg = 'JaroWinkler', qval = 2 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'JaroWinkler', qval = 2 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 457s E Falsifying example: test_qval( 457s E alg='JaroWinkler', 457s E qval=2, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________________ test_qval[2-Levenshtein] ___________________________ 457s 457s alg = 'Levenshtein', qval = 2 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Levenshtein', qval = 2 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Levenshtein', 457s E qval=2, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s _______________________ test_qval[3-DamerauLevenshtein] ________________________ 457s 457s alg = 'DamerauLevenshtein', qval = 3 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 3 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='DamerauLevenshtein', 457s E qval=3, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s _____________________________ test_qval[3-Hamming] _____________________________ 457s 457s alg = 'Hamming', qval = 3 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Hamming', qval = 3 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import Levenshtein.hamming 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Hamming', 457s E qval=3, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s ______________________________ test_qval[3-Jaro] _______________________________ 457s 457s alg = 'Jaro', qval = 3 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Jaro', qval = 3 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_similarity 457s E Falsifying example: test_qval( 457s E alg='Jaro', 457s E qval=3, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________________ test_qval[3-JaroWinkler] ___________________________ 457s 457s alg = 'JaroWinkler', qval = 3 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'JaroWinkler', qval = 3 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 457s E Falsifying example: test_qval( 457s E alg='JaroWinkler', 457s E qval=3, 457s E left='0', 457s E right='0', 457s E ) 457s E Explanation: 457s E These lines were always and only run by failing examples: 457s E /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build/tests/test_external.py:69 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________________ test_qval[3-Levenshtein] ___________________________ 457s 457s alg = 'Levenshtein', qval = 3 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:51: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = '0', right = '0', alg = 'Levenshtein', qval = 3 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.text(min_size=1), 457s right=hypothesis.strategies.text(min_size=1), 457s ) 457s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 457s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 457s for lib in libraries.get_libs(alg): 457s 457s if lib.module_name == 'jellyfish': 457s ascii = set(string.printable) 457s if (set(left) | set(right)) - ascii: 457s continue 457s 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.levenshtein_distance 457s E Falsifying example: test_qval( 457s E # The test always failed when commented parts were varied together. 457s E alg='Levenshtein', 457s E qval=3, 457s E left='0', # or any other generated value 457s E right='0', # or any other generated value 457s E ) 457s 457s tests/test_external.py:69: RuntimeError 457s ___________________ test_list_of_numbers[DamerauLevenshtein] ___________________ 457s 457s alg = 'DamerauLevenshtein' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:91: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = [], right = [], alg = 'DamerauLevenshtein' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s ) 457s def test_list_of_numbers(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 457s E Falsifying example: test_list_of_numbers( 457s E # The test always failed when commented parts were varied together. 457s E alg='DamerauLevenshtein', 457s E left=[], # or any other generated value 457s E right=[], # or any other generated value 457s E ) 457s 457s tests/test_external.py:102: RuntimeError 457s ________________________ test_list_of_numbers[Hamming] _________________________ 457s 457s alg = 'Hamming' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:91: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = [], right = [], alg = 'Hamming' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s ) 457s def test_list_of_numbers(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import Levenshtein.hamming 457s E Falsifying example: test_list_of_numbers( 457s E # The test always failed when commented parts were varied together. 457s E alg='Hamming', 457s E left=[], # or any other generated value 457s E right=[], # or any other generated value 457s E ) 457s 457s tests/test_external.py:102: RuntimeError 457s __________________________ test_list_of_numbers[Jaro] __________________________ 457s 457s alg = 'Jaro' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:91: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = [], right = [], alg = 'Jaro' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s ) 457s def test_list_of_numbers(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_similarity 457s E Falsifying example: test_list_of_numbers( 457s E # The test always failed when commented parts were varied together. 457s E alg='Jaro', 457s E left=[], # or any other generated value 457s E right=[], # or any other generated value 457s E ) 457s 457s tests/test_external.py:102: RuntimeError 457s ______________________ test_list_of_numbers[JaroWinkler] _______________________ 457s 457s alg = 'JaroWinkler' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:91: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = [], right = [], alg = 'JaroWinkler' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s ) 457s def test_list_of_numbers(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 457s E Falsifying example: test_list_of_numbers( 457s E # The test always failed when commented parts were varied together. 457s E alg='JaroWinkler', 457s E left=[], # or any other generated value 457s E right=[], # or any other generated value 457s E ) 457s 457s tests/test_external.py:102: RuntimeError 457s ______________________ test_list_of_numbers[Levenshtein] _______________________ 457s 457s alg = 'Levenshtein' 457s 457s @pytest.mark.external 457s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s 457s tests/test_external.py:91: 457s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 457s 457s left = [], right = [], alg = 'Levenshtein' 457s 457s @pytest.mark.external 457s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 457s @hypothesis.given( 457s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 457s ) 457s def test_list_of_numbers(left, right, alg): 457s for lib in libraries.get_libs(alg): 457s conditions = lib.conditions or {} 457s internal_func = getattr(textdistance, alg)(external=False, **conditions) 457s external_func = lib.get_function() 457s if external_func is None: 457s > raise RuntimeError('cannot import {}'.format(str(lib))) 457s E RuntimeError: cannot import jellyfish.levenshtein_distance 457s E Falsifying example: test_list_of_numbers( 457s E # The test always failed when commented parts were varied together. 457s E alg='Levenshtein', 457s E left=[], # or any other generated value 457s E right=[], # or any other generated value 457s E ) 457s 457s tests/test_external.py:102: RuntimeError 457s =========================== short test summary info ============================ 457s FAILED tests/test_common.py::test_normalization_range[alg21] - ImportError: P... 457s FAILED tests/test_common.py::test_normalization_range[alg22] - ImportError: P... 457s FAILED tests/test_common.py::test_normalization_by_one[alg21] - ImportError: ... 457s FAILED tests/test_common.py::test_normalization_by_one[alg22] - ImportError: ... 457s FAILED tests/test_common.py::test_normalization_same[alg21] - ImportError: Pl... 457s FAILED tests/test_common.py::test_normalization_same[alg22] - ImportError: Pl... 457s FAILED tests/test_common.py::test_normalization_monotonic[alg21] - ImportErro... 457s FAILED tests/test_common.py::test_normalization_monotonic[alg22] - ImportErro... 457s FAILED tests/test_common.py::test_no_common_chars[alg21] - ImportError: Pleas... 457s FAILED tests/test_common.py::test_no_common_chars[alg22] - ImportError: Pleas... 457s FAILED tests/test_common.py::test_empty[alg21] - ImportError: Please, install... 457s FAILED tests/test_common.py::test_empty[alg22] - ImportError: Please, install... 457s FAILED tests/test_common.py::test_unequal_distance[alg21] - ImportError: Plea... 457s FAILED tests/test_edit/test_gotoh.py::test_distance_ident[GATTACA-GCATGCU-0] 457s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] 457s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] 457s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] 457s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] 457s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-16] 457s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident[GATTACA-GCATGCU-0] 457s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC--5] 457s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC--7] 457s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] 457s FAILED tests/test_edit/test_smith_waterman.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-26] 457s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident[GATTACA-GCATGCU-0] 457s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC-0] 457s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC-1] 457s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT-0] 457s FAILED tests/test_external.py::test_compare[DamerauLevenshtein] - RuntimeErro... 457s FAILED tests/test_external.py::test_compare[Hamming] - RuntimeError: cannot i... 457s FAILED tests/test_external.py::test_compare[Jaro] - RuntimeError: cannot impo... 457s FAILED tests/test_external.py::test_compare[JaroWinkler] - RuntimeError: cann... 457s FAILED tests/test_external.py::test_compare[Levenshtein] - RuntimeError: cann... 457s FAILED tests/test_external.py::test_qval[None-DamerauLevenshtein] - RuntimeEr... 457s FAILED tests/test_external.py::test_qval[None-Hamming] - RuntimeError: cannot... 457s FAILED tests/test_external.py::test_qval[None-Jaro] - RuntimeError: cannot im... 457s FAILED tests/test_external.py::test_qval[None-JaroWinkler] - RuntimeError: ca... 457s FAILED tests/test_external.py::test_qval[None-Levenshtein] - RuntimeError: ca... 457s FAILED tests/test_external.py::test_qval[1-DamerauLevenshtein] - RuntimeError... 457s FAILED tests/test_external.py::test_qval[1-Hamming] - RuntimeError: cannot im... 457s FAILED tests/test_external.py::test_qval[1-Jaro] - RuntimeError: cannot impor... 457s FAILED tests/test_external.py::test_qval[1-JaroWinkler] - RuntimeError: canno... 457s FAILED tests/test_external.py::test_qval[1-Levenshtein] - RuntimeError: canno... 457s FAILED tests/test_external.py::test_qval[2-DamerauLevenshtein] - RuntimeError... 457s FAILED tests/test_external.py::test_qval[2-Hamming] - RuntimeError: cannot im... 457s FAILED tests/test_external.py::test_qval[2-Jaro] - RuntimeError: cannot impor... 457s FAILED tests/test_external.py::test_qval[2-JaroWinkler] - RuntimeError: canno... 457s FAILED tests/test_external.py::test_qval[2-Levenshtein] - RuntimeError: canno... 457s FAILED tests/test_external.py::test_qval[3-DamerauLevenshtein] - RuntimeError... 457s FAILED tests/test_external.py::test_qval[3-Hamming] - RuntimeError: cannot im... 457s FAILED tests/test_external.py::test_qval[3-Jaro] - RuntimeError: cannot impor... 457s FAILED tests/test_external.py::test_qval[3-JaroWinkler] - RuntimeError: canno... 457s FAILED tests/test_external.py::test_qval[3-Levenshtein] - RuntimeError: canno... 457s FAILED tests/test_external.py::test_list_of_numbers[DamerauLevenshtein] - Run... 457s FAILED tests/test_external.py::test_list_of_numbers[Hamming] - RuntimeError: ... 457s FAILED tests/test_external.py::test_list_of_numbers[Jaro] - RuntimeError: can... 457s FAILED tests/test_external.py::test_list_of_numbers[JaroWinkler] - RuntimeErr... 457s FAILED tests/test_external.py::test_list_of_numbers[Levenshtein] - RuntimeErr... 457s ================== 58 failed, 372 passed in 177.46s (0:02:57) ================== 457s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build; python3.13 -m pytest tests 457s I: pybuild base:311: cd /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build; python3.12 -m pytest tests 458s ============================= test session starts ============================== 458s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 458s rootdir: /tmp/autopkgtest.lvxrl0/autopkgtest_tmp/build 458s configfile: setup.cfg 458s plugins: typeguard-4.4.1, hypothesis-6.116.0 458s collected 430 items 458s 466s tests/test_common.py ................................................... [ 11%] 472s ........................................................................ [ 28%] 472s ............................................. [ 39%] 472s tests/test_compression/test_arith_ncd.py .... [ 40%] 472s tests/test_compression/test_bwtrle_ncd.py .. [ 40%] 472s tests/test_compression/test_bz2_ncd.py .. [ 40%] 476s tests/test_compression/test_common.py ............................ [ 47%] 477s tests/test_compression/test_entropy_ncd.py ........ [ 49%] 478s tests/test_compression/test_sqrt_ncd.py ....... [ 50%] 478s tests/test_edit/test_damerau_levenshtein.py ............................ [ 57%] 478s .... [ 58%] 478s tests/test_edit/test_editex.py ............ [ 61%] 478s tests/test_edit/test_gotoh.py ..... [ 62%] 478s tests/test_edit/test_hamming.py ...... [ 63%] 478s tests/test_edit/test_jaro.py ........ [ 65%] 478s tests/test_edit/test_jaro_winkler.py ....... [ 67%] 478s tests/test_edit/test_levenshtein.py ...... [ 68%] 478s tests/test_edit/test_matrix.py .......... [ 70%] 478s tests/test_edit/test_mlipns.py ........... [ 73%] 478s tests/test_edit/test_needleman_wunsch.py ..... [ 74%] 478s tests/test_edit/test_smith_waterman.py ..... [ 75%] 478s tests/test_edit/test_strcmp95.py .... [ 76%] 483s tests/test_external.py .............................. [ 83%] 483s tests/test_phonetic/test_editex.py .............................. [ 90%] 483s tests/test_sequence/test_lcsseq.py ........... [ 93%] 483s tests/test_sequence/test_lcsstr.py .......... [ 95%] 483s tests/test_token/test_bag.py .... [ 96%] 483s tests/test_token/test_cosine.py .. [ 96%] 483s tests/test_token/test_jaccard.py ..... [ 98%] 483s tests/test_token/test_monge_elkan.py .. [ 98%] 483s tests/test_token/test_overlap.py ... [ 99%] 483s tests/test_token/test_sorensen.py ... [100%] 483s 483s ============================= 430 passed in 26.19s ============================= 484s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 484s make: *** [/tmp/B8y6qHOjrw/run:4: pybuild-autopkgtest] Error 25 484s pybuild-autopkgtest: error: /tmp/B8y6qHOjrw/run pybuild-autopkgtest returned exit code 2 484s autopkgtest [06:34:18]: test pybuild-autopkgtest: -----------------------] 488s pybuild-autopkgtest FAIL non-zero exit status 25 488s autopkgtest [06:34:22]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 492s autopkgtest [06:34:26]: @@@@@@@@@@@@@@@@@@@@ summary 492s pybuild-autopkgtest FAIL non-zero exit status 25