sbuild (Debian sbuild) 0.85.11~bpo12+1 (31 August 2024) on debusine-worker-arm64-demeter-05.freexian.com +==============================================================================+ | contourpy 1.3.0-2+bd1 (arm64) Sun, 06 Oct 2024 16:04:48 +0000 | +==============================================================================+ Package: contourpy Version: 1.3.0-2+bd1 Source Version: 1.3.0-2 Distribution: sid Machine Architecture: arm64 Host Architecture: arm64 Build Architecture: arm64 Build Type: any I: No tarballs found in /var/lib/debusine/worker/.cache/sbuild Unpacking /var/lib/debusine/worker/system-images/820286/system.tar.xz to /tmp/tmp.sbuild.aZtKHelIyS... I: NOTICE: Log filtering will replace 'sbuild-unshare-dummy-location' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ rm -f /etc/resolv.conf ---------------------- I: Finished running 'rm -f /etc/resolv.conf'. Finished processing commands. -------------------------------------------------------------------------------- Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/libpython3-all-dbg_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/libpython3-all-dev_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/libpython3-dbg_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/libpython3-dev_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/libpython3-stdlib_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-all-dbg_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-all-dev_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-all-venv_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-all_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-dbg_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-dev_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-full_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-minimal_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-nopie_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-venv_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3_3.12.6-1+debusine1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/2to3_3.12.6-1+debusine1_all.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/idle_3.12.6-1+debusine1_all.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-doc_3.12.6-1+debusine1_all.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-examples_3.12.6-1+debusine1_all.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-numpy-dbgsym_1.26.4+ds-11+bootstrap1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-numpy_1.26.4+ds-11+bootstrap1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-matplotlib-dbgsym_3.8.3-3+bootstrap1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python3-matplotlib_3.8.3-3+bootstrap1_arm64.deb to /<>... Copying /tmp/debusine-fetch-exec-upload-lx0ob96f/python-matplotlib-data_3.8.3-3+bootstrap1_all.deb to /<>... I: NOTICE: Log filtering will replace 'build/contourpy-QeWt5m/resolver-NTrvao' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 file:/build/contourpy-QeWt5m/resolver-HCmpa2/apt_archive ./ InRelease Ign:1 file:/build/contourpy-QeWt5m/resolver-HCmpa2/apt_archive ./ InRelease Get:2 file:/build/contourpy-QeWt5m/resolver-HCmpa2/apt_archive ./ Release [609 B] Get:3 http://deb.debian.org/debian sid InRelease [202 kB] Get:2 file:/build/contourpy-QeWt5m/resolver-HCmpa2/apt_archive ./ Release [609 B] Get:4 file:/build/contourpy-QeWt5m/resolver-HCmpa2/apt_archive ./ Release.gpg Ign:4 file:/build/contourpy-QeWt5m/resolver-HCmpa2/apt_archive ./ Release.gpg Get:5 file:/build/contourpy-QeWt5m/resolver-HCmpa2/apt_archive ./ Packages [27.9 kB] Get:6 http://deb.debian.org/debian sid/main arm64 Packages [9893 kB] Fetched 10.1 MB in 1s (7873 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following NEW packages will be installed: appstream libappstream5 libatomic1 libbrotli1 libcurl3t64-gnutls libglib2.0-0t64 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 libnghttp2-14 libnghttp3-9 libngtcp2-16 libngtcp2-crypto-gnutls8 libpsl5t64 librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1t64 libstemmer0d libxmlb2 shared-mime-info The following packages will be upgraded: bsdextrautils bsdutils gcc-14-base libblkid1 libbsd0 libdata-dpath-perl libgcc-s1 libgomp1 libmount1 libsmartcols1 libstdc++6 libuuid1 libyaml-libyaml-perl lintian login mount tzdata util-linux 18 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. Need to get 9540 kB of archives. After this operation, 22.2 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian sid/main arm64 bsdutils arm64 1:2.40.2-9 [104 kB] Get:2 http://deb.debian.org/debian sid/main arm64 bsdextrautils arm64 2.40.2-9 [96.6 kB] Get:3 http://deb.debian.org/debian sid/main arm64 libblkid1 arm64 2.40.2-9 [162 kB] Get:4 http://deb.debian.org/debian sid/main arm64 libmount1 arm64 2.40.2-9 [190 kB] Get:5 http://deb.debian.org/debian sid/main arm64 libsmartcols1 arm64 2.40.2-9 [135 kB] Get:6 http://deb.debian.org/debian sid/main arm64 mount arm64 2.40.2-9 [152 kB] Get:7 http://deb.debian.org/debian sid/main arm64 libuuid1 arm64 2.40.2-9 [35.5 kB] Get:8 http://deb.debian.org/debian sid/main arm64 util-linux arm64 2.40.2-9 [1176 kB] Get:9 http://deb.debian.org/debian sid/main arm64 login arm64 1:4.16.0-2+really2.40.2-9 [79.7 kB] Get:10 http://deb.debian.org/debian sid/main arm64 gcc-14-base arm64 14.2.0-6 [46.8 kB] Get:11 http://deb.debian.org/debian sid/main arm64 libstdc++6 arm64 14.2.0-6 [637 kB] Get:12 http://deb.debian.org/debian sid/main arm64 libgomp1 arm64 14.2.0-6 [124 kB] Get:13 http://deb.debian.org/debian sid/main arm64 libgcc-s1 arm64 14.2.0-6 [54.0 kB] Get:14 http://deb.debian.org/debian sid/main arm64 tzdata all 2024b-2 [256 kB] Get:15 http://deb.debian.org/debian sid/main arm64 libatomic1 arm64 14.2.0-6 [10.1 kB] Get:16 http://deb.debian.org/debian sid/main arm64 libglib2.0-0t64 arm64 2.82.1-1 [1410 kB] Get:17 http://deb.debian.org/debian sid/main arm64 shared-mime-info arm64 2.4-5+b1 [755 kB] Get:18 http://deb.debian.org/debian sid/main arm64 libbrotli1 arm64 1.1.0-2+b4 [292 kB] Get:19 http://deb.debian.org/debian sid/main arm64 libkrb5support0 arm64 1.21.3-3 [32.1 kB] Get:20 http://deb.debian.org/debian sid/main arm64 libk5crypto3 arm64 1.21.3-3 [80.8 kB] Get:21 http://deb.debian.org/debian sid/main arm64 libkeyutils1 arm64 1.6.3-3 [9112 B] Get:22 http://deb.debian.org/debian sid/main arm64 libkrb5-3 arm64 1.21.3-3 [310 kB] Get:23 http://deb.debian.org/debian sid/main arm64 libgssapi-krb5-2 arm64 1.21.3-3 [126 kB] Get:24 http://deb.debian.org/debian sid/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg1-8 [20.0 kB] Get:25 http://deb.debian.org/debian sid/main arm64 libsasl2-2 arm64 2.1.28+dfsg1-8 [55.4 kB] Get:26 http://deb.debian.org/debian sid/main arm64 libldap-2.5-0 arm64 2.5.18+dfsg-3 [174 kB] Get:27 http://deb.debian.org/debian sid/main arm64 libnghttp2-14 arm64 1.63.0-1 [71.2 kB] Get:28 http://deb.debian.org/debian sid/main arm64 libnghttp3-9 arm64 1.4.0-1 [59.5 kB] Get:29 http://deb.debian.org/debian sid/main arm64 libngtcp2-16 arm64 1.6.0-1 [112 kB] Get:30 http://deb.debian.org/debian sid/main arm64 libngtcp2-crypto-gnutls8 arm64 1.6.0-1 [18.5 kB] Get:31 http://deb.debian.org/debian sid/main arm64 libpsl5t64 arm64 0.21.2-1.1 [56.8 kB] Get:32 http://deb.debian.org/debian sid/main arm64 librtmp1 arm64 2.4+20151223.gitfa8646d.1-2+b4 [56.7 kB] Get:33 http://deb.debian.org/debian sid/main arm64 libssh2-1t64 arm64 1.11.0-7 [208 kB] Get:34 http://deb.debian.org/debian sid/main arm64 libcurl3t64-gnutls arm64 8.10.1-1 [329 kB] Get:35 http://deb.debian.org/debian sid/main arm64 libstemmer0d arm64 2.2.0-4+b1 [112 kB] Get:36 http://deb.debian.org/debian sid/main arm64 libxmlb2 arm64 0.3.19-1 [58.6 kB] Get:37 http://deb.debian.org/debian sid/main arm64 libappstream5 arm64 1.0.3-1 [207 kB] Get:38 http://deb.debian.org/debian sid/main arm64 appstream arm64 1.0.3-1 [466 kB] Get:39 http://deb.debian.org/debian sid/main arm64 libbsd0 arm64 0.12.2-2 [129 kB] Get:40 http://deb.debian.org/debian sid/main arm64 libdata-dpath-perl all 0.60-1 [41.8 kB] Get:41 http://deb.debian.org/debian sid/main arm64 lintian all 2.119.0 [1056 kB] Get:42 http://deb.debian.org/debian sid/main arm64 libyaml-libyaml-perl arm64 0.902.0+ds-2 [33.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 9540 kB in 0s (48.5 MB/s) (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 ... 16560 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.40.2-9_arm64.deb ... Unpacking bsdutils (1:2.40.2-9) over (1:2.40.2-8) ... Setting up bsdutils (1:2.40.2-9) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../bsdextrautils_2.40.2-9_arm64.deb ... Unpacking bsdextrautils (2.40.2-9) over (2.40.2-8) ... Preparing to unpack .../libblkid1_2.40.2-9_arm64.deb ... Unpacking libblkid1:arm64 (2.40.2-9) over (2.40.2-8) ... Setting up libblkid1:arm64 (2.40.2-9) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../libmount1_2.40.2-9_arm64.deb ... Unpacking libmount1:arm64 (2.40.2-9) over (2.40.2-8) ... Setting up libmount1:arm64 (2.40.2-9) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.40.2-9_arm64.deb ... Unpacking libsmartcols1:arm64 (2.40.2-9) over (2.40.2-8) ... Setting up libsmartcols1:arm64 (2.40.2-9) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../mount_2.40.2-9_arm64.deb ... Unpacking mount (2.40.2-9) over (2.40.2-8) ... Preparing to unpack .../libuuid1_2.40.2-9_arm64.deb ... Unpacking libuuid1:arm64 (2.40.2-9) over (2.40.2-8) ... Setting up libuuid1:arm64 (2.40.2-9) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../util-linux_2.40.2-9_arm64.deb ... Unpacking util-linux (2.40.2-9) over (2.40.2-8) ... Setting up util-linux (2.40.2-9) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-9_arm64.deb ... Unpacking login (1:4.16.0-2+really2.40.2-9) over (1:4.16.0-2+really2.40.2-8) ... Preparing to unpack .../gcc-14-base_14.2.0-6_arm64.deb ... Unpacking gcc-14-base:arm64 (14.2.0-6) over (14.2.0-5) ... Setting up gcc-14-base:arm64 (14.2.0-6) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../libstdc++6_14.2.0-6_arm64.deb ... Unpacking libstdc++6:arm64 (14.2.0-6) over (14.2.0-5) ... Setting up libstdc++6:arm64 (14.2.0-6) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../libgomp1_14.2.0-6_arm64.deb ... Unpacking libgomp1:arm64 (14.2.0-6) over (14.2.0-5) ... Preparing to unpack .../libgcc-s1_14.2.0-6_arm64.deb ... Unpacking libgcc-s1:arm64 (14.2.0-6) over (14.2.0-5) ... Setting up libgcc-s1:arm64 (14.2.0-6) ... (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 ... 16560 files and directories currently installed.) Preparing to unpack .../00-tzdata_2024b-2_all.deb ... Unpacking tzdata (2024b-2) over (2024a-4) ... Selecting previously unselected package libatomic1:arm64. Preparing to unpack .../01-libatomic1_14.2.0-6_arm64.deb ... Unpacking libatomic1:arm64 (14.2.0-6) ... Selecting previously unselected package libglib2.0-0t64:arm64. Preparing to unpack .../02-libglib2.0-0t64_2.82.1-1_arm64.deb ... Unpacking libglib2.0-0t64:arm64 (2.82.1-1) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../03-shared-mime-info_2.4-5+b1_arm64.deb ... Unpacking shared-mime-info (2.4-5+b1) ... Selecting previously unselected package libbrotli1:arm64. Preparing to unpack .../04-libbrotli1_1.1.0-2+b4_arm64.deb ... Unpacking libbrotli1:arm64 (1.1.0-2+b4) ... Selecting previously unselected package libkrb5support0:arm64. Preparing to unpack .../05-libkrb5support0_1.21.3-3_arm64.deb ... Unpacking libkrb5support0:arm64 (1.21.3-3) ... Selecting previously unselected package libk5crypto3:arm64. Preparing to unpack .../06-libk5crypto3_1.21.3-3_arm64.deb ... Unpacking libk5crypto3:arm64 (1.21.3-3) ... Selecting previously unselected package libkeyutils1:arm64. Preparing to unpack .../07-libkeyutils1_1.6.3-3_arm64.deb ... Unpacking libkeyutils1:arm64 (1.6.3-3) ... Selecting previously unselected package libkrb5-3:arm64. Preparing to unpack .../08-libkrb5-3_1.21.3-3_arm64.deb ... Unpacking libkrb5-3:arm64 (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:arm64. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_arm64.deb ... Unpacking libgssapi-krb5-2:arm64 (1.21.3-3) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../10-libsasl2-modules-db_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../11-libsasl2-2_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:arm64. Preparing to unpack .../12-libldap-2.5-0_2.5.18+dfsg-3_arm64.deb ... Unpacking libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Selecting previously unselected package libnghttp2-14:arm64. Preparing to unpack .../13-libnghttp2-14_1.63.0-1_arm64.deb ... Unpacking libnghttp2-14:arm64 (1.63.0-1) ... Selecting previously unselected package libnghttp3-9:arm64. Preparing to unpack .../14-libnghttp3-9_1.4.0-1_arm64.deb ... Unpacking libnghttp3-9:arm64 (1.4.0-1) ... Selecting previously unselected package libngtcp2-16:arm64. Preparing to unpack .../15-libngtcp2-16_1.6.0-1_arm64.deb ... Unpacking libngtcp2-16:arm64 (1.6.0-1) ... Selecting previously unselected package libngtcp2-crypto-gnutls8:arm64. Preparing to unpack .../16-libngtcp2-crypto-gnutls8_1.6.0-1_arm64.deb ... Unpacking libngtcp2-crypto-gnutls8:arm64 (1.6.0-1) ... Selecting previously unselected package libpsl5t64:arm64. Preparing to unpack .../17-libpsl5t64_0.21.2-1.1_arm64.deb ... Unpacking libpsl5t64:arm64 (0.21.2-1.1) ... Selecting previously unselected package librtmp1:arm64. Preparing to unpack .../18-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_arm64.deb ... Unpacking librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2+b4) ... Selecting previously unselected package libssh2-1t64:arm64. Preparing to unpack .../19-libssh2-1t64_1.11.0-7_arm64.deb ... Unpacking libssh2-1t64:arm64 (1.11.0-7) ... Selecting previously unselected package libcurl3t64-gnutls:arm64. Preparing to unpack .../20-libcurl3t64-gnutls_8.10.1-1_arm64.deb ... Unpacking libcurl3t64-gnutls:arm64 (8.10.1-1) ... Selecting previously unselected package libstemmer0d:arm64. Preparing to unpack .../21-libstemmer0d_2.2.0-4+b1_arm64.deb ... Unpacking libstemmer0d:arm64 (2.2.0-4+b1) ... Selecting previously unselected package libxmlb2:arm64. Preparing to unpack .../22-libxmlb2_0.3.19-1_arm64.deb ... Unpacking libxmlb2:arm64 (0.3.19-1) ... Selecting previously unselected package libappstream5:arm64. Preparing to unpack .../23-libappstream5_1.0.3-1_arm64.deb ... Unpacking libappstream5:arm64 (1.0.3-1) ... Selecting previously unselected package appstream. Preparing to unpack .../24-appstream_1.0.3-1_arm64.deb ... Unpacking appstream (1.0.3-1) ... Preparing to unpack .../25-libbsd0_0.12.2-2_arm64.deb ... Unpacking libbsd0:arm64 (0.12.2-2) over (0.12.2-1) ... Preparing to unpack .../26-libdata-dpath-perl_0.60-1_all.deb ... Unpacking libdata-dpath-perl (0.60-1) over (0.59-1) ... Preparing to unpack .../27-lintian_2.119.0_all.deb ... Unpacking lintian (2.119.0) over (2.118.2) ... Preparing to unpack .../28-libyaml-libyaml-perl_0.902.0+ds-2_arm64.deb ... Unpacking libyaml-libyaml-perl (0.902.0+ds-2) over (0.902.0+ds-1) ... Setting up libkeyutils1:arm64 (1.6.3-3) ... Setting up bsdextrautils (2.40.2-9) ... Setting up libbrotli1:arm64 (1.1.0-2+b4) ... Setting up libyaml-libyaml-perl (0.902.0+ds-2) ... Setting up libpsl5t64:arm64 (0.21.2-1.1) ... Setting up libnghttp2-14:arm64 (1.63.0-1) ... Setting up libgomp1:arm64 (14.2.0-6) ... Setting up libkrb5support0:arm64 (1.21.3-3) ... Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Setting up tzdata (2024b-2) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Oct 6 16:05:22 UTC 2024. Universal Time is now: Sun Oct 6 16:05:22 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2+b4) ... Setting up libatomic1:arm64 (14.2.0-6) ... Setting up libk5crypto3:arm64 (1.21.3-3) ... Setting up libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Setting up libnghttp3-9:arm64 (1.4.0-1) ... Setting up mount (2.40.2-9) ... Setting up libngtcp2-16:arm64 (1.6.0-1) ... Setting up libkrb5-3:arm64 (1.21.3-3) ... Setting up libstemmer0d:arm64 (2.2.0-4+b1) ... Setting up libssh2-1t64:arm64 (1.11.0-7) ... Setting up libdata-dpath-perl (0.60-1) ... Setting up libbsd0:arm64 (0.12.2-2) ... Setting up libngtcp2-crypto-gnutls8:arm64 (1.6.0-1) ... Setting up login (1:4.16.0-2+really2.40.2-9) ... Setting up libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Setting up libglib2.0-0t64:arm64 (2.82.1-1) ... No schema files found: doing nothing. Setting up shared-mime-info (2.4-5+b1) ... Setting up libgssapi-krb5-2:arm64 (1.21.3-3) ... Setting up libxmlb2:arm64 (0.3.19-1) ... Setting up libcurl3t64-gnutls:arm64 (8.10.1-1) ... Setting up libappstream5:arm64 (1.0.3-1) ... Setting up appstream (1.0.3-1) ... ✔ Metadata cache was updated successfully. Setting up lintian (2.119.0) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for man-db (2.13.0-1) ... +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- /tmp/debusine-fetch-exec-upload-lx0ob96f/contourpy_1.3.0-2.dsc exists in /tmp/debusine-fetch-exec-upload-lx0ob96f; copying to chroot I: NOTICE: Log filtering will replace 'build/contourpy-QeWt5m/contourpy-1.3.0' with '<>' I: NOTICE: Log filtering will replace 'build/contourpy-QeWt5m' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 13), dh-sequence-python3, pybuild-plugin-pyproject, python3-all-dev, python3-matplotlib, python3-mesonpy, python3-numpy, python3-pkgconfig, python3-pybind11, python3-pytest, python3-setuptools, python3-wurlitzer, build-essential, fakeroot, dumb-init Filtered Build-Depends: debhelper-compat (= 13), dh-sequence-python3, pybuild-plugin-pyproject, python3-all-dev, python3-matplotlib, python3-mesonpy, python3-numpy, python3-pkgconfig, python3-pybind11, python3-pytest, python3-setuptools, python3-wurlitzer, build-essential, fakeroot, dumb-init dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [609 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [887 B] Get:5 copy:/<>/apt_archive ./ Packages [868 B] Fetched 2364 B in 0s (225 kB/s) Reading package lists... Get:1 file:/<>/resolver-HCmpa2/apt_archive ./ InRelease Ign:1 file:/<>/resolver-HCmpa2/apt_archive ./ InRelease Get:2 file:/<>/resolver-HCmpa2/apt_archive ./ Release [609 B] Get:2 file:/<>/resolver-HCmpa2/apt_archive ./ Release [609 B] Get:3 file:/<>/resolver-HCmpa2/apt_archive ./ Release.gpg Ign:3 file:/<>/resolver-HCmpa2/apt_archive ./ Release.gpg Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev blt build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper dh-autoreconf dh-python dh-strip-nondeterminism dumb-init dwz fakeroot fontconfig-config fonts-dejavu-core fonts-dejavu-mono fonts-lyx g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblas3 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libdebhelper-perl libdeflate0 libelf1t64 libexpat1 libexpat1-dev libfakeroot libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libfribidi0 libgcc-14-dev libgfortran5 libgraphite2-3 libharfbuzz0b libhwasan0 libimagequant0 libisl23 libitm1 libjbig0 libjpeg62-turbo libjs-jquery libjs-jquery-ui libjs-sphinxdoc libjs-underscore liblapack3 liblbfgsb0 liblcms2-2 liblerc4 liblsan0 libmpc3 libmpfr6 libncursesw6 libnsl2 libopenjp2-7 libpkgconf3 libpng16-16t64 libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.12-dev libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libpython3.13 libpython3.13-dev libpython3.13-minimal libpython3.13-stdlib libqhull-r8.0 libraqm0 libsharpyuv0 libstdc++-14-dev libtcl8.6 libtiff6 libtirpc-common libtirpc3t64 libtk8.6 libtool libtsan2 libubsan1 libwebp7 libwebpdemux2 libwebpmux3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxft2 libxrender1 libxslt1.1 libxss1 linux-libc-dev m4 media-types meson ninja-build pkg-config pkgconf pkgconf-bin po-debconf pybind11-dev pybuild-plugin-pyproject python-matplotlib-data python3 python3-all python3-all-dev python3-appdirs python3-attr python3-autocommand python3-brotli python3-build python3-contourpy python3-cycler python3-dateutil python3-decorator python3-dev python3-fonttools python3-fs python3-inflect python3-iniconfig python3-installer python3-jaraco.context python3-jaraco.functools python3-kiwisolver python3-lxml python3-lz4 python3-matplotlib python3-mesonpy python3-minimal python3-more-itertools python3-mpmath python3-numpy python3-packaging python3-pil python3-pil.imagetk python3-pkg-resources python3-pkgconfig python3-pluggy python3-pybind11 python3-pyparsing python3-pyproject-hooks python3-pyproject-metadata python3-pytest python3-scipy python3-setuptools python3-six python3-sympy python3-tk python3-toml python3-typeguard python3-typing-extensions python3-tz python3-ufolib2 python3-wheel python3-wurlitzer python3-zipp python3.12 python3.12-dev python3.12-minimal python3.12-tk python3.13 python3.13-dev python3.13-minimal python3.13-tk rpcsvc-proto tk8.6-blt2.5 unicode-data x11-common zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc blt-demo cpp-doc gcc-14-locales cpp-14-doc dh-make flit gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc gdb-aarch64-linux-gnu libc-devtools glibc-doc libjs-jquery-ui-docs liblcms2-utils libstdc++-14-doc tcl8.6 tk8.6 libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc libmail-box-perl pybind11-doc python3-doc python3-venv python-attr-doc python3-pip python-build-doc python-cycler-doc python-installer-doc python-lxml-doc cm-super-minimal dvipng ffmpeg fonts-staypuft ghostscript gir1.2-gtk-3.0 inkscape ipython3 librsvg2-common python-matplotlib-doc python3-cairocffi python3-gi python3-gi-cairo python3-gobject python3-pyqt5 python3-sip python3-tornado texlive-extra-utils texlive-latex-extra python-mpmath-doc python3-gmpy2 gfortran python-numpy-doc python-pil-doc python-pyparsing-doc python-scipy-doc python-setuptools-doc texlive-fonts-extra python-sympy-doc tix python3-tk-dbg python3.12-venv python3.12-doc binfmt-support python3.13-venv python3.13-doc Recommended packages: manpages manpages-dev libarchive-cpio-perl javascript-common libgpm2 libltdl-dev libmail-sendmail-perl libeigen3-dev python3-bs4 python3-cssselect python3-html5lib patchelf python3-olefile python3-pygments isympy-common The following NEW packages will be installed: autoconf automake autopoint autotools-dev blt build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper dh-autoreconf dh-python dh-strip-nondeterminism dumb-init dwz fakeroot fontconfig-config fonts-dejavu-core fonts-dejavu-mono fonts-lyx g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblas3 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libdebhelper-perl libdeflate0 libelf1t64 libexpat1 libexpat1-dev libfakeroot libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libfribidi0 libgcc-14-dev libgfortran5 libgraphite2-3 libharfbuzz0b libhwasan0 libimagequant0 libisl23 libitm1 libjbig0 libjpeg62-turbo libjs-jquery libjs-jquery-ui libjs-sphinxdoc libjs-underscore liblapack3 liblbfgsb0 liblcms2-2 liblerc4 liblsan0 libmpc3 libmpfr6 libncursesw6 libnsl2 libopenjp2-7 libpkgconf3 libpng16-16t64 libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.12-dev libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libpython3.13 libpython3.13-dev libpython3.13-minimal libpython3.13-stdlib libqhull-r8.0 libraqm0 libsharpyuv0 libstdc++-14-dev libtcl8.6 libtiff6 libtirpc-common libtirpc3t64 libtk8.6 libtool libtsan2 libubsan1 libwebp7 libwebpdemux2 libwebpmux3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxft2 libxrender1 libxslt1.1 libxss1 linux-libc-dev m4 media-types meson ninja-build pkg-config pkgconf pkgconf-bin po-debconf pybind11-dev pybuild-plugin-pyproject python-matplotlib-data python3 python3-all python3-all-dev python3-appdirs python3-attr python3-autocommand python3-brotli python3-build python3-contourpy python3-cycler python3-dateutil python3-decorator python3-dev python3-fonttools python3-fs python3-inflect python3-iniconfig python3-installer python3-jaraco.context python3-jaraco.functools python3-kiwisolver python3-lxml python3-lz4 python3-matplotlib python3-mesonpy python3-minimal python3-more-itertools python3-mpmath python3-numpy python3-packaging python3-pil python3-pil.imagetk python3-pkg-resources python3-pkgconfig python3-pluggy python3-pybind11 python3-pyparsing python3-pyproject-hooks python3-pyproject-metadata python3-pytest python3-scipy python3-setuptools python3-six python3-sympy python3-tk python3-toml python3-typeguard python3-typing-extensions python3-tz python3-ufolib2 python3-wheel python3-wurlitzer python3-zipp python3.12 python3.12-dev python3.12-minimal python3.12-tk python3.13 python3.13-dev python3.13-minimal python3.13-tk rpcsvc-proto sbuild-build-depends-main-dummy tk8.6-blt2.5 unicode-data x11-common zlib1g-dev 0 upgraded, 186 newly installed, 0 to remove and 0 not upgraded. Need to get 136 MB/148 MB of archives. After this operation, 630 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [988 B] Get:2 file:/<>/resolver-HCmpa2/apt_archive ./ python3-minimal 3.12.6-1+debusine1 [26.8 kB] Get:3 file:/<>/resolver-HCmpa2/apt_archive ./ libpython3-stdlib 3.12.6-1+debusine1 [9732 B] Get:4 file:/<>/resolver-HCmpa2/apt_archive ./ python3 3.12.6-1+debusine1 [27.8 kB] Get:5 file:/<>/resolver-HCmpa2/apt_archive ./ libpython3-dev 3.12.6-1+debusine1 [9992 B] Get:6 file:/<>/resolver-HCmpa2/apt_archive ./ libpython3-all-dev 3.12.6-1+debusine1 [1084 B] Get:7 http://deb.debian.org/debian sid/main arm64 libpython3.12-minimal arm64 3.12.7-1 [807 kB] Get:8 file:/<>/resolver-HCmpa2/apt_archive ./ python-matplotlib-data 3.8.3-3+bootstrap1 [2731 kB] Get:9 file:/<>/resolver-HCmpa2/apt_archive ./ python3-all 3.12.6-1+debusine1 [1056 B] Get:10 file:/<>/resolver-HCmpa2/apt_archive ./ python3-dev 3.12.6-1+debusine1 [26.1 kB] Get:11 file:/<>/resolver-HCmpa2/apt_archive ./ python3-all-dev 3.12.6-1+debusine1 [1084 B] Get:12 file:/<>/resolver-HCmpa2/apt_archive ./ python3-numpy 1:1.26.4+ds-11+bootstrap1 [3815 kB] Get:13 file:/<>/resolver-HCmpa2/apt_archive ./ python3-matplotlib 3.8.3-3+bootstrap1 [5583 kB] Get:14 http://deb.debian.org/debian sid/main arm64 libexpat1 arm64 2.6.3-1 [90.2 kB] Get:15 http://deb.debian.org/debian sid/main arm64 python3.12-minimal arm64 3.12.7-1 [1941 kB] Get:16 http://deb.debian.org/debian sid/main arm64 media-types all 10.1.0 [26.9 kB] Get:17 http://deb.debian.org/debian sid/main arm64 libncursesw6 arm64 6.5-2 [124 kB] Get:18 http://deb.debian.org/debian sid/main arm64 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get:19 http://deb.debian.org/debian sid/main arm64 libtirpc3t64 arm64 1.3.4+ds-1.3 [78.4 kB] Get:20 http://deb.debian.org/debian sid/main arm64 libnsl2 arm64 1.3.0-3+b2 [37.7 kB] Get:21 http://deb.debian.org/debian sid/main arm64 libpython3.12-stdlib arm64 3.12.7-1 [1901 kB] Get:22 http://deb.debian.org/debian sid/main arm64 python3.12 arm64 3.12.7-1 [671 kB] Get:23 http://deb.debian.org/debian sid/main arm64 libpython3.13-minimal arm64 3.13.0~rc3-1 [849 kB] Get:24 http://deb.debian.org/debian sid/main arm64 python3.13-minimal arm64 3.13.0~rc3-1 [1835 kB] Get:25 http://deb.debian.org/debian sid/main arm64 m4 arm64 1.4.19-4 [277 kB] Get:26 http://deb.debian.org/debian sid/main arm64 autoconf all 2.72-3 [493 kB] Get:27 http://deb.debian.org/debian sid/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get:28 http://deb.debian.org/debian sid/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get:29 http://deb.debian.org/debian sid/main arm64 autopoint all 0.22.5-2 [723 kB] Get:30 http://deb.debian.org/debian sid/main arm64 libtcl8.6 arm64 8.6.15+dfsg-2 [982 kB] Get:31 http://deb.debian.org/debian sid/main arm64 libpng16-16t64 arm64 1.6.44-2 [273 kB] Get:32 http://deb.debian.org/debian sid/main arm64 libfreetype6 arm64 2.13.3+dfsg-1 [422 kB] Get:33 http://deb.debian.org/debian sid/main arm64 fonts-dejavu-mono all 2.37-8 [489 kB] Get:34 http://deb.debian.org/debian sid/main arm64 fonts-dejavu-core all 2.37-8 [840 kB] Get:35 http://deb.debian.org/debian sid/main arm64 fontconfig-config arm64 2.15.0-1.1 [317 kB] Get:36 http://deb.debian.org/debian sid/main arm64 libfontconfig1 arm64 2.15.0-1.1 [385 kB] Get:37 http://deb.debian.org/debian sid/main arm64 libxau6 arm64 1:1.0.9-1+b1 [18.1 kB] Get:38 http://deb.debian.org/debian sid/main arm64 libxdmcp6 arm64 1:1.1.2-3+b1 [24.3 kB] Get:39 http://deb.debian.org/debian sid/main arm64 libxcb1 arm64 1.17.0-2 [143 kB] Get:40 http://deb.debian.org/debian sid/main arm64 libx11-data all 2:1.8.7-1 [328 kB] Get:41 http://deb.debian.org/debian sid/main arm64 libx11-6 arm64 2:1.8.7-1+b1 [775 kB] Get:42 http://deb.debian.org/debian sid/main arm64 libxrender1 arm64 1:0.9.10-1.1+b1 [27.0 kB] Get:43 http://deb.debian.org/debian sid/main arm64 libxft2 arm64 2.3.6-1+b1 [51.0 kB] Get:44 http://deb.debian.org/debian sid/main arm64 libxext6 arm64 2:1.3.4-1+b1 [51.7 kB] Get:45 http://deb.debian.org/debian sid/main arm64 x11-common all 1:7.7+23.1 [216 kB] Get:46 http://deb.debian.org/debian sid/main arm64 libxss1 arm64 1:1.2.3-1+b1 [17.0 kB] Get:47 http://deb.debian.org/debian sid/main arm64 libtk8.6 arm64 8.6.15-1 [738 kB] Get:48 http://deb.debian.org/debian sid/main arm64 tk8.6-blt2.5 arm64 2.5.3+dfsg-7 [533 kB] Get:49 http://deb.debian.org/debian sid/main arm64 blt arm64 2.5.3+dfsg-7 [6024 B] Get:50 http://deb.debian.org/debian sid/main arm64 libc-dev-bin arm64 2.40-3 [50.9 kB] Get:51 http://deb.debian.org/debian sid/main arm64 linux-libc-dev all 6.10.12-1 [2400 kB] Get:52 http://deb.debian.org/debian sid/main arm64 libcrypt-dev arm64 1:4.4.36-5 [122 kB] Get:53 http://deb.debian.org/debian sid/main arm64 rpcsvc-proto arm64 1.4.3-1 [59.7 kB] Get:54 http://deb.debian.org/debian sid/main arm64 libc6-dev arm64 2.40-3 [1591 kB] Get:55 http://deb.debian.org/debian sid/main arm64 libisl23 arm64 0.27-1 [601 kB] Get:56 http://deb.debian.org/debian sid/main arm64 libmpfr6 arm64 4.2.1-1+b1 [674 kB] Get:57 http://deb.debian.org/debian sid/main arm64 libmpc3 arm64 1.3.1-1+b2 [50.2 kB] Get:58 http://deb.debian.org/debian sid/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-6 [9165 kB] Get:59 http://deb.debian.org/debian sid/main arm64 cpp-14 arm64 14.2.0-6 [1280 B] Get:60 http://deb.debian.org/debian sid/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2 [4792 B] Get:61 http://deb.debian.org/debian sid/main arm64 cpp arm64 4:14.1.0-2 [1572 B] Get:62 http://deb.debian.org/debian sid/main arm64 libcc1-0 arm64 14.2.0-6 [42.3 kB] Get:63 http://deb.debian.org/debian sid/main arm64 libitm1 arm64 14.2.0-6 [24.1 kB] Get:64 http://deb.debian.org/debian sid/main arm64 libasan8 arm64 14.2.0-6 [2578 kB] Get:65 http://deb.debian.org/debian sid/main arm64 liblsan0 arm64 14.2.0-6 [1162 kB] Get:66 http://deb.debian.org/debian sid/main arm64 libtsan2 arm64 14.2.0-6 [2386 kB] Get:67 http://deb.debian.org/debian sid/main arm64 libubsan1 arm64 14.2.0-6 [1039 kB] Get:68 http://deb.debian.org/debian sid/main arm64 libhwasan0 arm64 14.2.0-6 [1442 kB] Get:69 http://deb.debian.org/debian sid/main arm64 libgcc-14-dev arm64 14.2.0-6 [2364 kB] Get:70 http://deb.debian.org/debian sid/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-6 [17.7 MB] Get:71 http://deb.debian.org/debian sid/main arm64 gcc-14 arm64 14.2.0-6 [515 kB] Get:72 http://deb.debian.org/debian sid/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2 [1440 B] Get:73 http://deb.debian.org/debian sid/main arm64 gcc arm64 4:14.1.0-2 [5136 B] Get:74 http://deb.debian.org/debian sid/main arm64 libstdc++-14-dev arm64 14.2.0-6 [2265 kB] Get:75 http://deb.debian.org/debian sid/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-6 [10.1 MB] Get:76 http://deb.debian.org/debian sid/main arm64 g++-14 arm64 14.2.0-6 [19.9 kB] Get:77 http://deb.debian.org/debian sid/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2 [1200 B] Get:78 http://deb.debian.org/debian sid/main arm64 g++ arm64 4:14.1.0-2 [1328 B] Get:79 http://deb.debian.org/debian sid/main arm64 build-essential arm64 12.10 [4516 B] Get:80 http://deb.debian.org/debian sid/main arm64 libdebhelper-perl all 13.20 [89.7 kB] Get:81 http://deb.debian.org/debian sid/main arm64 libtool all 2.4.7-7 [517 kB] Get:82 http://deb.debian.org/debian sid/main arm64 dh-autoreconf all 20 [17.1 kB] Get:83 http://deb.debian.org/debian sid/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get:84 http://deb.debian.org/debian sid/main arm64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get:85 http://deb.debian.org/debian sid/main arm64 libelf1t64 arm64 0.191-2 [188 kB] Get:86 http://deb.debian.org/debian sid/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get:87 http://deb.debian.org/debian sid/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get:88 http://deb.debian.org/debian sid/main arm64 debhelper all 13.20 [915 kB] Get:89 http://deb.debian.org/debian sid/main arm64 python3-autocommand all 2.2.2-3 [13.6 kB] Get:90 http://deb.debian.org/debian sid/main arm64 python3-more-itertools all 10.5.0-1 [63.8 kB] Get:91 http://deb.debian.org/debian sid/main arm64 python3-typing-extensions all 4.12.2-2 [73.0 kB] Get:92 http://deb.debian.org/debian sid/main arm64 python3-typeguard all 4.3.0-1 [36.5 kB] Get:93 http://deb.debian.org/debian sid/main arm64 python3-inflect all 7.3.1-2 [32.4 kB] Get:94 http://deb.debian.org/debian sid/main arm64 python3-jaraco.context all 6.0.0-1 [7984 B] Get:95 http://deb.debian.org/debian sid/main arm64 python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get:96 http://deb.debian.org/debian sid/main arm64 python3-pkg-resources all 74.1.2-2 [213 kB] Get:97 http://deb.debian.org/debian sid/main arm64 python3-zipp all 3.20.2-1 [10.3 kB] Get:98 http://deb.debian.org/debian sid/main arm64 python3-setuptools all 74.1.2-2 [736 kB] Get:99 http://deb.debian.org/debian sid/main arm64 dh-python all 6.20240824 [109 kB] Get:100 http://deb.debian.org/debian sid/main arm64 dumb-init arm64 1.2.5-3 [13.4 kB] Get:101 http://deb.debian.org/debian sid/main arm64 libfakeroot arm64 1.36-1 [29.1 kB] Get:102 http://deb.debian.org/debian sid/main arm64 fakeroot arm64 1.36-1 [74.4 kB] Get:103 http://deb.debian.org/debian sid/main arm64 fonts-lyx all 2.4.2.1-1 [190 kB] Get:104 http://deb.debian.org/debian sid/main arm64 libblas3 arm64 3.12.0-3 [91.7 kB] Get:105 http://deb.debian.org/debian sid/main arm64 libdeflate0 arm64 1.21-1 [42.2 kB] Get:106 http://deb.debian.org/debian sid/main arm64 libexpat1-dev arm64 2.6.3-1 [142 kB] Get:107 http://deb.debian.org/debian sid/main arm64 libfribidi0 arm64 1.0.15-1 [71.8 kB] Get:108 http://deb.debian.org/debian sid/main arm64 libgfortran5 arm64 14.2.0-6 [361 kB] Get:109 http://deb.debian.org/debian sid/main arm64 libgraphite2-3 arm64 1.3.14-2 [69.2 kB] Get:110 http://deb.debian.org/debian sid/main arm64 libharfbuzz0b arm64 9.0.0-1 [441 kB] Get:111 http://deb.debian.org/debian sid/main arm64 libimagequant0 arm64 2.18.0-1+b1 [34.6 kB] Get:112 http://deb.debian.org/debian sid/main arm64 libjbig0 arm64 2.1-6.1+b1 [30.4 kB] Get:113 http://deb.debian.org/debian sid/main arm64 libjpeg62-turbo arm64 1:2.1.5-3 [172 kB] Get:114 http://deb.debian.org/debian sid/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get:115 http://deb.debian.org/debian sid/main arm64 libjs-jquery-ui all 1.13.2+dfsg-1 [250 kB] Get:116 http://deb.debian.org/debian sid/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get:117 http://deb.debian.org/debian sid/main arm64 libjs-sphinxdoc all 7.4.7-3 [158 kB] Get:118 http://deb.debian.org/debian sid/main arm64 liblapack3 arm64 3.12.0-3 [1757 kB] Get:119 http://deb.debian.org/debian sid/main arm64 liblbfgsb0 arm64 3.0+dfsg.4-1+b1 [25.0 kB] Get:120 http://deb.debian.org/debian sid/main arm64 liblcms2-2 arm64 2.14-2+b1 [144 kB] Get:121 http://deb.debian.org/debian sid/main arm64 liblerc4 arm64 4.0.0+ds-4+b1 [142 kB] Get:122 http://deb.debian.org/debian sid/main arm64 libopenjp2-7 arm64 2.5.0-2+b3 [177 kB] Get:123 http://deb.debian.org/debian sid/main arm64 libpkgconf3 arm64 1.8.1-3 [35.3 kB] Get:124 http://deb.debian.org/debian sid/main arm64 libpython3.12t64 arm64 3.12.7-1 [1982 kB] Get:125 http://deb.debian.org/debian sid/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1 [916 kB] Get:126 http://deb.debian.org/debian sid/main arm64 libpython3.12-dev arm64 3.12.7-1 [4793 kB] Get:127 http://deb.debian.org/debian sid/main arm64 libpython3.13-stdlib arm64 3.13.0~rc3-1 [1920 kB] Get:128 http://deb.debian.org/debian sid/main arm64 libpython3.13 arm64 3.13.0~rc3-1 [1959 kB] Get:129 http://deb.debian.org/debian sid/main arm64 libpython3.13-dev arm64 3.13.0~rc3-1 [4668 kB] Get:130 http://deb.debian.org/debian sid/main arm64 libqhull-r8.0 arm64 2020.2-6+b1 [226 kB] Get:131 http://deb.debian.org/debian sid/main arm64 libraqm0 arm64 0.10.1-1+b1 [13.7 kB] Get:132 http://deb.debian.org/debian sid/main arm64 libsharpyuv0 arm64 1.4.0-0.1 [111 kB] Get:133 http://deb.debian.org/debian sid/main arm64 libwebp7 arm64 1.4.0-0.1 [267 kB] Get:134 http://deb.debian.org/debian sid/main arm64 libtiff6 arm64 4.5.1+git230720-5 [309 kB] Get:135 http://deb.debian.org/debian sid/main arm64 libwebpdemux2 arm64 1.4.0-0.1 [110 kB] Get:136 http://deb.debian.org/debian sid/main arm64 libwebpmux3 arm64 1.4.0-0.1 [122 kB] Get:137 http://deb.debian.org/debian sid/main arm64 libxslt1.1 arm64 1.1.35-1.1 [221 kB] Get:138 http://deb.debian.org/debian sid/main arm64 ninja-build arm64 1.12.1-1 [128 kB] Get:139 http://deb.debian.org/debian sid/main arm64 meson all 1.5.2-2 [621 kB] Get:140 http://deb.debian.org/debian sid/main arm64 pkgconf-bin arm64 1.8.1-3 [29.4 kB] Get:141 http://deb.debian.org/debian sid/main arm64 pkgconf arm64 1.8.1-3 [26.0 kB] Get:142 http://deb.debian.org/debian sid/main arm64 pkg-config arm64 1.8.1-3 [13.9 kB] Get:143 http://deb.debian.org/debian sid/main arm64 pybind11-dev all 2.13.6-1 [204 kB] Get:144 http://deb.debian.org/debian sid/main arm64 python3-packaging all 24.1-1 [45.8 kB] Get:145 http://deb.debian.org/debian sid/main arm64 python3-pyproject-hooks all 1.1.0-2 [11.3 kB] Get:146 http://deb.debian.org/debian sid/main arm64 python3-toml all 0.10.2-1 [16.2 kB] Get:147 http://deb.debian.org/debian sid/main arm64 python3-wheel all 0.44.0-2 [53.4 kB] Get:148 http://deb.debian.org/debian sid/main arm64 python3-build all 1.2.2-1 [36.0 kB] Get:149 http://deb.debian.org/debian sid/main arm64 python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get:150 http://deb.debian.org/debian sid/main arm64 pybuild-plugin-pyproject all 6.20240824 [11.2 kB] Get:151 http://deb.debian.org/debian sid/main arm64 python3.13 arm64 3.13.0~rc3-1 [730 kB] Get:152 http://deb.debian.org/debian sid/main arm64 python3.12-dev arm64 3.12.7-1 [505 kB] Get:153 http://deb.debian.org/debian sid/main arm64 python3.13-dev arm64 3.13.0~rc3-1 [504 kB] Get:154 http://deb.debian.org/debian sid/main arm64 python3-appdirs all 1.4.4-4 [12.5 kB] Get:155 http://deb.debian.org/debian sid/main arm64 python3-attr all 24.2.0-1 [68.4 kB] Get:156 http://deb.debian.org/debian sid/main arm64 python3-brotli arm64 1.1.0-2+b4 [301 kB] Get:157 http://deb.debian.org/debian sid/main arm64 python3-contourpy arm64 1.3.0-2 [191 kB] Get:158 http://deb.debian.org/debian sid/main arm64 python3-cycler all 0.12.1-1 [9496 B] Get:159 http://deb.debian.org/debian sid/main arm64 python3-dateutil all 2.9.0-3 [79.3 kB] Get:160 http://deb.debian.org/debian sid/main arm64 python3-decorator all 5.1.1-5 [15.1 kB] Get:161 http://deb.debian.org/debian sid/main arm64 python3-scipy arm64 1.13.1-5 [15.4 MB] Get:162 http://deb.debian.org/debian sid/main arm64 python3-ufolib2 all 0.16.0+dfsg1-1 [32.9 kB] Get:163 http://deb.debian.org/debian sid/main arm64 python3-mpmath all 1.3.0-1 [419 kB] Get:164 http://deb.debian.org/debian sid/main arm64 python3-sympy all 1.13.3-1 [4147 kB] Get:165 http://deb.debian.org/debian sid/main arm64 python3-tz all 2024.1-2 [30.9 kB] Get:166 http://deb.debian.org/debian sid/main arm64 python3-six all 1.16.0-7 [16.4 kB] Get:167 http://deb.debian.org/debian sid/main arm64 python3-fs all 2.4.16-4 [95.4 kB] Get:168 http://deb.debian.org/debian sid/main arm64 python3-lxml arm64 5.3.0-1 [1096 kB] Get:169 http://deb.debian.org/debian sid/main arm64 python3-lz4 arm64 4.0.2+dfsg-1+b4 [25.1 kB] Get:170 http://deb.debian.org/debian sid/main arm64 unicode-data all 15.1.0-1 [8547 kB] Get:171 http://deb.debian.org/debian sid/main arm64 python3-fonttools arm64 4.46.0-1+b1 [1319 kB] Get:172 http://deb.debian.org/debian sid/main arm64 python3-iniconfig all 1.1.1-2 [6396 B] Get:173 http://deb.debian.org/debian sid/main arm64 python3-kiwisolver arm64 1.4.7-1 [55.4 kB] Get:174 http://deb.debian.org/debian sid/main arm64 python3-pil arm64 10.4.0-1 [480 kB] Get:175 http://deb.debian.org/debian sid/main arm64 python3.12-tk arm64 3.12.7-1 [110 kB] Get:176 http://deb.debian.org/debian sid/main arm64 python3.13-tk arm64 3.13.0~rc3-1 [101 kB] Get:177 http://deb.debian.org/debian sid/main arm64 python3-tk arm64 3.12.6-1 [9428 B] Get:178 http://deb.debian.org/debian sid/main arm64 python3-pil.imagetk arm64 10.4.0-1 [79.4 kB] Get:179 http://deb.debian.org/debian sid/main arm64 python3-pyparsing all 3.1.2-1 [146 kB] Get:180 http://deb.debian.org/debian sid/main arm64 python3-pyproject-metadata all 0.8.0-1 [9648 B] Get:181 http://deb.debian.org/debian sid/main arm64 python3-mesonpy all 0.16.0-2 [120 kB] Get:182 http://deb.debian.org/debian sid/main arm64 python3-pkgconfig all 1.5.5-2 [7856 B] Get:183 http://deb.debian.org/debian sid/main arm64 python3-pluggy all 1.5.0-1 [26.9 kB] Get:184 http://deb.debian.org/debian sid/main arm64 python3-pybind11 all 2.13.6-1 [215 kB] Get:185 http://deb.debian.org/debian sid/main arm64 python3-pytest all 8.3.3-1 [249 kB] Get:186 http://deb.debian.org/debian sid/main arm64 python3-wurlitzer all 3.0.3-1 [12.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 136 MB in 5s (29.9 MB/s) Selecting previously unselected package libpython3.12-minimal:arm64. (Reading database ... 16921 files and directories currently installed.) Preparing to unpack .../libpython3.12-minimal_3.12.7-1_arm64.deb ... Unpacking libpython3.12-minimal:arm64 (3.12.7-1) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../libexpat1_2.6.3-1_arm64.deb ... Unpacking libexpat1:arm64 (2.6.3-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.7-1_arm64.deb ... Unpacking python3.12-minimal (3.12.7-1) ... Setting up libpython3.12-minimal:arm64 (3.12.7-1) ... Setting up libexpat1:arm64 (2.6.3-1) ... Setting up python3.12-minimal (3.12.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 17241 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.12.6-1+debusine1_arm64.deb ... Unpacking python3-minimal (3.12.6-1+debusine1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package libncursesw6:arm64. Preparing to unpack .../2-libncursesw6_6.5-2_arm64.deb ... Unpacking libncursesw6:arm64 (6.5-2) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../3-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:arm64. Preparing to unpack .../4-libtirpc3t64_1.3.4+ds-1.3_arm64.deb ... Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3 to /lib/aarch64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3.0.0 to /lib/aarch64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:arm64 (1.3.4+ds-1.3) ... Selecting previously unselected package libnsl2:arm64. Preparing to unpack .../5-libnsl2_1.3.0-3+b2_arm64.deb ... Unpacking libnsl2:arm64 (1.3.0-3+b2) ... Selecting previously unselected package libpython3.12-stdlib:arm64. Preparing to unpack .../6-libpython3.12-stdlib_3.12.7-1_arm64.deb ... Unpacking libpython3.12-stdlib:arm64 (3.12.7-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../7-python3.12_3.12.7-1_arm64.deb ... Unpacking python3.12 (3.12.7-1) ... Selecting previously unselected package libpython3-stdlib:arm64. Preparing to unpack .../8-libpython3-stdlib_3.12.6-1+debusine1_arm64.deb ... Unpacking libpython3-stdlib:arm64 (3.12.6-1+debusine1) ... Setting up python3-minimal (3.12.6-1+debusine1) ... Selecting previously unselected package python3. (Reading database ... 17713 files and directories currently installed.) Preparing to unpack .../000-python3_3.12.6-1+debusine1_arm64.deb ... Unpacking python3 (3.12.6-1+debusine1) ... Selecting previously unselected package libpython3.13-minimal:arm64. Preparing to unpack .../001-libpython3.13-minimal_3.13.0~rc3-1_arm64.deb ... Unpacking libpython3.13-minimal:arm64 (3.13.0~rc3-1) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../002-python3.13-minimal_3.13.0~rc3-1_arm64.deb ... Unpacking python3.13-minimal (3.13.0~rc3-1) ... Selecting previously unselected package m4. Preparing to unpack .../003-m4_1.4.19-4_arm64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../004-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../005-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../006-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../007-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libtcl8.6:arm64. Preparing to unpack .../008-libtcl8.6_8.6.15+dfsg-2_arm64.deb ... Unpacking libtcl8.6:arm64 (8.6.15+dfsg-2) ... Selecting previously unselected package libpng16-16t64:arm64. Preparing to unpack .../009-libpng16-16t64_1.6.44-2_arm64.deb ... Unpacking libpng16-16t64:arm64 (1.6.44-2) ... Selecting previously unselected package libfreetype6:arm64. Preparing to unpack .../010-libfreetype6_2.13.3+dfsg-1_arm64.deb ... Unpacking libfreetype6:arm64 (2.13.3+dfsg-1) ... Selecting previously unselected package fonts-dejavu-mono. Preparing to unpack .../011-fonts-dejavu-mono_2.37-8_all.deb ... Unpacking fonts-dejavu-mono (2.37-8) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../012-fonts-dejavu-core_2.37-8_all.deb ... Unpacking fonts-dejavu-core (2.37-8) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../013-fontconfig-config_2.15.0-1.1_arm64.deb ... Unpacking fontconfig-config (2.15.0-1.1) ... Selecting previously unselected package libfontconfig1:arm64. Preparing to unpack .../014-libfontconfig1_2.15.0-1.1_arm64.deb ... Unpacking libfontconfig1:arm64 (2.15.0-1.1) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../015-libxau6_1%3a1.0.9-1+b1_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.9-1+b1) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../016-libxdmcp6_1%3a1.1.2-3+b1_arm64.deb ... Unpacking libxdmcp6:arm64 (1:1.1.2-3+b1) ... Selecting previously unselected package libxcb1:arm64. Preparing to unpack .../017-libxcb1_1.17.0-2_arm64.deb ... Unpacking libxcb1:arm64 (1.17.0-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../018-libx11-data_2%3a1.8.7-1_all.deb ... Unpacking libx11-data (2:1.8.7-1) ... Selecting previously unselected package libx11-6:arm64. Preparing to unpack .../019-libx11-6_2%3a1.8.7-1+b1_arm64.deb ... Unpacking libx11-6:arm64 (2:1.8.7-1+b1) ... Selecting previously unselected package libxrender1:arm64. Preparing to unpack .../020-libxrender1_1%3a0.9.10-1.1+b1_arm64.deb ... Unpacking libxrender1:arm64 (1:0.9.10-1.1+b1) ... Selecting previously unselected package libxft2:arm64. Preparing to unpack .../021-libxft2_2.3.6-1+b1_arm64.deb ... Unpacking libxft2:arm64 (2.3.6-1+b1) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../022-libxext6_2%3a1.3.4-1+b1_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.4-1+b1) ... Selecting previously unselected package x11-common. Preparing to unpack .../023-x11-common_1%3a7.7+23.1_all.deb ... Unpacking x11-common (1:7.7+23.1) ... Selecting previously unselected package libxss1:arm64. Preparing to unpack .../024-libxss1_1%3a1.2.3-1+b1_arm64.deb ... Unpacking libxss1:arm64 (1:1.2.3-1+b1) ... Selecting previously unselected package libtk8.6:arm64. Preparing to unpack .../025-libtk8.6_8.6.15-1_arm64.deb ... Unpacking libtk8.6:arm64 (8.6.15-1) ... Selecting previously unselected package tk8.6-blt2.5. Preparing to unpack .../026-tk8.6-blt2.5_2.5.3+dfsg-7_arm64.deb ... Unpacking tk8.6-blt2.5 (2.5.3+dfsg-7) ... Selecting previously unselected package blt. Preparing to unpack .../027-blt_2.5.3+dfsg-7_arm64.deb ... Unpacking blt (2.5.3+dfsg-7) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../028-libc-dev-bin_2.40-3_arm64.deb ... Unpacking libc-dev-bin (2.40-3) ... Selecting previously unselected package linux-libc-dev. Preparing to unpack .../029-linux-libc-dev_6.10.12-1_all.deb ... Unpacking linux-libc-dev (6.10.12-1) ... Selecting previously unselected package libcrypt-dev:arm64. Preparing to unpack .../030-libcrypt-dev_1%3a4.4.36-5_arm64.deb ... Unpacking libcrypt-dev:arm64 (1:4.4.36-5) ... Selecting previously unselected package rpcsvc-proto. Preparing to unpack .../031-rpcsvc-proto_1.4.3-1_arm64.deb ... Unpacking rpcsvc-proto (1.4.3-1) ... Selecting previously unselected package libc6-dev:arm64. Preparing to unpack .../032-libc6-dev_2.40-3_arm64.deb ... Unpacking libc6-dev:arm64 (2.40-3) ... Selecting previously unselected package libisl23:arm64. Preparing to unpack .../033-libisl23_0.27-1_arm64.deb ... Unpacking libisl23:arm64 (0.27-1) ... Selecting previously unselected package libmpfr6:arm64. Preparing to unpack .../034-libmpfr6_4.2.1-1+b1_arm64.deb ... Unpacking libmpfr6:arm64 (4.2.1-1+b1) ... Selecting previously unselected package libmpc3:arm64. Preparing to unpack .../035-libmpc3_1.3.1-1+b2_arm64.deb ... Unpacking libmpc3:arm64 (1.3.1-1+b2) ... Selecting previously unselected package cpp-14-aarch64-linux-gnu. Preparing to unpack .../036-cpp-14-aarch64-linux-gnu_14.2.0-6_arm64.deb ... Unpacking cpp-14-aarch64-linux-gnu (14.2.0-6) ... Selecting previously unselected package cpp-14. Preparing to unpack .../037-cpp-14_14.2.0-6_arm64.deb ... Unpacking cpp-14 (14.2.0-6) ... Selecting previously unselected package cpp-aarch64-linux-gnu. Preparing to unpack .../038-cpp-aarch64-linux-gnu_4%3a14.1.0-2_arm64.deb ... Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2) ... Selecting previously unselected package cpp. Preparing to unpack .../039-cpp_4%3a14.1.0-2_arm64.deb ... Unpacking cpp (4:14.1.0-2) ... Selecting previously unselected package libcc1-0:arm64. Preparing to unpack .../040-libcc1-0_14.2.0-6_arm64.deb ... Unpacking libcc1-0:arm64 (14.2.0-6) ... Selecting previously unselected package libitm1:arm64. Preparing to unpack .../041-libitm1_14.2.0-6_arm64.deb ... Unpacking libitm1:arm64 (14.2.0-6) ... Selecting previously unselected package libasan8:arm64. Preparing to unpack .../042-libasan8_14.2.0-6_arm64.deb ... Unpacking libasan8:arm64 (14.2.0-6) ... Selecting previously unselected package liblsan0:arm64. Preparing to unpack .../043-liblsan0_14.2.0-6_arm64.deb ... Unpacking liblsan0:arm64 (14.2.0-6) ... Selecting previously unselected package libtsan2:arm64. Preparing to unpack .../044-libtsan2_14.2.0-6_arm64.deb ... Unpacking libtsan2:arm64 (14.2.0-6) ... Selecting previously unselected package libubsan1:arm64. Preparing to unpack .../045-libubsan1_14.2.0-6_arm64.deb ... Unpacking libubsan1:arm64 (14.2.0-6) ... Selecting previously unselected package libhwasan0:arm64. Preparing to unpack .../046-libhwasan0_14.2.0-6_arm64.deb ... Unpacking libhwasan0:arm64 (14.2.0-6) ... Selecting previously unselected package libgcc-14-dev:arm64. Preparing to unpack .../047-libgcc-14-dev_14.2.0-6_arm64.deb ... Unpacking libgcc-14-dev:arm64 (14.2.0-6) ... Selecting previously unselected package gcc-14-aarch64-linux-gnu. Preparing to unpack .../048-gcc-14-aarch64-linux-gnu_14.2.0-6_arm64.deb ... Unpacking gcc-14-aarch64-linux-gnu (14.2.0-6) ... Selecting previously unselected package gcc-14. Preparing to unpack .../049-gcc-14_14.2.0-6_arm64.deb ... Unpacking gcc-14 (14.2.0-6) ... Selecting previously unselected package gcc-aarch64-linux-gnu. Preparing to unpack .../050-gcc-aarch64-linux-gnu_4%3a14.1.0-2_arm64.deb ... Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2) ... Selecting previously unselected package gcc. Preparing to unpack .../051-gcc_4%3a14.1.0-2_arm64.deb ... Unpacking gcc (4:14.1.0-2) ... Selecting previously unselected package libstdc++-14-dev:arm64. Preparing to unpack .../052-libstdc++-14-dev_14.2.0-6_arm64.deb ... Unpacking libstdc++-14-dev:arm64 (14.2.0-6) ... Selecting previously unselected package g++-14-aarch64-linux-gnu. Preparing to unpack .../053-g++-14-aarch64-linux-gnu_14.2.0-6_arm64.deb ... Unpacking g++-14-aarch64-linux-gnu (14.2.0-6) ... Selecting previously unselected package g++-14. Preparing to unpack .../054-g++-14_14.2.0-6_arm64.deb ... Unpacking g++-14 (14.2.0-6) ... Selecting previously unselected package g++-aarch64-linux-gnu. Preparing to unpack .../055-g++-aarch64-linux-gnu_4%3a14.1.0-2_arm64.deb ... Unpacking g++-aarch64-linux-gnu (4:14.1.0-2) ... Selecting previously unselected package g++. Preparing to unpack .../056-g++_4%3a14.1.0-2_arm64.deb ... Unpacking g++ (4:14.1.0-2) ... Selecting previously unselected package build-essential. Preparing to unpack .../057-build-essential_12.10_arm64.deb ... Unpacking build-essential (12.10) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../058-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../059-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../060-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../061-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../062-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../063-libelf1t64_0.191-2_arm64.deb ... Unpacking libelf1t64:arm64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../064-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../065-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../066-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../067-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../068-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../069-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../070-python3-typeguard_4.3.0-1_all.deb ... Unpacking python3-typeguard (4.3.0-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../071-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../072-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../073-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../074-python3-pkg-resources_74.1.2-2_all.deb ... Unpacking python3-pkg-resources (74.1.2-2) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../075-python3-zipp_3.20.2-1_all.deb ... Unpacking python3-zipp (3.20.2-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../076-python3-setuptools_74.1.2-2_all.deb ... Unpacking python3-setuptools (74.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../077-dh-python_6.20240824_all.deb ... Unpacking dh-python (6.20240824) ... Selecting previously unselected package dumb-init. Preparing to unpack .../078-dumb-init_1.2.5-3_arm64.deb ... Unpacking dumb-init (1.2.5-3) ... Selecting previously unselected package libfakeroot:arm64. Preparing to unpack .../079-libfakeroot_1.36-1_arm64.deb ... Unpacking libfakeroot:arm64 (1.36-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../080-fakeroot_1.36-1_arm64.deb ... Unpacking fakeroot (1.36-1) ... Selecting previously unselected package fonts-lyx. Preparing to unpack .../081-fonts-lyx_2.4.2.1-1_all.deb ... Unpacking fonts-lyx (2.4.2.1-1) ... Selecting previously unselected package libblas3:arm64. Preparing to unpack .../082-libblas3_3.12.0-3_arm64.deb ... Unpacking libblas3:arm64 (3.12.0-3) ... Selecting previously unselected package libdeflate0:arm64. Preparing to unpack .../083-libdeflate0_1.21-1_arm64.deb ... Unpacking libdeflate0:arm64 (1.21-1) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../084-libexpat1-dev_2.6.3-1_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.6.3-1) ... Selecting previously unselected package libfribidi0:arm64. Preparing to unpack .../085-libfribidi0_1.0.15-1_arm64.deb ... Unpacking libfribidi0:arm64 (1.0.15-1) ... Selecting previously unselected package libgfortran5:arm64. Preparing to unpack .../086-libgfortran5_14.2.0-6_arm64.deb ... Unpacking libgfortran5:arm64 (14.2.0-6) ... Selecting previously unselected package libgraphite2-3:arm64. Preparing to unpack .../087-libgraphite2-3_1.3.14-2_arm64.deb ... Unpacking libgraphite2-3:arm64 (1.3.14-2) ... Selecting previously unselected package libharfbuzz0b:arm64. Preparing to unpack .../088-libharfbuzz0b_9.0.0-1_arm64.deb ... Unpacking libharfbuzz0b:arm64 (9.0.0-1) ... Selecting previously unselected package libimagequant0:arm64. Preparing to unpack .../089-libimagequant0_2.18.0-1+b1_arm64.deb ... Unpacking libimagequant0:arm64 (2.18.0-1+b1) ... Selecting previously unselected package libjbig0:arm64. Preparing to unpack .../090-libjbig0_2.1-6.1+b1_arm64.deb ... Unpacking libjbig0:arm64 (2.1-6.1+b1) ... Selecting previously unselected package libjpeg62-turbo:arm64. Preparing to unpack .../091-libjpeg62-turbo_1%3a2.1.5-3_arm64.deb ... Unpacking libjpeg62-turbo:arm64 (1:2.1.5-3) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../092-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-jquery-ui. Preparing to unpack .../093-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../094-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../095-libjs-sphinxdoc_7.4.7-3_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-3) ... Selecting previously unselected package liblapack3:arm64. Preparing to unpack .../096-liblapack3_3.12.0-3_arm64.deb ... Unpacking liblapack3:arm64 (3.12.0-3) ... Selecting previously unselected package liblbfgsb0:arm64. Preparing to unpack .../097-liblbfgsb0_3.0+dfsg.4-1+b1_arm64.deb ... Unpacking liblbfgsb0:arm64 (3.0+dfsg.4-1+b1) ... Selecting previously unselected package liblcms2-2:arm64. Preparing to unpack .../098-liblcms2-2_2.14-2+b1_arm64.deb ... Unpacking liblcms2-2:arm64 (2.14-2+b1) ... Selecting previously unselected package liblerc4:arm64. Preparing to unpack .../099-liblerc4_4.0.0+ds-4+b1_arm64.deb ... Unpacking liblerc4:arm64 (4.0.0+ds-4+b1) ... Selecting previously unselected package libopenjp2-7:arm64. Preparing to unpack .../100-libopenjp2-7_2.5.0-2+b3_arm64.deb ... Unpacking libopenjp2-7:arm64 (2.5.0-2+b3) ... Selecting previously unselected package libpkgconf3:arm64. Preparing to unpack .../101-libpkgconf3_1.8.1-3_arm64.deb ... Unpacking libpkgconf3:arm64 (1.8.1-3) ... Selecting previously unselected package libpython3.12t64:arm64. Preparing to unpack .../102-libpython3.12t64_3.12.7-1_arm64.deb ... Unpacking libpython3.12t64:arm64 (3.12.7-1) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../103-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1) ... Selecting previously unselected package libpython3.12-dev:arm64. Preparing to unpack .../104-libpython3.12-dev_3.12.7-1_arm64.deb ... Unpacking libpython3.12-dev:arm64 (3.12.7-1) ... Selecting previously unselected package libpython3-dev:arm64. Preparing to unpack .../105-libpython3-dev_3.12.6-1+debusine1_arm64.deb ... Unpacking libpython3-dev:arm64 (3.12.6-1+debusine1) ... Selecting previously unselected package libpython3.13-stdlib:arm64. Preparing to unpack .../106-libpython3.13-stdlib_3.13.0~rc3-1_arm64.deb ... Unpacking libpython3.13-stdlib:arm64 (3.13.0~rc3-1) ... Selecting previously unselected package libpython3.13:arm64. Preparing to unpack .../107-libpython3.13_3.13.0~rc3-1_arm64.deb ... Unpacking libpython3.13:arm64 (3.13.0~rc3-1) ... Selecting previously unselected package libpython3.13-dev:arm64. Preparing to unpack .../108-libpython3.13-dev_3.13.0~rc3-1_arm64.deb ... Unpacking libpython3.13-dev:arm64 (3.13.0~rc3-1) ... Selecting previously unselected package libpython3-all-dev:arm64. Preparing to unpack .../109-libpython3-all-dev_3.12.6-1+debusine1_arm64.deb ... Unpacking libpython3-all-dev:arm64 (3.12.6-1+debusine1) ... Selecting previously unselected package libqhull-r8.0:arm64. Preparing to unpack .../110-libqhull-r8.0_2020.2-6+b1_arm64.deb ... Unpacking libqhull-r8.0:arm64 (2020.2-6+b1) ... Selecting previously unselected package libraqm0:arm64. Preparing to unpack .../111-libraqm0_0.10.1-1+b1_arm64.deb ... Unpacking libraqm0:arm64 (0.10.1-1+b1) ... Selecting previously unselected package libsharpyuv0:arm64. Preparing to unpack .../112-libsharpyuv0_1.4.0-0.1_arm64.deb ... Unpacking libsharpyuv0:arm64 (1.4.0-0.1) ... Selecting previously unselected package libwebp7:arm64. Preparing to unpack .../113-libwebp7_1.4.0-0.1_arm64.deb ... Unpacking libwebp7:arm64 (1.4.0-0.1) ... Selecting previously unselected package libtiff6:arm64. Preparing to unpack .../114-libtiff6_4.5.1+git230720-5_arm64.deb ... Unpacking libtiff6:arm64 (4.5.1+git230720-5) ... Selecting previously unselected package libwebpdemux2:arm64. Preparing to unpack .../115-libwebpdemux2_1.4.0-0.1_arm64.deb ... Unpacking libwebpdemux2:arm64 (1.4.0-0.1) ... Selecting previously unselected package libwebpmux3:arm64. Preparing to unpack .../116-libwebpmux3_1.4.0-0.1_arm64.deb ... Unpacking libwebpmux3:arm64 (1.4.0-0.1) ... Selecting previously unselected package libxslt1.1:arm64. Preparing to unpack .../117-libxslt1.1_1.1.35-1.1_arm64.deb ... Unpacking libxslt1.1:arm64 (1.1.35-1.1) ... Selecting previously unselected package ninja-build. Preparing to unpack .../118-ninja-build_1.12.1-1_arm64.deb ... Unpacking ninja-build (1.12.1-1) ... Selecting previously unselected package meson. Preparing to unpack .../119-meson_1.5.2-2_all.deb ... Unpacking meson (1.5.2-2) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../120-pkgconf-bin_1.8.1-3_arm64.deb ... Unpacking pkgconf-bin (1.8.1-3) ... Selecting previously unselected package pkgconf:arm64. Preparing to unpack .../121-pkgconf_1.8.1-3_arm64.deb ... Unpacking pkgconf:arm64 (1.8.1-3) ... Selecting previously unselected package pkg-config:arm64. Preparing to unpack .../122-pkg-config_1.8.1-3_arm64.deb ... Unpacking pkg-config:arm64 (1.8.1-3) ... Selecting previously unselected package pybind11-dev. Preparing to unpack .../123-pybind11-dev_2.13.6-1_all.deb ... Unpacking pybind11-dev (2.13.6-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../124-python3-packaging_24.1-1_all.deb ... Unpacking python3-packaging (24.1-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../125-python3-pyproject-hooks_1.1.0-2_all.deb ... Unpacking python3-pyproject-hooks (1.1.0-2) ... Selecting previously unselected package python3-toml. Preparing to unpack .../126-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../127-python3-wheel_0.44.0-2_all.deb ... Unpacking python3-wheel (0.44.0-2) ... Selecting previously unselected package python3-build. Preparing to unpack .../128-python3-build_1.2.2-1_all.deb ... Unpacking python3-build (1.2.2-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../129-python3-installer_0.7.0+dfsg1-3_all.deb ... Unpacking python3-installer (0.7.0+dfsg1-3) ... Selecting previously unselected package pybuild-plugin-pyproject. Preparing to unpack .../130-pybuild-plugin-pyproject_6.20240824_all.deb ... Unpacking pybuild-plugin-pyproject (6.20240824) ... Selecting previously unselected package python-matplotlib-data. Preparing to unpack .../131-python-matplotlib-data_3.8.3-3+bootstrap1_all.deb ... Unpacking python-matplotlib-data (3.8.3-3+bootstrap1) ... Selecting previously unselected package python3.13. Preparing to unpack .../132-python3.13_3.13.0~rc3-1_arm64.deb ... Unpacking python3.13 (3.13.0~rc3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../133-python3-all_3.12.6-1+debusine1_arm64.deb ... Unpacking python3-all (3.12.6-1+debusine1) ... Selecting previously unselected package python3.12-dev. Preparing to unpack .../134-python3.12-dev_3.12.7-1_arm64.deb ... Unpacking python3.12-dev (3.12.7-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../135-python3-dev_3.12.6-1+debusine1_arm64.deb ... Unpacking python3-dev (3.12.6-1+debusine1) ... Selecting previously unselected package python3.13-dev. Preparing to unpack .../136-python3.13-dev_3.13.0~rc3-1_arm64.deb ... Unpacking python3.13-dev (3.13.0~rc3-1) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../137-python3-all-dev_3.12.6-1+debusine1_arm64.deb ... Unpacking python3-all-dev (3.12.6-1+debusine1) ... Selecting previously unselected package python3-appdirs. Preparing to unpack .../138-python3-appdirs_1.4.4-4_all.deb ... Unpacking python3-appdirs (1.4.4-4) ... Selecting previously unselected package python3-attr. Preparing to unpack .../139-python3-attr_24.2.0-1_all.deb ... Unpacking python3-attr (24.2.0-1) ... Selecting previously unselected package python3-brotli. Preparing to unpack .../140-python3-brotli_1.1.0-2+b4_arm64.deb ... Unpacking python3-brotli (1.1.0-2+b4) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../141-python3-numpy_1.26.4+ds-11+bootstrap1_arm64.deb ... Unpacking python3-numpy (1:1.26.4+ds-11+bootstrap1) ... Selecting previously unselected package python3-contourpy. Preparing to unpack .../142-python3-contourpy_1.3.0-2_arm64.deb ... Unpacking python3-contourpy (1.3.0-2) ... Selecting previously unselected package python3-cycler. Preparing to unpack .../143-python3-cycler_0.12.1-1_all.deb ... Unpacking python3-cycler (0.12.1-1) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../144-python3-dateutil_2.9.0-3_all.deb ... Unpacking python3-dateutil (2.9.0-3) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../145-python3-decorator_5.1.1-5_all.deb ... Unpacking python3-decorator (5.1.1-5) ... Selecting previously unselected package python3-scipy. Preparing to unpack .../146-python3-scipy_1.13.1-5_arm64.deb ... Unpacking python3-scipy (1.13.1-5) ... Selecting previously unselected package python3-ufolib2. Preparing to unpack .../147-python3-ufolib2_0.16.0+dfsg1-1_all.deb ... Unpacking python3-ufolib2 (0.16.0+dfsg1-1) ... Selecting previously unselected package python3-mpmath. Preparing to unpack .../148-python3-mpmath_1.3.0-1_all.deb ... Unpacking python3-mpmath (1.3.0-1) ... Selecting previously unselected package python3-sympy. Preparing to unpack .../149-python3-sympy_1.13.3-1_all.deb ... Unpacking python3-sympy (1.13.3-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../150-python3-tz_2024.1-2_all.deb ... Unpacking python3-tz (2024.1-2) ... Selecting previously unselected package python3-six. Preparing to unpack .../151-python3-six_1.16.0-7_all.deb ... Unpacking python3-six (1.16.0-7) ... Selecting previously unselected package python3-fs. Preparing to unpack .../152-python3-fs_2.4.16-4_all.deb ... Unpacking python3-fs (2.4.16-4) ... Selecting previously unselected package python3-lxml:arm64. Preparing to unpack .../153-python3-lxml_5.3.0-1_arm64.deb ... Unpacking python3-lxml:arm64 (5.3.0-1) ... Selecting previously unselected package python3-lz4. Preparing to unpack .../154-python3-lz4_4.0.2+dfsg-1+b4_arm64.deb ... Unpacking python3-lz4 (4.0.2+dfsg-1+b4) ... Selecting previously unselected package unicode-data. Preparing to unpack .../155-unicode-data_15.1.0-1_all.deb ... Unpacking unicode-data (15.1.0-1) ... Selecting previously unselected package python3-fonttools. Preparing to unpack .../156-python3-fonttools_4.46.0-1+b1_arm64.deb ... Unpacking python3-fonttools (4.46.0-1+b1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../157-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-kiwisolver. Preparing to unpack .../158-python3-kiwisolver_1.4.7-1_arm64.deb ... Unpacking python3-kiwisolver (1.4.7-1) ... Selecting previously unselected package python3-pil:arm64. Preparing to unpack .../159-python3-pil_10.4.0-1_arm64.deb ... Unpacking python3-pil:arm64 (10.4.0-1) ... Selecting previously unselected package python3.12-tk. Preparing to unpack .../160-python3.12-tk_3.12.7-1_arm64.deb ... Unpacking python3.12-tk (3.12.7-1) ... Selecting previously unselected package python3.13-tk. Preparing to unpack .../161-python3.13-tk_3.13.0~rc3-1_arm64.deb ... Unpacking python3.13-tk (3.13.0~rc3-1) ... Selecting previously unselected package python3-tk:arm64. Preparing to unpack .../162-python3-tk_3.12.6-1_arm64.deb ... Unpacking python3-tk:arm64 (3.12.6-1) ... Selecting previously unselected package python3-pil.imagetk:arm64. Preparing to unpack .../163-python3-pil.imagetk_10.4.0-1_arm64.deb ... Unpacking python3-pil.imagetk:arm64 (10.4.0-1) ... Selecting previously unselected package python3-pyparsing. Preparing to unpack .../164-python3-pyparsing_3.1.2-1_all.deb ... Unpacking python3-pyparsing (3.1.2-1) ... Selecting previously unselected package python3-matplotlib. Preparing to unpack .../165-python3-matplotlib_3.8.3-3+bootstrap1_arm64.deb ... Unpacking python3-matplotlib (3.8.3-3+bootstrap1) ... Selecting previously unselected package python3-pyproject-metadata. Preparing to unpack .../166-python3-pyproject-metadata_0.8.0-1_all.deb ... Unpacking python3-pyproject-metadata (0.8.0-1) ... Selecting previously unselected package python3-mesonpy. Preparing to unpack .../167-python3-mesonpy_0.16.0-2_all.deb ... Unpacking python3-mesonpy (0.16.0-2) ... Selecting previously unselected package python3-pkgconfig. Preparing to unpack .../168-python3-pkgconfig_1.5.5-2_all.deb ... Unpacking python3-pkgconfig (1.5.5-2) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../169-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pybind11. Preparing to unpack .../170-python3-pybind11_2.13.6-1_all.deb ... Unpacking python3-pybind11 (2.13.6-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../171-python3-pytest_8.3.3-1_all.deb ... Unpacking python3-pytest (8.3.3-1) ... Selecting previously unselected package python3-wurlitzer. Preparing to unpack .../172-python3-wurlitzer_3.0.3-1_all.deb ... Unpacking python3-wurlitzer (3.0.3-1) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../173-sbuild-build-depends-main-dummy_0.invalid.0_arm64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (10.1.0) ... Setting up dumb-init (1.2.5-3) ... Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up libgraphite2-3:arm64 (1.3.14-2) ... Setting up liblcms2-2:arm64 (2.14-2+b1) ... Setting up libsharpyuv0:arm64 (1.4.0-0.1) ... Setting up libxau6:arm64 (1:1.0.9-1+b1) ... Setting up libxdmcp6:arm64 (1:1.1.2-3+b1) ... Setting up libxcb1:arm64 (1.17.0-2) ... Setting up liblerc4:arm64 (4.0.0+ds-4+b1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up fonts-lyx (2.4.2.1-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libdebhelper-perl (13.20) ... Setting up x11-common (1:7.7+23.1) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block. Setting up libdeflate0:arm64 (1.21-1) ... Setting up linux-libc-dev (6.10.12-1) ... Setting up m4 (1.4.19-4) ... Setting up libqhull-r8.0:arm64 (2020.2-6+b1) ... Setting up libjbig0:arm64 (2.1-6.1+b1) ... Setting up libfakeroot:arm64 (1.36-1) ... Setting up ninja-build (1.12.1-1) ... Setting up libelf1t64:arm64 (0.191-2) ... Setting up fakeroot (1.36-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up unicode-data (15.1.0-1) ... Setting up libpython3.13-minimal:arm64 (3.13.0~rc3-1) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:arm64 (3.12.0-3) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode Setting up libpkgconf3:arm64 (1.8.1-3) ... Setting up rpcsvc-proto (1.4.3-1) ... Setting up libjpeg62-turbo:arm64 (1:2.1.5-3) ... Setting up libx11-data (2:1.8.7-1) ... Setting up libmpfr6:arm64 (4.2.1-1+b1) ... Setting up libfribidi0:arm64 (1.0.15-1) ... Setting up libimagequant0:arm64 (2.18.0-1+b1) ... Setting up fonts-dejavu-mono (2.37-8) ... Setting up libpng16-16t64:arm64 (1.6.44-2) ... Setting up libmpc3:arm64 (1.3.1-1+b2) ... Setting up libtcl8.6:arm64 (8.6.15+dfsg-2) ... Setting up autopoint (0.22.5-2) ... Setting up fonts-dejavu-core (2.37-8) ... Setting up pkgconf-bin (1.8.1-3) ... Setting up libncursesw6:arm64 (6.5-2) ... Setting up libgfortran5:arm64 (14.2.0-6) ... Setting up autoconf (2.72-3) ... Setting up libwebp7:arm64 (1.4.0-0.1) ... Setting up libubsan1:arm64 (14.2.0-6) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up dwz (0.15-1+b1) ... Setting up libhwasan0:arm64 (14.2.0-6) ... Setting up libcrypt-dev:arm64 (1:4.4.36-5) ... Setting up libtiff6:arm64 (4.5.1+git230720-5) ... Setting up libasan8:arm64 (14.2.0-6) ... Setting up libxslt1.1:arm64 (1.1.35-1.1) ... Setting up libopenjp2-7:arm64 (2.5.0-2+b3) ... Setting up python3.13-minimal (3.13.0~rc3-1) ... Setting up libx11-6:arm64 (2:1.8.7-1+b1) ... Setting up libtsan2:arm64 (14.2.0-6) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libisl23:arm64 (0.27-1) ... Setting up libc-dev-bin (2.40-3) ... Setting up python-matplotlib-data (3.8.3-3+bootstrap1) ... Setting up libwebpmux3:arm64 (1.4.0-0.1) ... Setting up libpython3.13-stdlib:arm64 (3.13.0~rc3-1) ... Setting up libcc1-0:arm64 (14.2.0-6) ... Setting up liblsan0:arm64 (14.2.0-6) ... Setting up libitm1:arm64 (14.2.0-6) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up libpython3.13:arm64 (3.13.0~rc3-1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up liblapack3:arm64 (3.12.0-3) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode Setting up libxrender1:arm64 (1:0.9.10-1.1+b1) ... Setting up libtirpc3t64:arm64 (1.3.4+ds-1.3) ... Setting up python3.13 (3.13.0~rc3-1) ... Setting up fontconfig-config (2.15.0-1.1) ... Setting up libwebpdemux2:arm64 (1.4.0-0.1) ... Setting up libxext6:arm64 (2:1.3.4-1+b1) ... Setting up pkgconf:arm64 (1.8.1-3) ... Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... Setting up libfreetype6:arm64 (2.13.3+dfsg-1) ... Setting up pkg-config:arm64 (1.8.1-3) ... Setting up libjs-sphinxdoc (7.4.7-3) ... Setting up cpp-14-aarch64-linux-gnu (14.2.0-6) ... Setting up libnsl2:arm64 (1.3.0-3+b2) ... Setting up libc6-dev:arm64 (2.40-3) ... Setting up libharfbuzz0b:arm64 (9.0.0-1) ... Setting up libxss1:arm64 (1:1.2.3-1+b1) ... Setting up libfontconfig1:arm64 (2.15.0-1.1) ... Setting up libgcc-14-dev:arm64 (14.2.0-6) ... Setting up libstdc++-14-dev:arm64 (14.2.0-6) ... Setting up liblbfgsb0:arm64 (3.0+dfsg.4-1+b1) ... Setting up libxft2:arm64 (2.3.6-1+b1) ... Setting up libpython3.12-stdlib:arm64 (3.12.7-1) ... Setting up libtk8.6:arm64 (8.6.15-1) ... Setting up python3.12 (3.12.7-1) ... Setting up python3.12-tk (3.12.7-1) ... Setting up python3.13-tk (3.13.0~rc3-1) ... Setting up libpython3.12t64:arm64 (3.12.7-1) ... Setting up cpp-aarch64-linux-gnu (4:14.1.0-2) ... Setting up libexpat1-dev:arm64 (2.6.3-1) ... Setting up libraqm0:arm64 (0.10.1-1+b1) ... Setting up cpp-14 (14.2.0-6) ... Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1) ... Setting up cpp (4:14.1.0-2) ... Setting up gcc-14-aarch64-linux-gnu (14.2.0-6) ... Setting up libpython3-stdlib:arm64 (3.12.6-1+debusine1) ... Setting up gcc-aarch64-linux-gnu (4:14.1.0-2) ... Setting up tk8.6-blt2.5 (2.5.3+dfsg-7) ... Setting up g++-14-aarch64-linux-gnu (14.2.0-6) ... Setting up blt (2.5.3+dfsg-7) ... Setting up python3 (3.12.6-1+debusine1) ... Setting up libpython3.12-dev:arm64 (3.12.7-1) ... Setting up python3-zipp (3.20.2-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-wheel (0.44.0-2) ... Setting up python3-tz (2024.1-2) ... Setting up gcc-14 (14.2.0-6) ... Setting up python3-six (1.16.0-7) ... Setting up python3-pil:arm64 (10.4.0-1) ... Setting up python3-decorator (5.1.1-5) ... Setting up python3-packaging (24.1-1) ... Setting up python3-pyproject-hooks (1.1.0-2) ... Setting up python3-pyparsing (3.1.2-1) ... Setting up python3-brotli (1.1.0-2+b4) ... Setting up libpython3.13-dev:arm64 (3.13.0~rc3-1) ... Setting up python3-cycler (0.12.1-1) ... Setting up python3-kiwisolver (1.4.7-1) ... Setting up python3.12-dev (3.12.7-1) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-pluggy (1.5.0-1) ... Setting up python3-lxml:arm64 (5.3.0-1) ... Setting up g++-aarch64-linux-gnu (4:14.1.0-2) ... Setting up python3-dateutil (2.9.0-3) ... Setting up g++-14 (14.2.0-6) ... Setting up python3-pkgconfig (1.5.5-2) ... Setting up python3-mpmath (1.3.0-1) ... Setting up python3-build (1.2.2-1) ... Setting up python3-appdirs (1.4.4-4) ... Setting up python3-wurlitzer (3.0.3-1) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-sympy (1.13.3-1) ... Setting up python3-attr (24.2.0-1) ... Setting up libpython3-dev:arm64 (3.12.6-1+debusine1) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-pyproject-metadata (0.8.0-1) ... Setting up libtool (2.4.7-7) ... Setting up python3-lz4 (4.0.2+dfsg-1+b4) ... Setting up python3.13-dev (3.13.0~rc3-1) ... Setting up python3-pytest (8.3.3-1) ... Setting up python3-typeguard (4.3.0-1) ... Setting up python3-all (3.12.6-1+debusine1) ... Setting up python3-tk:arm64 (3.12.6-1) ... Setting up pybind11-dev (2.13.6-1) ... Setting up gcc (4:14.1.0-2) ... Setting up dh-autoreconf (20) ... Setting up python3-inflect (7.3.1-2) ... Setting up python3-pil.imagetk:arm64 (10.4.0-1) ... Setting up libpython3-all-dev:arm64 (3.12.6-1+debusine1) ... Setting up python3-dev (3.12.6-1+debusine1) ... Setting up g++ (4:14.1.0-2) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.10) ... Setting up python3-pybind11 (2.13.6-1) ... Setting up python3-pkg-resources (74.1.2-2) ... Setting up python3-all-dev (3.12.6-1+debusine1) ... Setting up python3-setuptools (74.1.2-2) ... Setting up meson (1.5.2-2) ... Setting up debhelper (13.20) ... Setting up python3-fs (2.4.16-4) ... Setting up python3-numpy (1:1.26.4+ds-11+bootstrap1) ... Setting up python3-mesonpy (0.16.0-2) ... Setting up python3-contourpy (1.3.0-2) ... Setting up dh-python (6.20240824) ... Setting up python3-scipy (1.13.1-5) ... Setting up pybuild-plugin-pyproject (6.20240824) ... Setting up python3-fonttools (4.46.0-1+b1) ... Setting up python3-ufolib2 (0.16.0+dfsg1-1) ... Setting up python3-matplotlib (3.8.3-3+bootstrap1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for man-db (2.13.0-1) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (arm64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) arm64 (aarch64) Toolchain package versions: binutils_2.43.1-5 dpkg-dev_1.22.11 g++-14_14.2.0-6 gcc-14_14.2.0-6 libc6-dev_2.40-3 libstdc++-14-dev_14.2.0-6 libstdc++6_14.2.0-6 linux-libc-dev_6.10.12-1 Package versions: appstream_1.0.3-1 apt_2.9.8 autoconf_2.72-3 automake_1:1.16.5-1.3 autopoint_0.22.5-2 autotools-dev_20220109.1 base-files_13.5 base-passwd_3.6.4 bash_5.2.32-1+b1 binutils_2.43.1-5 binutils-aarch64-linux-gnu_2.43.1-5 binutils-common_2.43.1-5 blt_2.5.3+dfsg-7 bsdextrautils_2.40.2-9 bsdutils_1:2.40.2-9 build-essential_12.10 bzip2_1.0.8-6 ca-certificates_20240203 coreutils_9.4-3.1 cpp_4:14.1.0-2 cpp-14_14.2.0-6 cpp-14-aarch64-linux-gnu_14.2.0-6 cpp-aarch64-linux-gnu_4:14.1.0-2 dash_0.5.12-9 debconf_1.5.87 debhelper_13.20 debian-archive-keyring_2023.4 debianutils_5.20 dh-autoreconf_20 dh-python_6.20240824 dh-strip-nondeterminism_1.14.0-1 diffstat_1.66-1 diffutils_1:3.10-1 dpkg_1.22.11 dpkg-dev_1.22.11 dumb-init_1.2.5-3 dwz_0.15-1+b1 e2fsprogs_1.47.1-1 fakeroot_1.36-1 file_1:5.45-3 findutils_4.10.0-3 fontconfig-config_2.15.0-1.1 fonts-dejavu-core_2.37-8 fonts-dejavu-mono_2.37-8 fonts-lyx_2.4.2.1-1 g++_4:14.1.0-2 g++-14_14.2.0-6 g++-14-aarch64-linux-gnu_14.2.0-6 g++-aarch64-linux-gnu_4:14.1.0-2 gcc_4:14.1.0-2 gcc-14_14.2.0-6 gcc-14-aarch64-linux-gnu_14.2.0-6 gcc-14-base_14.2.0-6 gcc-aarch64-linux-gnu_4:14.1.0-2 gettext_0.22.5-2 gettext-base_0.22.5-2 gpg_2.2.44-1 gpgconf_2.2.44-1 gpgv_2.2.44-1 grep_3.11-4 groff-base_1.23.0-5 gzip_1.12-1.1 hostname_3.23+nmu2 init-system-helpers_1.67 intltool-debian_0.35.0+20060710.6 iso-codes_4.17.0-1 libacl1_2.3.2-2 libaliased-perl_0.34-3 libappstream5_1.0.3-1 libapt-pkg-perl_0.1.40+b5 libapt-pkg6.0t64_2.9.8 libarchive-zip-perl_1.68-1 libasan8_14.2.0-6 libassuan9_3.0.1-2 libatomic1_14.2.0-6 libattr1_1:2.5.2-1 libaudit-common_1:4.0.1-1 libaudit1_1:4.0.1-1 libb-hooks-endofscope-perl_0.28-1 libb-hooks-op-check-perl_0.22-3+b1 libberkeleydb-perl_0.64-2+b3 libbinutils_2.43.1-5 libblas3_3.12.0-3 libblkid1_2.40.2-9 libbrotli1_1.1.0-2+b4 libbsd0_0.12.2-2 libbz2-1.0_1.0.8-6 libc-bin_2.40-3 libc-dev-bin_2.40-3 libc6_2.40-3 libc6-dev_2.40-3 libcap-ng0_0.8.5-2 libcap2_1:2.66-5 libcapture-tiny-perl_0.48-2 libcc1-0_14.2.0-6 libcgi-pm-perl_4.66-1 libclass-data-inheritable-perl_0.08-3 libclass-inspector-perl_1.36-3 libclass-method-modifiers-perl_2.15-1 libclass-xsaccessor-perl_1.19-4+b3 libclone-perl_0.47-1 libcom-err2_1.47.1-1 libconfig-tiny-perl_2.30-1 libconst-fast-perl_0.014-2 libcpanel-json-xs-perl_4.38-1 libcrypt-dev_1:4.4.36-5 libcrypt1_1:4.4.36-5 libctf-nobfd0_2.43.1-5 libctf0_2.43.1-5 libcurl3t64-gnutls_8.10.1-1 libdata-dpath-perl_0.60-1 libdata-messagepack-perl_1.02-1+b3 libdata-optlist-perl_0.114-1 libdata-validate-domain-perl_0.15-1 libdata-validate-ip-perl_0.31-1 libdata-validate-uri-perl_0.07-3 libdb5.3t64_5.3.28+dfsg2-7 libdebconfclient0_0.272 libdebhelper-perl_13.20 libdeflate0_1.21-1 libdevel-callchecker-perl_0.009-1 libdevel-size-perl_0.84-1 libdevel-stacktrace-perl_2.0500-1 libdpkg-perl_1.22.11 libdynaloader-functions-perl_0.004-1 libelf1t64_0.191-2 libemail-address-xs-perl_1.05-1+b3 libencode-locale-perl_1.05-3 libexception-class-perl_1.45-1 libexpat1_2.6.3-1 libexpat1-dev_2.6.3-1 libext2fs2t64_1.47.1-1 libfakeroot_1.36-1 libffi8_3.4.6-1 libfile-basedir-perl_0.09-2 libfile-find-rule-perl_0.34-3 libfile-listing-perl_6.16-1 libfile-sharedir-perl_1.118-3 libfile-stripnondeterminism-perl_1.14.0-1 libfont-ttf-perl_1.06-2 libfontconfig1_2.15.0-1.1 libfreetype6_2.13.3+dfsg-1 libfribidi0_1.0.15-1 libgcc-14-dev_14.2.0-6 libgcc-s1_14.2.0-6 libgcrypt20_1.11.0-6 libgdbm-compat4t64_1.24-2 libgdbm6t64_1.24-2 libgfortran5_14.2.0-6 libglib2.0-0t64_2.82.1-1 libgmp10_2:6.3.0+dfsg-2+b1 libgnutls30t64_3.8.6-2 libgomp1_14.2.0-6 libgpg-error0_1.50-4 libgprofng0_2.43.1-5 libgraphite2-3_1.3.14-2 libgssapi-krb5-2_1.21.3-3 libharfbuzz0b_9.0.0-1 libhogweed6t64_3.10-1 libhtml-form-perl_6.11-1 libhtml-html5-entities-perl_0.004-3 libhtml-parser-perl_3.83-1 libhtml-tagset-perl_3.24-1 libhtml-tokeparser-simple-perl_3.16-4 libhtml-tree-perl_5.07-3 libhttp-cookies-perl_6.11-1 libhttp-date-perl_6.06-1 libhttp-message-perl_6.46-1 libhttp-negotiate-perl_6.01-2 libhwasan0_14.2.0-6 libicu72_72.1-5 libidn2-0_2.3.7-2 libimagequant0_2.18.0-1+b1 libimport-into-perl_1.002005-2 libio-html-perl_1.004-3 libio-interactive-perl_1.025-1 libio-socket-ssl-perl_2.089-1 libio-string-perl_1.08-4 libipc-run3-perl_0.049-1 libipc-system-simple-perl_1.30-2 libisl23_0.27-1 libiterator-perl_0.03+ds1-2 libiterator-util-perl_0.02+ds1-2 libitm1_14.2.0-6 libjansson4_2.14-2+b2 libjbig0_2.1-6.1+b1 libjpeg62-turbo_1:2.1.5-3 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-jquery-ui_1.13.2+dfsg-1 libjs-sphinxdoc_7.4.7-3 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libjson-maybexs-perl_1.004008-1 libk5crypto3_1.21.3-3 libkeyutils1_1.6.3-3 libkrb5-3_1.21.3-3 libkrb5support0_1.21.3-3 liblapack3_3.12.0-3 liblbfgsb0_3.0+dfsg.4-1+b1 liblcms2-2_2.14-2+b1 libldap-2.5-0_2.5.18+dfsg-3 liblerc4_4.0.0+ds-4+b1 liblist-compare-perl_0.55-2 liblist-someutils-perl_0.59-1 liblist-utilsby-perl_0.12-2 liblsan0_14.2.0-6 liblwp-mediatypes-perl_6.04-2 liblwp-protocol-https-perl_6.14-1 liblz1_1.15~pre1-1 liblz4-1_1.9.4-3 liblzma5_5.6.2-2 liblzo2-2_2.10-3 libmagic-mgc_1:5.45-3 libmagic1t64_1:5.45-3 libmarkdown2_2.2.7-2+b1 libmd0_1.1.0-2 libmldbm-perl_2.05-4 libmodule-implementation-perl_0.09-2 libmodule-runtime-perl_0.016-2 libmoo-perl_2.005005-1 libmoox-aliases-perl_0.001006-2 libmount1_2.40.2-9 libmouse-perl_2.5.11-1 libmpc3_1.3.1-1+b2 libmpfr6_4.2.1-1+b1 libnamespace-clean-perl_0.27-2 libncursesw6_6.5-2 libnet-domain-tld-perl_1.75-4 libnet-http-perl_6.23-1 libnet-ipv6addr-perl_1.02-1 libnet-netmask-perl_2.0002-2 libnet-ssleay-perl_1.94-1+b1 libnetaddr-ip-perl_4.079+dfsg-2+b3 libnettle8t64_3.10-1 libnghttp2-14_1.63.0-1 libnghttp3-9_1.4.0-1 libngtcp2-16_1.6.0-1 libngtcp2-crypto-gnutls8_1.6.0-1 libnsl2_1.3.0-3+b2 libnumber-compare-perl_0.03-3 libopenjp2-7_2.5.0-2+b3 libp11-kit0_0.25.5-2 libpackage-stash-perl_0.40-1 libpam-modules_1.5.3-7 libpam-modules-bin_1.5.3-7 libpam-runtime_1.5.3-7 libpam0g_1.5.3-7 libparams-classify-perl_0.015-2+b3 libparams-util-perl_1.102-3 libpath-tiny-perl_0.146-1 libpcre2-8-0_10.42-4+b1 libperl5.38t64_5.38.2-5 libperlio-gzip-perl_0.20-1+b3 libperlio-utf8-strict-perl_0.010-1+b2 libpipeline1_1.5.8-1 libpkgconf3_1.8.1-3 libpng16-16t64_1.6.44-2 libproc-processtable-perl_0.636-1+b2 libpsl5t64_0.21.2-1.1 libpython3-all-dev_3.12.6-1+debusine1 libpython3-dev_3.12.6-1+debusine1 libpython3-stdlib_3.12.6-1+debusine1 libpython3.12-dev_3.12.7-1 libpython3.12-minimal_3.12.7-1 libpython3.12-stdlib_3.12.7-1 libpython3.12t64_3.12.7-1 libpython3.13_3.13.0~rc3-1 libpython3.13-dev_3.13.0~rc3-1 libpython3.13-minimal_3.13.0~rc3-1 libpython3.13-stdlib_3.13.0~rc3-1 libqhull-r8.0_2020.2-6+b1 libraqm0_0.10.1-1+b1 libreadline8t64_8.2-5 libregexp-wildcards-perl_1.05-3 librole-tiny-perl_2.002004-1 librtmp1_2.4+20151223.gitfa8646d.1-2+b4 libsasl2-2_2.1.28+dfsg1-8 libsasl2-modules-db_2.1.28+dfsg1-8 libseccomp2_2.5.5-1+b1 libselinux1_3.7-3 libsemanage-common_3.7-2 libsemanage2_3.7-2 libsepol2_3.7-1 libsereal-decoder-perl_5.004+ds-1+b2 libsereal-encoder-perl_5.004+ds-1+b2 libsframe1_2.43.1-5 libsharpyuv0_1.4.0-0.1 libsmartcols1_2.40.2-9 libsort-versions-perl_1.62-3 libsqlite3-0_3.46.1-1 libss2_1.47.1-1 libssh2-1t64_1.11.0-7 libssl3t64_3.3.2-1 libstdc++-14-dev_14.2.0-6 libstdc++6_14.2.0-6 libstemmer0d_2.2.0-4+b1 libstrictures-perl_2.000006-1 libsub-exporter-perl_0.990-1 libsub-exporter-progressive-perl_0.001013-3 libsub-identify-perl_0.14-3+b2 libsub-install-perl_0.929-1 libsub-name-perl_0.27-1+b2 libsub-quote-perl_2.006008-1 libsyntax-keyword-try-perl_0.30-1 libsystemd0_256.6-1 libtasn1-6_4.19.0-3+b2 libtcl8.6_8.6.15+dfsg-2 libterm-readkey-perl_2.38-2+b3 libtext-glob-perl_0.11-3 libtext-levenshteinxs-perl_0.03-5+b3 libtext-markdown-discount-perl_0.16-1+b2 libtext-xslate-perl_3.5.9-2 libtiff6_4.5.1+git230720-5 libtime-duration-perl_1.21-2 libtime-moment-perl_0.44-2+b3 libtimedate-perl_2.3300-2 libtinfo6_6.5-2 libtirpc-common_1.3.4+ds-1.3 libtirpc3t64_1.3.4+ds-1.3 libtk8.6_8.6.15-1 libtool_2.4.7-7 libtry-tiny-perl_0.32-1 libtsan2_14.2.0-6 libubsan1_14.2.0-6 libuchardet0_0.0.8-1+b1 libudev1_256.6-1 libunicode-utf8-perl_0.62-2+b2 libunistring5_1.2-1 liburi-perl_5.29-1 libuuid1_2.40.2-9 libvariable-magic-perl_0.64-1 libwebp7_1.4.0-0.1 libwebpdemux2_1.4.0-0.1 libwebpmux3_1.4.0-0.1 libwww-mechanize-perl_2.19-1 libwww-perl_6.77-1 libwww-robotrules-perl_6.02-1 libx11-6_2:1.8.7-1+b1 libx11-data_2:1.8.7-1 libxau6_1:1.0.9-1+b1 libxcb1_1.17.0-2 libxdmcp6_1:1.1.2-3+b1 libxext6_2:1.3.4-1+b1 libxft2_2.3.6-1+b1 libxml-libxml-perl_2.0207+dfsg+really+2.0134-5 libxml-namespacesupport-perl_1.12-2 libxml-sax-base-perl_1.09-3 libxml-sax-perl_1.02+dfsg-3 libxml2_2.12.7+dfsg+really2.9.14-0.1 libxmlb2_0.3.19-1 libxrender1_1:0.9.10-1.1+b1 libxs-parse-keyword-perl_0.46-1 libxslt1.1_1.1.35-1.1 libxss1_1:1.2.3-1+b1 libxxhash0_0.8.2-2+b1 libyaml-0-2_0.2.5-1+b1 libyaml-libyaml-perl_0.902.0+ds-2 libzstd1_1.5.6+dfsg-1 lintian_2.119.0 linux-libc-dev_6.10.12-1 login_1:4.16.0-2+really2.40.2-9 login.defs_1:4.16.0-4 logsave_1.47.1-1 lzop_1.04-2 m4_1.4.19-4 make_4.3-4.1 man-db_2.13.0-1 mawk_1.3.4.20240905-1 media-types_10.1.0 meson_1.5.2-2 mount_2.40.2-9 ncurses-base_6.5-2 ncurses-bin_6.5-2 netbase_6.4 ninja-build_1.12.1-1 openssl_3.3.2-1 openssl-provider-legacy_3.3.2-1 passwd_1:4.16.0-4 patch_2.7.6-7 patchutils_0.4.2-1 perl_5.38.2-5 perl-base_5.38.2-5 perl-modules-5.38_5.38.2-5 perl-openssl-defaults_7+b2 pkg-config_1.8.1-3 pkgconf_1.8.1-3 pkgconf-bin_1.8.1-3 plzip_1.11-2 po-debconf_1.0.21+nmu1 pybind11-dev_2.13.6-1 pybuild-plugin-pyproject_6.20240824 python-matplotlib-data_3.8.3-3+bootstrap1 python3_3.12.6-1+debusine1 python3-all_3.12.6-1+debusine1 python3-all-dev_3.12.6-1+debusine1 python3-appdirs_1.4.4-4 python3-attr_24.2.0-1 python3-autocommand_2.2.2-3 python3-brotli_1.1.0-2+b4 python3-build_1.2.2-1 python3-contourpy_1.3.0-2 python3-cycler_0.12.1-1 python3-dateutil_2.9.0-3 python3-decorator_5.1.1-5 python3-dev_3.12.6-1+debusine1 python3-fonttools_4.46.0-1+b1 python3-fs_2.4.16-4 python3-inflect_7.3.1-2 python3-iniconfig_1.1.1-2 python3-installer_0.7.0+dfsg1-3 python3-jaraco.context_6.0.0-1 python3-jaraco.functools_4.1.0-1 python3-kiwisolver_1.4.7-1 python3-lxml_5.3.0-1 python3-lz4_4.0.2+dfsg-1+b4 python3-matplotlib_3.8.3-3+bootstrap1 python3-mesonpy_0.16.0-2 python3-minimal_3.12.6-1+debusine1 python3-more-itertools_10.5.0-1 python3-mpmath_1.3.0-1 python3-numpy_1:1.26.4+ds-11+bootstrap1 python3-packaging_24.1-1 python3-pil_10.4.0-1 python3-pil.imagetk_10.4.0-1 python3-pkg-resources_74.1.2-2 python3-pkgconfig_1.5.5-2 python3-pluggy_1.5.0-1 python3-pybind11_2.13.6-1 python3-pyparsing_3.1.2-1 python3-pyproject-hooks_1.1.0-2 python3-pyproject-metadata_0.8.0-1 python3-pytest_8.3.3-1 python3-scipy_1.13.1-5 python3-setuptools_74.1.2-2 python3-six_1.16.0-7 python3-sympy_1.13.3-1 python3-tk_3.12.6-1 python3-toml_0.10.2-1 python3-typeguard_4.3.0-1 python3-typing-extensions_4.12.2-2 python3-tz_2024.1-2 python3-ufolib2_0.16.0+dfsg1-1 python3-wheel_0.44.0-2 python3-wurlitzer_3.0.3-1 python3-zipp_3.20.2-1 python3.12_3.12.7-1 python3.12-dev_3.12.7-1 python3.12-minimal_3.12.7-1 python3.12-tk_3.12.7-1 python3.13_3.13.0~rc3-1 python3.13-dev_3.13.0~rc3-1 python3.13-minimal_3.13.0~rc3-1 python3.13-tk_3.13.0~rc3-1 readline-common_8.2-5 rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.24 shared-mime-info_2.4-5+b1 sysvinit-utils_3.10-2 t1utils_1.41-4 tar_1.35+dfsg-3 tk8.6-blt2.5_2.5.3+dfsg-7 tzdata_2024b-2 ucf_3.0043+nmu1 unicode-data_15.1.0-1 unzip_6.0-28 util-linux_2.40.2-9 x11-common_1:7.7+23.1 xz-utils_5.6.2-2 zlib1g_1:1.3.dfsg+really1.3.1-1 zlib1g-dev_1:1.3.dfsg+really1.3.1-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: contourpy Binary: python3-contourpy Architecture: any Version: 1.3.0-2 Maintainer: Debian Python Team , Uploaders: Alexandre Detiste , Emmanuel Arias , Homepage: https://contourpy.readthedocs.io/ Standards-Version: 4.7.0 Vcs-Browser: https://salsa.debian.org/python-team/packages/contourpy Vcs-Git: https://salsa.debian.org/python-team/packages/contourpy.git Testsuite: autopkgtest-pkg-pybuild Build-Depends: debhelper-compat (= 13), dh-sequence-python3, pybuild-plugin-pyproject, python3-all-dev, python3-matplotlib , python3-mesonpy, python3-numpy , python3-pkgconfig, python3-pybind11, python3-pytest , python3-setuptools, python3-wurlitzer Package-List: python3-contourpy deb python optional arch=any Checksums-Sha1: f2affdb93869d87d16b1a6a04494008ddf0d3e0a 13445333 contourpy_1.3.0.orig.tar.gz 78e78236e74a56ae3ed37546d6843c5d8dcb0f52 2824 contourpy_1.3.0-2.debian.tar.xz Checksums-Sha256: 6ed34b326c26510ea4cc005d20e231d3f17c8c41784300a95983de99ca486b42 13445333 contourpy_1.3.0.orig.tar.gz a26d58e09be4823a256e245fd4401c535a0c7525c10d266b467208be12577276 2824 contourpy_1.3.0-2.debian.tar.xz Files: 51633e25c9b611e66c04d1fa4f123cfd 13445333 contourpy_1.3.0.orig.tar.gz 42a6a166c6344e9c4153473e9bef7c15 2824 contourpy_1.3.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmcBnu8SHGVhbWFudUBk ZWJpYW4ub3JnAAoJEPqd7F3hHGPxv1YP/1Mid8N7e8lil0p3INxM2qlcxujlaruf VC2A+k1sRGYApQI1jqf5VfgqHB+cd/SC4CdZ9c2/TzeDIgpXk4fstw3IFpzlGgGc jDhxmSwZa51ObUZXqa8bQphiuHxB8jS/dwxWulcTs9uknHO8ywhk/0uun2f8s3bX 2VimROYtHwRIgfKfko/lOh3Rt/CKALpUqT1sFMS9Ew93fYrFFUqyjRplm1fVdPxv YgHmdC6LCg3JawwDZqgQtwtwmElQj1NqIXZ/rZolEKc+MDT7m4MWOgfLV0pCbxDk cg7G5Kzt4D69CSRzka666rRPDQkqX2C0q6pT7XKnb6g6djqEw5NlJXLZq8oudaJu blbIuqDvOT0XUGn1mpeIfpaDkJL621a6Xno1xO2spQ3C47LJx7N7dzLqIA+cfk37 5xyjlrwAXeONn786a7/N3kPcM6yDaI8G09jC2LFWeAahv+4Ajo01xGVI+Y6xm/fj 6gqqg5glAlJt5s0KHWzqVAjrcV7V2dE4WFrIC2/vXadxtjRYh9zx24brVpsfc5UY kK1DUxktZi/rSFcxQ4gwdAzwOq75Uma59hJY+r/W9hSANuUaMyWbsEbQGcXV56K0 HxRxwIM8KxRTV7Y6/cPHiEVWVLhtj/V7bpaOTF/cvvUuxaipPq8ci40jpvA93P7A JZLSekJ1yWv6 =e7Nk -----END PGP SIGNATURE----- gpgv: Signature made Sat Oct 5 20:17:51 2024 UTC gpgv: using RSA key 13796755BBC72BB8ABE2AEB5FA9DEC5DE11C63F1 gpgv: issuer "eamanu@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./contourpy_1.3.0-2.dsc: no acceptable signature found dpkg-source: info: extracting contourpy in /<> dpkg-source: info: unpacking contourpy_1.3.0.orig.tar.gz dpkg-source: info: unpacking contourpy_1.3.0-2.debian.tar.xz Check disk space ---------------- Sufficient free space for build Hack binNMU version ------------------- Created changelog entry for binNMU version 1.3.0-2+bd1 User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LOGNAME=debusine-worker OLDPWD=/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD=/<> SHELL=/bin/sh USER=debusine-worker dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -us -uc -mDebusine Rebuild -B -rfakeroot dpkg-buildpackage: info: source package contourpy dpkg-buildpackage: info: source version 1.3.0-2+bd1 dpkg-buildpackage: info: source distribution sid dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 dpkg-source: info: using options from contourpy-1.3.0/debian/source/options: --extend-diff-ignore=^[^/]+.dist-info/ debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary-arch dh binary-arch --buildsystem=pybuild dh_update_autotools_config -a -O--buildsystem=pybuild dh_autoreconf -a -O--buildsystem=pybuild dh_auto_configure -a -O--buildsystem=pybuild dh_auto_build -a -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.13_contourpy --config-setting compile-args=--verbose --config-setting setup-args=--wrap-mode=nodownload --config-setting setup-args=--prefix=/usr --config-setting setup-args=--sysconfdir=/etc --config-setting setup-args=--localstatedir=/var --config-setting setup-args=--libdir=lib/aarch64-linux-gnu * Building wheel... + meson setup /<> /<>/.mesonpy-_0hsdhux -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --wrap-mode=nodownload --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/aarch64-linux-gnu --native-file=/<>/.mesonpy-_0hsdhux/meson-python-native-file.ini The Meson build system Version: 1.5.2 Source dir: /<> Build dir: /<>/.mesonpy-_0hsdhux Build type: native build Project name: contourpy Project version: 1.3.0 C++ compiler for the host machine: c++ (gcc 14.2.0 "c++ (Debian 14.2.0-6) 14.2.0") C++ linker for the host machine: c++ ld.bfd 2.43.1 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program python found: YES (/usr/bin/python3.13) Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1 Run-time dependency pybind11 found: YES 2.13.6 Configuring _build_config.py using configuration Run-time dependency python found: YES 3.13 Build targets in project: 1 contourpy 1.3.0 Build config host_cpu : aarch64 build_cpu : aarch64 cross_build : false optimization : 3 User defined options Native files : /<>/.mesonpy-_0hsdhux/meson-python-native-file.ini buildtype : release libdir : lib/aarch64-linux-gnu localstatedir: /var prefix : /usr sysconfdir : /etc vsenv : true wrap_mode : nodownload b_ndebug : if-release b_vscrt : md Found ninja-1.12.1 at /usr/bin/ninja Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper: /usr/bin/meson compile -C . + /usr/bin/ninja -v --verbose [1/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/line_type.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/line_type.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/line_type.cpp.o -c ../src/line_type.cpp [2/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/fill_type.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/fill_type.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/fill_type.cpp.o -c ../src/fill_type.cpp [3/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o -c ../src/outer_or_hole.cpp [4/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005.cpp.o -c ../src/mpl2005.cpp [5/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/z_interp.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/z_interp.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/z_interp.cpp.o -c ../src/z_interp.cpp [6/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/converter.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/converter.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/converter.cpp.o -c ../src/converter.cpp [7/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/contour_generator.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/contour_generator.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/contour_generator.cpp.o -c ../src/contour_generator.cpp [8/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/util.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/util.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/util.cpp.o -c ../src/util.cpp [9/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/chunk_local.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/chunk_local.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/chunk_local.cpp.o -c ../src/chunk_local.cpp [10/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o -c ../src/mpl2005_original.cpp [11/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2014.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2014.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2014.cpp.o -c ../src/mpl2014.cpp [12/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/serial.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/serial.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/serial.cpp.o -c ../src/serial.cpp [13/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/threaded.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/threaded.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/threaded.cpp.o -c ../src/threaded.cpp [14/15] c++ -Isrc/_contourpy.cpython-313-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/wrap.cpp.o -MF src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/wrap.cpp.o.d -o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/wrap.cpp.o -c ../src/wrap.cpp [15/15] c++ -o src/_contourpy.cpython-313-aarch64-linux-gnu.so src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/chunk_local.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/contour_generator.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/converter.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/fill_type.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/line_type.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2005.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/mpl2014.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/serial.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/threaded.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/util.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/wrap.cpp.o src/_contourpy.cpython-313-aarch64-linux-gnu.so.p/z_interp.cpp.o -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,-O1 -shared -fPIC -Wl,-z,relro -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 [1/20] /<>/.mesonpy-_0hsdhux/src/_contourpy.cpython-313-aarch64-linux-gnu.so [2/20] /<>/lib/contourpy/__init__.py [3/20] /<>/lib/contourpy/_version.py [4/20] /<>/lib/contourpy/array.py [5/20] /<>/lib/contourpy/chunk.py [6/20] /<>/lib/contourpy/convert.py [7/20] /<>/lib/contourpy/dechunk.py [8/20] /<>/lib/contourpy/enum_util.py [9/20] /<>/lib/contourpy/typecheck.py [10/20] /<>/lib/contourpy/types.py [11/20] /<>/lib/contourpy/_contourpy.pyi [12/20] /<>/lib/contourpy/py.typed [13/20] /<>/lib/contourpy/util/__init__.py [14/20] /<>/lib/contourpy/util/bokeh_renderer.py [15/20] /<>/lib/contourpy/util/bokeh_util.py [16/20] /<>/lib/contourpy/util/data.py [17/20] /<>/lib/contourpy/util/mpl_renderer.py [18/20] /<>/lib/contourpy/util/mpl_util.py [19/20] /<>/lib/contourpy/util/renderer.py [20/20] /<>/.mesonpy-_0hsdhux/lib/contourpy/util/_build_config.py Successfully built contourpy-1.3.0-cp313-cp313-linux_aarch64.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.12_contourpy --config-setting compile-args=--verbose --config-setting setup-args=--wrap-mode=nodownload --config-setting setup-args=--prefix=/usr --config-setting setup-args=--sysconfdir=/etc --config-setting setup-args=--localstatedir=/var --config-setting setup-args=--libdir=lib/aarch64-linux-gnu * Building wheel... + meson setup /<> /<>/.mesonpy-r01wfawn -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --wrap-mode=nodownload --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/aarch64-linux-gnu --native-file=/<>/.mesonpy-r01wfawn/meson-python-native-file.ini The Meson build system Version: 1.5.2 Source dir: /<> Build dir: /<>/.mesonpy-r01wfawn Build type: native build Project name: contourpy Project version: 1.3.0 C++ compiler for the host machine: c++ (gcc 14.2.0 "c++ (Debian 14.2.0-6) 14.2.0") C++ linker for the host machine: c++ ld.bfd 2.43.1 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program python found: YES (/usr/bin/python3.12) Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1 Run-time dependency pybind11 found: YES 2.13.6 Configuring _build_config.py using configuration Run-time dependency python found: YES 3.12 Build targets in project: 1 contourpy 1.3.0 Build config host_cpu : aarch64 build_cpu : aarch64 cross_build : false optimization : 3 User defined options Native files : /<>/.mesonpy-r01wfawn/meson-python-native-file.ini buildtype : release libdir : lib/aarch64-linux-gnu localstatedir: /var prefix : /usr sysconfdir : /etc vsenv : true wrap_mode : nodownload b_ndebug : if-release b_vscrt : md Found ninja-1.12.1 at /usr/bin/ninja Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper: /usr/bin/meson compile -C . + /usr/bin/ninja -v --verbose [1/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/line_type.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/line_type.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/line_type.cpp.o -c ../src/line_type.cpp [2/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o -c ../src/outer_or_hole.cpp [3/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/fill_type.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/fill_type.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/fill_type.cpp.o -c ../src/fill_type.cpp [4/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/contour_generator.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/contour_generator.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/contour_generator.cpp.o -c ../src/contour_generator.cpp [5/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/chunk_local.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/chunk_local.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/chunk_local.cpp.o -c ../src/chunk_local.cpp [6/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/util.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/util.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/util.cpp.o -c ../src/util.cpp [7/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/z_interp.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/z_interp.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/z_interp.cpp.o -c ../src/z_interp.cpp [8/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/converter.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/converter.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/converter.cpp.o -c ../src/converter.cpp [9/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005.cpp.o -c ../src/mpl2005.cpp [10/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2014.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2014.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2014.cpp.o -c ../src/mpl2014.cpp [11/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o -c ../src/mpl2005_original.cpp [12/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/serial.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/serial.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/serial.cpp.o -c ../src/serial.cpp [13/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/threaded.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/threaded.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/threaded.cpp.o -c ../src/threaded.cpp [14/15] c++ -Isrc/_contourpy.cpython-312-aarch64-linux-gnu.so.p -Isrc -I../src -I/include -I/usr/include/python3.12 -I/usr/include/aarch64-linux-gnu/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCONTOURPY_VERSION=1.3.0 -MD -MQ src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/wrap.cpp.o -MF src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/wrap.cpp.o.d -o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/wrap.cpp.o -c ../src/wrap.cpp [15/15] c++ -o src/_contourpy.cpython-312-aarch64-linux-gnu.so src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/chunk_local.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/contour_generator.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/converter.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/fill_type.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/line_type.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005_original.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2005.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/mpl2014.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/outer_or_hole.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/serial.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/threaded.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/util.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/wrap.cpp.o src/_contourpy.cpython-312-aarch64-linux-gnu.so.p/z_interp.cpp.o -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,-O1 -shared -fPIC -Wl,-z,relro -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 [1/20] /<>/.mesonpy-r01wfawn/src/_contourpy.cpython-312-aarch64-linux-gnu.so [2/20] /<>/lib/contourpy/__init__.py [3/20] /<>/lib/contourpy/_version.py [4/20] /<>/lib/contourpy/array.py [5/20] /<>/lib/contourpy/chunk.py [6/20] /<>/lib/contourpy/convert.py [7/20] /<>/lib/contourpy/dechunk.py [8/20] /<>/lib/contourpy/enum_util.py [9/20] /<>/lib/contourpy/typecheck.py [10/20] /<>/lib/contourpy/types.py [11/20] /<>/lib/contourpy/_contourpy.pyi [12/20] /<>/lib/contourpy/py.typed [13/20] /<>/lib/contourpy/util/__init__.py [14/20] /<>/lib/contourpy/util/bokeh_renderer.py [15/20] /<>/lib/contourpy/util/bokeh_util.py [16/20] /<>/lib/contourpy/util/data.py [17/20] /<>/lib/contourpy/util/mpl_renderer.py [18/20] /<>/lib/contourpy/util/mpl_util.py [19/20] /<>/lib/contourpy/util/renderer.py [20/20] /<>/.mesonpy-r01wfawn/lib/contourpy/util/_build_config.py Successfully built contourpy-1.3.0-cp312-cp312-linux_aarch64.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module dh_auto_test -a -O--buildsystem=pybuild I: pybuild base:311: cd /<>/.pybuild/cpython3_3.13_contourpy/build; python3.13 -m pytest tests/test*.py ============================= test session starts ============================== platform linux -- Python 3.13.0rc3, pytest-8.3.3, pluggy-1.5.0 rootdir: /<>/.pybuild/cpython3_3.13_contourpy/build configfile: pyproject.toml plugins: typeguard-4.3.0 collected 2512 items / 1 skipped tests/test_array.py .................... [ 0%] tests/test_build_config.py . [ 0%] tests/test_chunk.py ................................................ [ 2%] tests/test_codebase.py ss. [ 2%] tests/test_config.py FsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFs [ 4%] tests/test_constructor.py .............................................. [ 6%] ........................................................................ [ 8%] ........................................................................ [ 11%] ........................................................................ [ 14%] ........................................................................ [ 17%] ........................................................................ [ 20%] ........................................................................ [ 23%] ........................................................................ [ 26%] .. [ 26%] tests/test_convert.py .................................................. [ 28%] ........................................................................ [ 31%] ........................................................................ [ 33%] ........................................................................ [ 36%] ........................................................................ [ 39%] ........................................................................ [ 42%] ........................................................................ [ 45%] ...... [ 45%] tests/test_dechunk.py .................................................. [ 47%] ................ [ 48%] tests/test_enum.py ................. [ 49%] tests/test_filled.py ............FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 51%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 53%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 56%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 59%] F..........................................................ss........... [ 62%] .ssssssssss............................................................. [ 65%] ........................................................................ [ 68%] .........................................................ss............ [ 71%] tests/test_internal.py ................................ [ 72%] tests/test_lines.py ....................................FFFFFFFFFFFFFFFF [ 74%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 77%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 80%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF............ [ 83%] .....................................ss................................. [ 85%] ........................................................................ [ 88%] .........................ss.......... [ 90%] tests/test_minimal.py .......................... [ 91%] tests/test_misc.py .. [ 91%] tests/test_renderer.py FsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsF [ 93%] sFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsF [ 96%] sFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFsFFFF [ 97%] tests/test_static.py .................................... [ 99%] tests/test_typecheck.py .............. [ 99%] tests/test_z_interp.py ........ [100%] =================================== FAILURES =================================== ______________________ test_config_filled[mpl2005-False] _______________________ show_text = False, name = 'mpl2005' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_filled(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________________ test_config_filled[mpl2014-False] _______________________ show_text = False, name = 'mpl2014' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_filled(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________________ test_config_filled[serial-False] _______________________ show_text = False, name = 'serial' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_filled(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________________ test_config_filled[threaded-False] ______________________ show_text = False, name = 'threaded' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_filled(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_config_filled_quad_as_tri[serial-False] _________________ show_text = False, name = 'serial' @pytest.mark.image @pytest.mark.text @pytest.mark.flaky(reruns=1, condition=platform.python_implementation().startswith("PyPy")) @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_config_filled_quad_as_tri(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_config_filled_quad_as_tri[threaded-False] ________________ show_text = False, name = 'threaded' @pytest.mark.image @pytest.mark.text @pytest.mark.flaky(reruns=1, condition=platform.python_implementation().startswith("PyPy")) @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_config_filled_quad_as_tri(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_config_filled_corner[mpl2014-False] ___________________ show_text = False, name = 'mpl2014' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_config_filled_corner(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_config_filled_corner[serial-False] ____________________ show_text = False, name = 'serial' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_config_filled_corner(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_config_filled_corner[threaded-False] ___________________ show_text = False, name = 'threaded' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_config_filled_corner(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________________ test_config_lines[mpl2005-False] _______________________ show_text = False, name = 'mpl2005' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_lines(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________________ test_config_lines[mpl2014-False] _______________________ show_text = False, name = 'mpl2014' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_lines(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________________ test_config_lines[serial-False] ________________________ show_text = False, name = 'serial' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_lines(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________________ test_config_lines[threaded-False] _______________________ show_text = False, name = 'threaded' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.all_names()) def test_config_lines(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_config_lines_quad_as_tri[serial-False] __________________ show_text = False, name = 'serial' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_config_lines_quad_as_tri(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_config_lines_quad_as_tri[threaded-False] _________________ show_text = False, name = 'threaded' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_config_lines_quad_as_tri(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_config_lines_corner[mpl2014-False] ____________________ show_text = False, name = 'mpl2014' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_config_lines_corner(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_config_lines_corner[serial-False] ____________________ show_text = False, name = 'serial' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_config_lines_corner(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_config_lines_corner[threaded-False] ___________________ show_text = False, name = 'threaded' @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_config_lines_corner(show_text: bool, name: str) -> None: > from . import util_config tests/test_config.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util_config.py:8: in import matplotlib.pyplot as plt /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_simple[mpl2005-OuterCode-False] __________________ name = 'mpl2005', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_simple[mpl2005-OuterCode-True] __________________ name = 'mpl2005', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_simple[mpl2014-OuterCode-False] __________________ name = 'mpl2014', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_simple[mpl2014-OuterCode-True] __________________ name = 'mpl2014', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_simple[serial-OuterCode-False] __________________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_simple[serial-OuterCode-True] ___________________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_simple[serial-OuterOffset-False] _________________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_simple[serial-OuterOffset-True] __________________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple[serial-ChunkCombinedCode-False] ______________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple[serial-ChunkCombinedCode-True] _______________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple[serial-ChunkCombinedOffset-False] _____________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple[serial-ChunkCombinedOffset-True] ______________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_simple[serial-ChunkCombinedCodeOffset-False] ___________ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_simple[serial-ChunkCombinedCodeOffset-True] ____________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple[serial-ChunkCombinedOffsetOffset-False] __________ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple[serial-ChunkCombinedOffsetOffset-True] ___________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_simple[threaded-OuterCode-False] _________________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_simple[threaded-OuterCode-True] __________________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_simple[threaded-OuterOffset-False] ________________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_simple[threaded-OuterOffset-True] _________________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple[threaded-ChunkCombinedCode-False] _____________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple[threaded-ChunkCombinedCode-True] ______________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_simple[threaded-ChunkCombinedOffset-False] ____________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_simple[threaded-ChunkCombinedOffset-True] _____________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple[threaded-ChunkCombinedCodeOffset-False] __________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple[threaded-ChunkCombinedCodeOffset-True] ___________ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple[threaded-ChunkCombinedOffsetOffset-False] _________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple[threaded-ChunkCombinedOffsetOffset-True] __________ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple_chunk[mpl2005-OuterCode-False] _______________ name = 'mpl2005', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_simple_chunk[mpl2005-OuterCode-True] _______________ name = 'mpl2005', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple_chunk[mpl2014-OuterCode-False] _______________ name = 'mpl2014', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_simple_chunk[mpl2014-OuterCode-True] _______________ name = 'mpl2014', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_simple_chunk[serial-OuterCode-False] _______________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_simple_chunk[serial-OuterCode-True] ________________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple_chunk[serial-OuterOffset-False] ______________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple_chunk[serial-OuterOffset-True] _______________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_simple_chunk[serial-ChunkCombinedCode-False] ___________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_simple_chunk[serial-ChunkCombinedCode-True] ____________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_chunk[serial-ChunkCombinedOffset-False] __________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_chunk[serial-ChunkCombinedOffset-True] ___________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_chunk[serial-ChunkCombinedCodeOffset-False] ________ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_chunk[serial-ChunkCombinedCodeOffset-True] _________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_simple_chunk[serial-ChunkCombinedOffsetOffset-False] _______ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_simple_chunk[serial-ChunkCombinedOffsetOffset-True] ________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple_chunk[threaded-OuterCode-False] ______________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_simple_chunk[threaded-OuterCode-True] _______________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple_chunk[threaded-OuterOffset-False] _____________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple_chunk[threaded-OuterOffset-True] ______________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_chunk[threaded-ChunkCombinedCode-False] __________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_chunk[threaded-ChunkCombinedCode-True] ___________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_chunk[threaded-ChunkCombinedOffset-False] _________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_chunk[threaded-ChunkCombinedOffset-True] __________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_simple_chunk[threaded-ChunkCombinedCodeOffset-False] _______ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_simple_chunk[threaded-ChunkCombinedCodeOffset-True] ________ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_simple_chunk[threaded-ChunkCombinedOffsetOffset-False] ______ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_simple_chunk[threaded-ChunkCombinedOffsetOffset-True] _______ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_simple_chunk_threads[2-OuterCode] _________________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_simple_chunk_threads[2-OuterOffset] ________________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_simple_chunk_threads[2-ChunkCombinedCode] _____________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_simple_chunk_threads[2-ChunkCombinedOffset] ____________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_chunk_threads[2-ChunkCombinedCodeOffset] __________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_chunk_threads[2-ChunkCombinedOffsetOffset] _________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_simple_chunk_threads[3-OuterCode] _________________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_simple_chunk_threads[3-OuterOffset] ________________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_simple_chunk_threads[3-ChunkCombinedCode] _____________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_simple_chunk_threads[3-ChunkCombinedOffset] ____________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_chunk_threads[3-ChunkCombinedCodeOffset] __________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_chunk_threads[3-ChunkCombinedOffsetOffset] _________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple_no_corner_mask[mpl2005-OuterCode] _____________ name = 'mpl2005', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple_no_corner_mask[mpl2014-OuterCode] _____________ name = 'mpl2014', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_simple_no_corner_mask[serial-OuterCode] ______________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_simple_no_corner_mask[serial-OuterOffset] _____________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_no_corner_mask[serial-ChunkCombinedCode] __________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_no_corner_mask[serial-ChunkCombinedOffset] _________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_simple_no_corner_mask[serial-ChunkCombinedCodeOffset] _______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_no_corner_mask[serial-ChunkCombinedOffsetOffset] ______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_simple_no_corner_mask[threaded-OuterCode] _____________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_simple_no_corner_mask[threaded-OuterOffset] ____________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_no_corner_mask[threaded-ChunkCombinedCode] _________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_simple_no_corner_mask[threaded-ChunkCombinedOffset] ________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_no_corner_mask[threaded-ChunkCombinedCodeOffset] ______ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_simple_no_corner_mask[threaded-ChunkCombinedOffsetOffset] _____ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_no_corner_mask_chunk[mpl2005-OuterCode] __________ name = 'mpl2005', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_no_corner_mask_chunk[mpl2014-OuterCode] __________ name = 'mpl2014', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_no_corner_mask_chunk[serial-OuterCode] ___________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_no_corner_mask_chunk[serial-OuterOffset] __________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedCode] _______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedOffset] ______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___ test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedCodeOffset] ____ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedOffsetOffset] ___ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_no_corner_mask_chunk[threaded-OuterCode] __________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_no_corner_mask_chunk[threaded-OuterOffset] _________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedCode] ______ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedOffset] _____ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedCodeOffset] ___ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _ test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedOffsetOffset] __ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_simple_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_no_corner_mask_chunk_threads[2-OuterCode] _________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_no_corner_mask_chunk_threads[2-OuterOffset] ________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedCode] _____ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] ____ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] __ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _ test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] _ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_no_corner_mask_chunk_threads[3-OuterCode] _________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_simple_no_corner_mask_chunk_threads[3-OuterOffset] ________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedCode] _____ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] ____ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] __ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _ test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] _ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_filled_simple_corner_mask[mpl2014] ____________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_simple_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:234: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_filled_simple_corner_mask[serial] ____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_simple_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:234: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_filled_simple_corner_mask[threaded] ___________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_simple_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:234: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_simple_corner_mask_chunk[mpl2014] _________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_simple_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_simple_corner_mask_chunk[serial] _________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_simple_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_simple_corner_mask_chunk[threaded] ________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_simple_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_corner_mask_chunk_threads[2-OuterCode] ___________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_corner_mask_chunk_threads[2-OuterOffset] __________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedCode] _______ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedOffset] ______ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___ test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] ____ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] ___ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_simple_corner_mask_chunk_threads[3-OuterCode] ___________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_simple_corner_mask_chunk_threads[3-OuterOffset] __________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedCode] _______ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedOffset] ______ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___ test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] ____ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] ___ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_simple_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_filled_simple_quad_as_tri[serial] ____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_filled_simple_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:316: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_filled_simple_quad_as_tri[threaded] ___________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_filled_simple_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:316: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_random[mpl2005-OuterCode-False] __________________ name = 'mpl2005', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_random[mpl2005-OuterCode-True] __________________ name = 'mpl2005', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_random[mpl2014-OuterCode-False] __________________ name = 'mpl2014', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_random[mpl2014-OuterCode-True] __________________ name = 'mpl2014', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_random[serial-OuterCode-False] __________________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_filled_random[serial-OuterCode-True] ___________________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_random[serial-OuterOffset-False] _________________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_random[serial-OuterOffset-True] __________________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random[serial-ChunkCombinedCode-False] ______________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random[serial-ChunkCombinedCode-True] _______________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random[serial-ChunkCombinedOffset-False] _____________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random[serial-ChunkCombinedOffset-True] ______________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_random[serial-ChunkCombinedCodeOffset-False] ___________ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_random[serial-ChunkCombinedCodeOffset-True] ____________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random[serial-ChunkCombinedOffsetOffset-False] __________ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random[serial-ChunkCombinedOffsetOffset-True] ___________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_random[threaded-OuterCode-False] _________________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_random[threaded-OuterCode-True] __________________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_random[threaded-OuterOffset-False] ________________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_random[threaded-OuterOffset-True] _________________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random[threaded-ChunkCombinedCode-False] _____________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random[threaded-ChunkCombinedCode-True] ______________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_random[threaded-ChunkCombinedOffset-False] ____________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_random[threaded-ChunkCombinedOffset-True] _____________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random[threaded-ChunkCombinedCodeOffset-False] __________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random[threaded-ChunkCombinedCodeOffset-True] ___________ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random[threaded-ChunkCombinedOffsetOffset-False] _________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random[threaded-ChunkCombinedOffsetOffset-True] __________ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random_chunk[mpl2005-OuterCode-False] _______________ name = 'mpl2005', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_random_chunk[mpl2005-OuterCode-True] _______________ name = 'mpl2005', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random_chunk[mpl2014-OuterCode-False] _______________ name = 'mpl2014', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_random_chunk[mpl2014-OuterCode-True] _______________ name = 'mpl2014', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_random_chunk[serial-OuterCode-False] _______________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_random_chunk[serial-OuterCode-True] ________________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random_chunk[serial-OuterOffset-False] ______________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random_chunk[serial-OuterOffset-True] _______________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_random_chunk[serial-ChunkCombinedCode-False] ___________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_random_chunk[serial-ChunkCombinedCode-True] ____________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_chunk[serial-ChunkCombinedOffset-False] __________ name = 'serial', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_chunk[serial-ChunkCombinedOffset-True] ___________ name = 'serial', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_chunk[serial-ChunkCombinedCodeOffset-False] ________ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_chunk[serial-ChunkCombinedCodeOffset-True] _________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_random_chunk[serial-ChunkCombinedOffsetOffset-False] _______ name = 'serial', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_random_chunk[serial-ChunkCombinedOffsetOffset-True] ________ name = 'serial', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random_chunk[threaded-OuterCode-False] ______________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_filled_random_chunk[threaded-OuterCode-True] _______________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random_chunk[threaded-OuterOffset-False] _____________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random_chunk[threaded-OuterOffset-True] ______________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_chunk[threaded-ChunkCombinedCode-False] __________ name = 'threaded', fill_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_chunk[threaded-ChunkCombinedCode-True] ___________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_chunk[threaded-ChunkCombinedOffset-False] _________ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_chunk[threaded-ChunkCombinedOffset-True] __________ name = 'threaded', fill_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_random_chunk[threaded-ChunkCombinedCodeOffset-False] _______ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_random_chunk[threaded-ChunkCombinedCodeOffset-True] ________ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_random_chunk[threaded-ChunkCombinedOffsetOffset-False] ______ name = 'threaded', fill_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_random_chunk[threaded-ChunkCombinedOffsetOffset-True] _______ name = 'threaded', fill_type = multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_chunk(name: str, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_random_chunk_threads[2-OuterCode] _________________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_random_chunk_threads[2-OuterOffset] ________________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_random_chunk_threads[2-ChunkCombinedCode] _____________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_random_chunk_threads[2-ChunkCombinedOffset] ____________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_chunk_threads[2-ChunkCombinedCodeOffset] __________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_chunk_threads[2-ChunkCombinedOffsetOffset] _________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_random_chunk_threads[3-OuterCode] _________________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_filled_random_chunk_threads[3-OuterOffset] ________________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_random_chunk_threads[3-ChunkCombinedCode] _____________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_random_chunk_threads[3-ChunkCombinedOffset] ____________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_chunk_threads[3-ChunkCombinedCodeOffset] __________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_chunk_threads[3-ChunkCombinedOffsetOffset] _________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random_no_corner_mask[mpl2005-OuterCode] _____________ name = 'mpl2005', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random_no_corner_mask[mpl2014-OuterCode] _____________ name = 'mpl2014', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_filled_random_no_corner_mask[serial-OuterCode] ______________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_random_no_corner_mask[serial-OuterOffset] _____________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_no_corner_mask[serial-ChunkCombinedCode] __________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_no_corner_mask[serial-ChunkCombinedOffset] _________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_random_no_corner_mask[serial-ChunkCombinedCodeOffset] _______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_no_corner_mask[serial-ChunkCombinedOffsetOffset] ______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_filled_random_no_corner_mask[threaded-OuterCode] _____________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_filled_random_no_corner_mask[threaded-OuterOffset] ____________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_no_corner_mask[threaded-ChunkCombinedCode] _________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_filled_random_no_corner_mask[threaded-ChunkCombinedOffset] ________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_no_corner_mask[threaded-ChunkCombinedCodeOffset] ______ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_random_no_corner_mask[threaded-ChunkCombinedOffsetOffset] _____ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_no_corner_mask_chunk[mpl2005-OuterCode] __________ name = 'mpl2005', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_no_corner_mask_chunk[mpl2014-OuterCode] __________ name = 'mpl2014', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_no_corner_mask_chunk[serial-OuterCode] ___________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_no_corner_mask_chunk[serial-OuterOffset] __________ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedCode] _______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedOffset] ______ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___ test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedCodeOffset] ____ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedOffsetOffset] ___ name = 'serial', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_no_corner_mask_chunk[threaded-OuterCode] __________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_no_corner_mask_chunk[threaded-OuterOffset] _________ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedCode] ______ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedOffset] _____ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedCodeOffset] ___ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _ test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedOffsetOffset] __ name = 'threaded', fill_type = @pytest.mark.image @pytest.mark.parametrize("name, fill_type", util_test.all_names_and_fill_types()) def test_filled_random_no_corner_mask_chunk(name: str, fill_type: FillType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_no_corner_mask_chunk_threads[2-OuterCode] _________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_no_corner_mask_chunk_threads[2-OuterOffset] ________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedCode] _____ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] ____ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] __ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _ test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] _ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_no_corner_mask_chunk_threads[3-OuterCode] _________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_filled_random_no_corner_mask_chunk_threads[3-OuterOffset] ________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedCode] _____ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] ____ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] __ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _ test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] _ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_no_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_filled_random_corner_mask[mpl2014] ____________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_random_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:547: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_filled_random_corner_mask[serial] ____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_random_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:547: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_filled_random_corner_mask[threaded] ___________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_random_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:547: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_random_corner_mask_chunk[mpl2014] _________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_random_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:570: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_filled_random_corner_mask_chunk[serial] _________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_random_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:570: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_filled_random_corner_mask_chunk[threaded] ________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_filled_random_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:570: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_corner_mask_chunk_threads[2-OuterCode] ___________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_corner_mask_chunk_threads[2-OuterOffset] __________ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedCode] _______ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedOffset] ______ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___ test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] ____ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] ___ fill_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_filled_random_corner_mask_chunk_threads[3-OuterCode] ___________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_filled_random_corner_mask_chunk_threads[3-OuterOffset] __________ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedCode] _______ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedOffset] ______ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___ test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] ____ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __ test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] ___ fill_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("fill_type", FillType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_filled_random_corner_mask_chunk_threads(fill_type: FillType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:606: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_filled_random_quad_as_tri[serial] ____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_filled_random_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_filled_random_quad_as_tri[threaded] ___________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_filled_random_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_filled.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_simple[mpl2005-SeparateCode-False] _________________ name = 'mpl2005', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple[mpl2005-SeparateCode-True] _________________ name = 'mpl2005', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_simple[mpl2014-SeparateCode-False] _________________ name = 'mpl2014', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple[mpl2014-SeparateCode-True] _________________ name = 'mpl2014', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_simple[serial-Separate-False] ___________________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_simple[serial-Separate-True] ____________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple[serial-SeparateCode-False] _________________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple[serial-SeparateCode-True] __________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple[serial-ChunkCombinedCode-False] _______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_simple[serial-ChunkCombinedCode-True] _______________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple[serial-ChunkCombinedOffset-False] ______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple[serial-ChunkCombinedOffset-True] ______________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_simple[serial-ChunkCombinedNan-False] _______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_simple[serial-ChunkCombinedNan-True] ________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_lines_simple[threaded-Separate-False] __________________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_lines_simple[threaded-Separate-True] ___________________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_simple[threaded-SeparateCode-False] ________________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_simple[threaded-SeparateCode-True] _________________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple[threaded-ChunkCombinedCode-False] ______________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple[threaded-ChunkCombinedCode-True] ______________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple[threaded-ChunkCombinedOffset-False] _____________ name = 'threaded', line_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple[threaded-ChunkCombinedOffset-True] _____________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple[threaded-ChunkCombinedNan-False] ______________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple[threaded-ChunkCombinedNan-True] _______________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk[mpl2005-SeparateCode-False] ______________ name = 'mpl2005', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple_chunk[mpl2005-SeparateCode-True] ______________ name = 'mpl2005', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk[mpl2014-SeparateCode-False] ______________ name = 'mpl2014', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple_chunk[mpl2014-SeparateCode-True] ______________ name = 'mpl2014', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_simple_chunk[serial-Separate-False] ________________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_simple_chunk[serial-Separate-True] _________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple_chunk[serial-SeparateCode-False] ______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple_chunk[serial-SeparateCode-True] _______________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_chunk[serial-ChunkCombinedCode-False] ____________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_chunk[serial-ChunkCombinedCode-True] ____________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_chunk[serial-ChunkCombinedOffset-False] ___________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_chunk[serial-ChunkCombinedOffset-True] ___________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_chunk[serial-ChunkCombinedNan-False] ____________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_chunk[serial-ChunkCombinedNan-True] _____________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_simple_chunk[threaded-Separate-False] _______________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_simple_chunk[threaded-Separate-True] ________________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk[threaded-SeparateCode-False] _____________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk[threaded-SeparateCode-True] ______________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_chunk[threaded-ChunkCombinedCode-False] ___________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_chunk[threaded-ChunkCombinedCode-True] ___________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_chunk[threaded-ChunkCombinedOffset-False] __________ name = 'threaded', line_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_chunk[threaded-ChunkCombinedOffset-True] __________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_chunk[threaded-ChunkCombinedNan-False] ___________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_chunk[threaded-ChunkCombinedNan-True] ____________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple_chunk_threads[2-Separate] __________________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_simple_chunk_threads[2-SeparateCode] ________________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk_threads[2-ChunkCombinedCode] _____________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_chunk_threads[2-ChunkCombinedOffset] ____________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk_threads[2-ChunkCombinedNan] ______________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple_chunk_threads[3-Separate] __________________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_simple_chunk_threads[3-SeparateCode] ________________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk_threads[3-ChunkCombinedCode] _____________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_chunk_threads[3-ChunkCombinedOffset] ____________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_chunk_threads[3-ChunkCombinedNan] ______________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_no_corner_mask[mpl2005-SeparateCode] ____________ name = 'mpl2005', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_no_corner_mask[mpl2014-SeparateCode] ____________ name = 'mpl2014', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_simple_no_corner_mask[serial-Separate] _______________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_simple_no_corner_mask[serial-SeparateCode] _____________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_no_corner_mask[serial-ChunkCombinedCode] __________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_no_corner_mask[serial-ChunkCombinedOffset] _________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_no_corner_mask[serial-ChunkCombinedNan] ___________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_simple_no_corner_mask[threaded-Separate] ______________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_no_corner_mask[threaded-SeparateCode] ____________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_no_corner_mask[threaded-ChunkCombinedCode] _________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_simple_no_corner_mask[threaded-ChunkCombinedOffset] ________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_no_corner_mask[threaded-ChunkCombinedNan] __________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_no_corner_mask_chunk[mpl2005-SeparateCode] _________ name = 'mpl2005', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_no_corner_mask_chunk[mpl2014-SeparateCode] _________ name = 'mpl2014', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_no_corner_mask_chunk[serial-Separate] ____________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_no_corner_mask_chunk[serial-SeparateCode] __________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_simple_no_corner_mask_chunk[serial-ChunkCombinedCode] _______ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_simple_no_corner_mask_chunk[serial-ChunkCombinedOffset] ______ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_simple_no_corner_mask_chunk[serial-ChunkCombinedNan] ________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_no_corner_mask_chunk[threaded-Separate] ___________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_simple_no_corner_mask_chunk[threaded-SeparateCode] _________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_simple_no_corner_mask_chunk[threaded-ChunkCombinedCode] ______ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_lines_simple_no_corner_mask_chunk[threaded-ChunkCombinedOffset] _____ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_simple_no_corner_mask_chunk[threaded-ChunkCombinedNan] _______ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_simple_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_no_corner_mask_chunk_threads[2-Separate] __________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_simple_no_corner_mask_chunk_threads[2-SeparateCode] ________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_lines_simple_no_corner_mask_chunk_threads[2-ChunkCombinedCode] ______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_lines_simple_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] _____ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_simple_no_corner_mask_chunk_threads[2-ChunkCombinedNan] ______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_simple_no_corner_mask_chunk_threads[3-Separate] __________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_simple_no_corner_mask_chunk_threads[3-SeparateCode] ________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_lines_simple_no_corner_mask_chunk_threads[3-ChunkCombinedCode] ______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_lines_simple_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] _____ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_simple_no_corner_mask_chunk_threads[3-ChunkCombinedNan] ______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_lines_simple_corner_mask[mpl2014] ____________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_simple_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_lines_simple_corner_mask[serial] _____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_simple_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_simple_corner_mask[threaded] ____________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_simple_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple_corner_mask_chunk[mpl2014] _________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_simple_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:299: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_simple_corner_mask_chunk[serial] __________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_simple_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:299: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_simple_corner_mask_chunk[threaded] _________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_simple_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:299: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_corner_mask_chunk_threads[2-Separate] ____________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_corner_mask_chunk_threads[2-SeparateCode] __________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_simple_corner_mask_chunk_threads[2-ChunkCombinedCode] _______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_simple_corner_mask_chunk_threads[2-ChunkCombinedOffset] ______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_simple_corner_mask_chunk_threads[2-ChunkCombinedNan] ________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_simple_corner_mask_chunk_threads[3-Separate] ____________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_simple_corner_mask_chunk_threads[3-SeparateCode] __________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_simple_corner_mask_chunk_threads[3-ChunkCombinedCode] _______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_simple_corner_mask_chunk_threads[3-ChunkCombinedOffset] ______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_simple_corner_mask_chunk_threads[3-ChunkCombinedNan] ________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_simple_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_lines_simple_quad_as_tri[serial] _____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_lines_simple_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_simple_quad_as_tri[threaded] ____________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_lines_simple_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_random[mpl2005-SeparateCode-False] _________________ name = 'mpl2005', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random[mpl2005-SeparateCode-True] _________________ name = 'mpl2005', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_random[mpl2014-SeparateCode-False] _________________ name = 'mpl2014', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random[mpl2014-SeparateCode-True] _________________ name = 'mpl2014', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_random[serial-Separate-False] ___________________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_random[serial-Separate-True] ____________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random[serial-SeparateCode-False] _________________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random[serial-SeparateCode-True] __________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random[serial-ChunkCombinedCode-False] _______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_random[serial-ChunkCombinedCode-True] _______________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random[serial-ChunkCombinedOffset-False] ______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random[serial-ChunkCombinedOffset-True] ______________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_random[serial-ChunkCombinedNan-False] _______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_random[serial-ChunkCombinedNan-True] ________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_lines_random[threaded-Separate-False] __________________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________________ test_lines_random[threaded-Separate-True] ___________________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_random[threaded-SeparateCode-False] ________________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_random[threaded-SeparateCode-True] _________________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random[threaded-ChunkCombinedCode-False] ______________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random[threaded-ChunkCombinedCode-True] ______________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random[threaded-ChunkCombinedOffset-False] _____________ name = 'threaded', line_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random[threaded-ChunkCombinedOffset-True] _____________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random[threaded-ChunkCombinedNan-False] ______________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random[threaded-ChunkCombinedNan-True] _______________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk[mpl2005-SeparateCode-False] ______________ name = 'mpl2005', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random_chunk[mpl2005-SeparateCode-True] ______________ name = 'mpl2005', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk[mpl2014-SeparateCode-False] ______________ name = 'mpl2014', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random_chunk[mpl2014-SeparateCode-True] ______________ name = 'mpl2014', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_random_chunk[serial-Separate-False] ________________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_random_chunk[serial-Separate-True] _________________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random_chunk[serial-SeparateCode-False] ______________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random_chunk[serial-SeparateCode-True] _______________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_chunk[serial-ChunkCombinedCode-False] ____________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_chunk[serial-ChunkCombinedCode-True] ____________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_chunk[serial-ChunkCombinedOffset-False] ___________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_chunk[serial-ChunkCombinedOffset-True] ___________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_chunk[serial-ChunkCombinedNan-False] ____________ name = 'serial', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_chunk[serial-ChunkCombinedNan-True] _____________ name = 'serial', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_random_chunk[threaded-Separate-False] _______________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_random_chunk[threaded-Separate-True] ________________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk[threaded-SeparateCode-False] _____________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk[threaded-SeparateCode-True] ______________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_chunk[threaded-ChunkCombinedCode-False] ___________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_chunk[threaded-ChunkCombinedCode-True] ___________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_chunk[threaded-ChunkCombinedOffset-False] __________ name = 'threaded', line_type = multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_chunk[threaded-ChunkCombinedOffset-True] __________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_chunk[threaded-ChunkCombinedNan-False] ___________ name = 'threaded', line_type = , multi = False @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_chunk[threaded-ChunkCombinedNan-True] ____________ name = 'threaded', line_type = , multi = True @pytest.mark.image @pytest.mark.parametrize("multi", [False, True]) @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_chunk(name: str, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random_chunk_threads[2-Separate] __________________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_random_chunk_threads[2-SeparateCode] ________________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk_threads[2-ChunkCombinedCode] _____________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_chunk_threads[2-ChunkCombinedOffset] ____________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk_threads[2-ChunkCombinedNan] ______________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random_chunk_threads[3-Separate] __________________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_lines_random_chunk_threads[3-SeparateCode] ________________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk_threads[3-ChunkCombinedCode] _____________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_chunk_threads[3-ChunkCombinedOffset] ____________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_chunk_threads[3-ChunkCombinedNan] ______________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_no_corner_mask[mpl2005-SeparateCode] ____________ name = 'mpl2005', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_no_corner_mask[mpl2014-SeparateCode] ____________ name = 'mpl2014', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_lines_random_no_corner_mask[serial-Separate] _______________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_lines_random_no_corner_mask[serial-SeparateCode] _____________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_no_corner_mask[serial-ChunkCombinedCode] __________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_no_corner_mask[serial-ChunkCombinedOffset] _________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_no_corner_mask[serial-ChunkCombinedNan] ___________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_lines_random_no_corner_mask[threaded-Separate] ______________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_no_corner_mask[threaded-SeparateCode] ____________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_no_corner_mask[threaded-ChunkCombinedCode] _________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_random_no_corner_mask[threaded-ChunkCombinedOffset] ________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_no_corner_mask[threaded-ChunkCombinedNan] __________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_no_corner_mask_chunk[mpl2005-SeparateCode] _________ name = 'mpl2005', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_no_corner_mask_chunk[mpl2014-SeparateCode] _________ name = 'mpl2014', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_no_corner_mask_chunk[serial-Separate] ____________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_no_corner_mask_chunk[serial-SeparateCode] __________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_random_no_corner_mask_chunk[serial-ChunkCombinedCode] _______ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_random_no_corner_mask_chunk[serial-ChunkCombinedOffset] ______ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_random_no_corner_mask_chunk[serial-ChunkCombinedNan] ________ name = 'serial', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_no_corner_mask_chunk[threaded-Separate] ___________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_random_no_corner_mask_chunk[threaded-SeparateCode] _________ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_random_no_corner_mask_chunk[threaded-ChunkCombinedCode] ______ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_lines_random_no_corner_mask_chunk[threaded-ChunkCombinedOffset] _____ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_random_no_corner_mask_chunk[threaded-ChunkCombinedNan] _______ name = 'threaded', line_type = @pytest.mark.image @pytest.mark.parametrize("name, line_type", util_test.all_names_and_line_types()) def test_lines_random_no_corner_mask_chunk(name: str, line_type: LineType) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_no_corner_mask_chunk_threads[2-Separate] __________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_random_no_corner_mask_chunk_threads[2-SeparateCode] ________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_lines_random_no_corner_mask_chunk_threads[2-ChunkCombinedCode] ______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_lines_random_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] _____ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_random_no_corner_mask_chunk_threads[2-ChunkCombinedNan] ______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_lines_random_no_corner_mask_chunk_threads[3-Separate] __________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_lines_random_no_corner_mask_chunk_threads[3-SeparateCode] ________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____ test_lines_random_no_corner_mask_chunk_threads[3-ChunkCombinedCode] ______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____ test_lines_random_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] _____ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_random_no_corner_mask_chunk_threads[3-ChunkCombinedNan] ______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_no_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_lines_random_corner_mask[mpl2014] ____________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_random_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:549: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_lines_random_corner_mask[serial] _____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_random_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:549: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_random_corner_mask[threaded] ____________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_random_corner_mask(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:549: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random_corner_mask_chunk[mpl2014] _________________ name = 'mpl2014' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_random_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________________ test_lines_random_corner_mask_chunk[serial] __________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_random_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_lines_random_corner_mask_chunk[threaded] _________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.corner_mask_names()) def test_lines_random_corner_mask_chunk(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_corner_mask_chunk_threads[2-Separate] ____________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_corner_mask_chunk_threads[2-SeparateCode] __________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_random_corner_mask_chunk_threads[2-ChunkCombinedCode] _______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_random_corner_mask_chunk_threads[2-ChunkCombinedOffset] ______ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_random_corner_mask_chunk_threads[2-ChunkCombinedNan] ________ line_type = , thread_count = 2 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_lines_random_corner_mask_chunk_threads[3-Separate] ____________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_lines_random_corner_mask_chunk_threads[3-SeparateCode] __________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_random_corner_mask_chunk_threads[3-ChunkCombinedCode] _______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_lines_random_corner_mask_chunk_threads[3-ChunkCombinedOffset] ______ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_lines_random_corner_mask_chunk_threads[3-ChunkCombinedNan] ________ line_type = , thread_count = 3 @pytest.mark.image @pytest.mark.threads @pytest.mark.parametrize("line_type", LineType.__members__.values()) @pytest.mark.parametrize("thread_count", util_test.thread_counts()) def test_lines_random_corner_mask_chunk_threads(line_type: LineType, thread_count: int) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________________ test_lines_random_quad_as_tri[serial] _____________________ name = 'serial' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_lines_random_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:626: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________________ test_lines_random_quad_as_tri[threaded] ____________________ name = 'threaded' @pytest.mark.image @pytest.mark.parametrize("name", util_test.quad_as_tri_names()) def test_lines_random_quad_as_tri(name: str) -> None: > from contourpy.util.mpl_renderer import MplTestRenderer tests/test_lines.py:626: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_debug_renderer_filled[False-OuterCode0-False] ______________ show_text = False, fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_debug_renderer_filled[False-OuterOffset-False] ______________ show_text = False, fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_debug_renderer_filled[False-ChunkCombinedCode-False] ___________ show_text = False, fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_debug_renderer_filled[False-ChunkCombinedOffset-False] __________ show_text = False, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_debug_renderer_filled[False-ChunkCombinedCodeOffset-False] ________ show_text = False, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_debug_renderer_filled[False-ChunkCombinedOffsetOffset-False] _______ show_text = False, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_debug_renderer_filled[False-OuterCode1-False] ______________ show_text = False, fill_type = 'OuterCode', multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_debug_renderer_filled[True-OuterCode0-False] _______________ show_text = False, fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_debug_renderer_filled[True-OuterOffset-False] ______________ show_text = False, fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_debug_renderer_filled[True-ChunkCombinedCode-False] ___________ show_text = False, fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_debug_renderer_filled[True-ChunkCombinedOffset-False] __________ show_text = False, fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_debug_renderer_filled[True-ChunkCombinedCodeOffset-False] ________ show_text = False, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_debug_renderer_filled[True-ChunkCombinedOffsetOffset-False] _______ show_text = False, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_debug_renderer_filled[True-OuterCode1-False] _______________ show_text = False, fill_type = 'OuterCode', multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_filled(show_text: bool, fill_type: FillType | str, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_debug_renderer_lines[False-Separate0-False] _______________ show_text = False, line_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_debug_renderer_lines[False-SeparateCode-False] ______________ show_text = False, line_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_debug_renderer_lines[False-ChunkCombinedCode-False] ___________ show_text = False, line_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_debug_renderer_lines[False-ChunkCombinedOffset-False] __________ show_text = False, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_debug_renderer_lines[False-ChunkCombinedNan-False] ____________ show_text = False, line_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_debug_renderer_lines[False-Separate1-False] _______________ show_text = False, line_type = 'Separate', multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_debug_renderer_lines[True-Separate0-False] ________________ show_text = False, line_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_debug_renderer_lines[True-SeparateCode-False] ______________ show_text = False, line_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_debug_renderer_lines[True-ChunkCombinedCode-False] ____________ show_text = False, line_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_debug_renderer_lines[True-ChunkCombinedOffset-False] ___________ show_text = False, line_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_debug_renderer_lines[True-ChunkCombinedNan-False] ____________ show_text = False, line_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_debug_renderer_lines[True-Separate1-False] ________________ show_text = False, line_type = 'Separate', multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_debug_renderer_lines(show_text: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer tests/test_renderer.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[False-OuterCode0-False-False] ______________ show_text = False, debug = False, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[False-OuterCode0-True-False] _______________ show_text = False, debug = True, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_renderer_filled[False-OuterOffset-False-False] ______________ show_text = False, debug = False, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[False-OuterOffset-True-False] ______________ show_text = False, debug = True, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_renderer_filled[False-ChunkCombinedCode-False-False] ___________ show_text = False, debug = False, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_filled[False-ChunkCombinedCode-True-False] ___________ show_text = False, debug = True, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _________ test_renderer_filled[False-ChunkCombinedOffset-False-False] __________ show_text = False, debug = False fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_renderer_filled[False-ChunkCombinedOffset-True-False] __________ show_text = False, debug = True, fill_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_renderer_filled[False-ChunkCombinedCodeOffset-False-False] ________ show_text = False, debug = False fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_renderer_filled[False-ChunkCombinedCodeOffset-True-False] ________ show_text = False, debug = True fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______ test_renderer_filled[False-ChunkCombinedOffsetOffset-False-False] _______ show_text = False, debug = False fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_renderer_filled[False-ChunkCombinedOffsetOffset-True-False] _______ show_text = False, debug = True fill_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[False-OuterCode1-False-False] ______________ show_text = False, debug = False, fill_type = 'OuterCode', multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[False-OuterCode1-True-False] _______________ show_text = False, debug = True, fill_type = 'OuterCode', multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[True-OuterCode0-False-False] _______________ show_text = False, debug = False, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_filled[True-OuterCode0-True-False] _______________ show_text = False, debug = True, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[True-OuterOffset-False-False] ______________ show_text = False, debug = False, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[True-OuterOffset-True-False] _______________ show_text = False, debug = True, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_filled[True-ChunkCombinedCode-False-False] ___________ show_text = False, debug = False, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_filled[True-ChunkCombinedCode-True-False] ____________ show_text = False, debug = True, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_renderer_filled[True-ChunkCombinedOffset-False-False] __________ show_text = False, debug = False fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_renderer_filled[True-ChunkCombinedOffset-True-False] ___________ show_text = False, debug = True, fill_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_renderer_filled[True-ChunkCombinedCodeOffset-False-False] ________ show_text = False, debug = False fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________ test_renderer_filled[True-ChunkCombinedCodeOffset-True-False] _________ show_text = False, debug = True fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_renderer_filled[True-ChunkCombinedOffsetOffset-False-False] _______ show_text = False, debug = False fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______ test_renderer_filled[True-ChunkCombinedOffsetOffset-True-False] ________ show_text = False, debug = True fill_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_filled[True-OuterCode1-False-False] _______________ show_text = False, debug = False, fill_type = 'OuterCode', multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_filled[True-OuterCode1-True-False] _______________ show_text = False, debug = True, fill_type = 'OuterCode', multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("fill_type", [*FillType.__members__.values(), "OuterCode"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_filled(show_text: bool, debug: bool, fill_type: FillType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_lines[False-Separate0-False-False] _______________ show_text = False, debug = False, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_lines[False-Separate0-True-False] ________________ show_text = False, debug = True, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________ test_renderer_lines[False-SeparateCode-False-False] ______________ show_text = False, debug = False, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_lines[False-SeparateCode-True-False] ______________ show_text = False, debug = True, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_lines[False-ChunkCombinedCode-False-False] ___________ show_text = False, debug = False, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_lines[False-ChunkCombinedCode-True-False] ____________ show_text = False, debug = True, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_renderer_lines[False-ChunkCombinedOffset-False-False] __________ show_text = False, debug = False line_type = , multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_renderer_lines[False-ChunkCombinedOffset-True-False] ___________ show_text = False, debug = True, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_lines[False-ChunkCombinedNan-False-False] ____________ show_text = False, debug = False, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_renderer_lines[False-ChunkCombinedNan-True-False] ____________ show_text = False, debug = True, line_type = multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_lines[False-Separate1-False-False] _______________ show_text = False, debug = False, line_type = 'Separate', multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_lines[False-Separate1-True-False] ________________ show_text = False, debug = True, line_type = 'Separate', multi = False @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_lines[True-Separate0-False-False] ________________ show_text = False, debug = False, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_renderer_lines[True-Separate0-True-False] ________________ show_text = False, debug = True, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_lines[True-SeparateCode-False-False] ______________ show_text = False, debug = False, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ______________ test_renderer_lines[True-SeparateCode-True-False] _______________ show_text = False, debug = True, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_lines[True-ChunkCombinedCode-False-False] ____________ show_text = False, debug = False, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_renderer_lines[True-ChunkCombinedCode-True-False] ____________ show_text = False, debug = True, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError __________ test_renderer_lines[True-ChunkCombinedOffset-False-False] ___________ show_text = False, debug = False line_type = , multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ___________ test_renderer_lines[True-ChunkCombinedOffset-True-False] ___________ show_text = False, debug = True, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_renderer_lines[True-ChunkCombinedNan-False-False] ____________ show_text = False, debug = False, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ____________ test_renderer_lines[True-ChunkCombinedNan-True-False] _____________ show_text = False, debug = True, line_type = multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _______________ test_renderer_lines[True-Separate1-False-False] ________________ show_text = False, debug = False, line_type = 'Separate', multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError ________________ test_renderer_lines[True-Separate1-True-False] ________________ show_text = False, debug = True, line_type = 'Separate', multi = True @pytest.mark.image @pytest.mark.text @pytest.mark.parametrize("show_text", [False, True]) @pytest.mark.parametrize("debug", [False, True]) @pytest.mark.parametrize("line_type", [*LineType.__members__.values(), "Separate"]) @pytest.mark.parametrize("multi", [False, True]) def test_renderer_lines(show_text: bool, debug: bool, line_type: LineType, multi: bool) -> None: > from contourpy.util.mpl_renderer import MplDebugRenderer, MplRenderer tests/test_renderer.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________________________ test_save_png[False] _____________________________ transparent = False tmpdir = local('/tmp/pytest-of-debusine-worker/pytest-0/test_save_png_False_0') @pytest.mark.image @pytest.mark.parametrize("transparent", [False, True]) def test_save_png(transparent: bool, tmpdir: LocalPath) -> None: > from PIL import Image tests/test_renderer.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________________________ test_save_png[True] ______________________________ transparent = True tmpdir = local('/tmp/pytest-of-debusine-worker/pytest-0/test_save_png_True_0') @pytest.mark.image @pytest.mark.parametrize("transparent", [False, True]) def test_save_png(transparent: bool, tmpdir: LocalPath) -> None: > from PIL import Image tests/test_renderer.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________________________ test_save_svg[False] _____________________________ transparent = False tmpdir = local('/tmp/pytest-of-debusine-worker/pytest-0/test_save_svg_False_0') @pytest.mark.image @pytest.mark.parametrize("transparent", [False, True]) def test_save_svg(transparent: bool, tmpdir: LocalPath) -> None: > from contourpy.util.mpl_renderer import MplRenderer tests/test_renderer.py:213: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError _____________________________ test_save_svg[True] ______________________________ transparent = True tmpdir = local('/tmp/pytest-of-debusine-worker/pytest-0/test_save_svg_True_0') @pytest.mark.image @pytest.mark.parametrize("transparent", [False, True]) def test_save_svg(transparent: bool, tmpdir: LocalPath) -> None: > from contourpy.util.mpl_renderer import MplRenderer tests/test_renderer.py:213: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ contourpy/util/mpl_renderer.py:6: in import matplotlib.collections as mcollections /usr/lib/python3/dist-packages/matplotlib/__init__.py:161: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:27: in from matplotlib.colors import Colormap, is_color_like /usr/lib/python3/dist-packages/matplotlib/colors.py:52: in from PIL import Image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # The Python Imaging Library. # $Id$ # # the Image class wrapper # # partial release history: # 1995-09-09 fl Created # 1996-03-11 fl PIL release 0.0 (proof of concept) # 1996-04-30 fl PIL release 0.1b1 # 1999-07-28 fl PIL release 1.0 final # 2000-06-07 fl PIL release 1.1 # 2000-10-20 fl PIL release 1.1.1 # 2001-05-07 fl PIL release 1.1.2 # 2002-03-15 fl PIL release 1.1.3 # 2003-05-10 fl PIL release 1.1.4 # 2005-03-28 fl PIL release 1.1.5 # 2006-12-02 fl PIL release 1.1.6 # 2009-11-15 fl PIL release 1.1.7 # # Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved. # Copyright (c) 1995-2009 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # from __future__ import annotations import abc import atexit import builtins import io import logging import math import os import re import struct import sys import tempfile import warnings from collections.abc import Callable, MutableMapping from enum import IntEnum from types import ModuleType from typing import ( IO, TYPE_CHECKING, Any, Literal, Protocol, Sequence, Tuple, cast, ) # VERSION was removed in Pillow 6.0.0. # PILLOW_VERSION was removed in Pillow 9.0.0. # Use __version__ instead. from . import ( ExifTags, ImageMode, TiffTags, UnidentifiedImageError, __version__, _plugins, ) from ._binary import i32le, o32be, o32le from ._deprecate import deprecate from ._typing import StrOrBytesPath, TypeGuard from ._util import DeferredError, is_path ElementTree: ModuleType | None try: from defusedxml import ElementTree except ImportError: ElementTree = None logger = logging.getLogger(__name__) class DecompressionBombWarning(RuntimeWarning): pass class DecompressionBombError(Exception): pass WARN_POSSIBLE_FORMATS: bool = False # Limit to around a quarter gigabyte for a 24-bit (3 bpp) image MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3) try: # If the _imaging C module is not present, Pillow will not load. # Note that other modules should not refer to _imaging directly; # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. > from . import _imaging as core E ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py) /usr/lib/python3/dist-packages/PIL/Image.py:100: ImportError =============================== warnings summary =============================== tests/test_config.py:38 /<>/.pybuild/cpython3_3.13_contourpy/build/tests/test_config.py:38: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.flaky(reruns=1, condition=platform.python_implementation().startswith("PyPy")) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_config.py::test_config_filled[mpl2005-False] - ImportError:... FAILED tests/test_config.py::test_config_filled[mpl2014-False] - ImportError:... FAILED tests/test_config.py::test_config_filled[serial-False] - ImportError: ... FAILED tests/test_config.py::test_config_filled[threaded-False] - ImportError... FAILED tests/test_config.py::test_config_filled_quad_as_tri[serial-False] - I... FAILED tests/test_config.py::test_config_filled_quad_as_tri[threaded-False] FAILED tests/test_config.py::test_config_filled_corner[mpl2014-False] - Impor... FAILED tests/test_config.py::test_config_filled_corner[serial-False] - Import... FAILED tests/test_config.py::test_config_filled_corner[threaded-False] - Impo... FAILED tests/test_config.py::test_config_lines[mpl2005-False] - ImportError: ... FAILED tests/test_config.py::test_config_lines[mpl2014-False] - ImportError: ... FAILED tests/test_config.py::test_config_lines[serial-False] - ImportError: c... FAILED tests/test_config.py::test_config_lines[threaded-False] - ImportError:... FAILED tests/test_config.py::test_config_lines_quad_as_tri[serial-False] - Im... FAILED tests/test_config.py::test_config_lines_quad_as_tri[threaded-False] - ... FAILED tests/test_config.py::test_config_lines_corner[mpl2014-False] - Import... FAILED tests/test_config.py::test_config_lines_corner[serial-False] - ImportE... FAILED tests/test_config.py::test_config_lines_corner[threaded-False] - Impor... FAILED tests/test_filled.py::test_filled_simple[mpl2005-OuterCode-False] - Im... FAILED tests/test_filled.py::test_filled_simple[mpl2005-OuterCode-True] - Imp... FAILED tests/test_filled.py::test_filled_simple[mpl2014-OuterCode-False] - Im... FAILED tests/test_filled.py::test_filled_simple[mpl2014-OuterCode-True] - Imp... FAILED tests/test_filled.py::test_filled_simple[serial-OuterCode-False] - Imp... FAILED tests/test_filled.py::test_filled_simple[serial-OuterCode-True] - Impo... FAILED tests/test_filled.py::test_filled_simple[serial-OuterOffset-False] - I... FAILED tests/test_filled.py::test_filled_simple[serial-OuterOffset-True] - Im... FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_simple[serial-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_simple[threaded-OuterCode-False] - I... FAILED tests/test_filled.py::test_filled_simple[threaded-OuterCode-True] - Im... FAILED tests/test_filled.py::test_filled_simple[threaded-OuterOffset-False] FAILED tests/test_filled.py::test_filled_simple[threaded-OuterOffset-True] - ... FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_simple[threaded-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[mpl2005-OuterCode-False] FAILED tests/test_filled.py::test_filled_simple_chunk[mpl2005-OuterCode-True] FAILED tests/test_filled.py::test_filled_simple_chunk[mpl2014-OuterCode-False] FAILED tests/test_filled.py::test_filled_simple_chunk[mpl2014-OuterCode-True] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-OuterCode-False] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-OuterCode-True] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-OuterOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-OuterOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[serial-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-OuterCode-False] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-OuterCode-True] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-OuterOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-OuterOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_simple_chunk[threaded-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[2-OuterCode] - ... FAILED tests/test_filled.py::test_filled_simple_chunk_threads[2-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[2-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[2-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[3-OuterCode] - ... FAILED tests/test_filled.py::test_filled_simple_chunk_threads[3-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[3-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_chunk_threads[3-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[mpl2005-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[mpl2014-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[serial-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[serial-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[serial-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[serial-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[serial-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[serial-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[threaded-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[threaded-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[threaded-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[threaded-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[threaded-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask[threaded-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[mpl2005-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[mpl2014-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[serial-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[serial-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[serial-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[threaded-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[threaded-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk[threaded-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[2-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[2-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[3-OuterCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[3-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_no_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask[mpl2014] - Import... FAILED tests/test_filled.py::test_filled_simple_corner_mask[serial] - ImportE... FAILED tests/test_filled.py::test_filled_simple_corner_mask[threaded] - Impor... FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk[mpl2014] - ... FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk[serial] - I... FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk[threaded] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[2-OuterCode] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[2-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[3-OuterCode] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[3-OuterOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_simple_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_simple_quad_as_tri[serial] - ImportE... FAILED tests/test_filled.py::test_filled_simple_quad_as_tri[threaded] - Impor... FAILED tests/test_filled.py::test_filled_random[mpl2005-OuterCode-False] - Im... FAILED tests/test_filled.py::test_filled_random[mpl2005-OuterCode-True] - Imp... FAILED tests/test_filled.py::test_filled_random[mpl2014-OuterCode-False] - Im... FAILED tests/test_filled.py::test_filled_random[mpl2014-OuterCode-True] - Imp... FAILED tests/test_filled.py::test_filled_random[serial-OuterCode-False] - Imp... FAILED tests/test_filled.py::test_filled_random[serial-OuterCode-True] - Impo... FAILED tests/test_filled.py::test_filled_random[serial-OuterOffset-False] - I... FAILED tests/test_filled.py::test_filled_random[serial-OuterOffset-True] - Im... FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_random[serial-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_random[threaded-OuterCode-False] - I... FAILED tests/test_filled.py::test_filled_random[threaded-OuterCode-True] - Im... FAILED tests/test_filled.py::test_filled_random[threaded-OuterOffset-False] FAILED tests/test_filled.py::test_filled_random[threaded-OuterOffset-True] - ... FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_random[threaded-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[mpl2005-OuterCode-False] FAILED tests/test_filled.py::test_filled_random_chunk[mpl2005-OuterCode-True] FAILED tests/test_filled.py::test_filled_random_chunk[mpl2014-OuterCode-False] FAILED tests/test_filled.py::test_filled_random_chunk[mpl2014-OuterCode-True] FAILED tests/test_filled.py::test_filled_random_chunk[serial-OuterCode-False] FAILED tests/test_filled.py::test_filled_random_chunk[serial-OuterCode-True] FAILED tests/test_filled.py::test_filled_random_chunk[serial-OuterOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[serial-OuterOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[serial-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-OuterCode-False] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-OuterCode-True] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-OuterOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-OuterOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedCode-False] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedCode-True] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedCodeOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedCodeOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedOffsetOffset-False] FAILED tests/test_filled.py::test_filled_random_chunk[threaded-ChunkCombinedOffsetOffset-True] FAILED tests/test_filled.py::test_filled_random_chunk_threads[2-OuterCode] - ... FAILED tests/test_filled.py::test_filled_random_chunk_threads[2-OuterOffset] FAILED tests/test_filled.py::test_filled_random_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_chunk_threads[2-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_chunk_threads[2-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_chunk_threads[3-OuterCode] - ... FAILED tests/test_filled.py::test_filled_random_chunk_threads[3-OuterOffset] FAILED tests/test_filled.py::test_filled_random_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_chunk_threads[3-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_chunk_threads[3-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[mpl2005-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[mpl2014-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[serial-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[serial-OuterOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[serial-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[serial-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[serial-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[serial-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[threaded-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[threaded-OuterOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[threaded-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[threaded-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[threaded-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask[threaded-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[mpl2005-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[mpl2014-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[serial-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[serial-OuterOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[serial-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[threaded-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[threaded-OuterOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk[threaded-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[2-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[2-OuterOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[3-OuterCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[3-OuterOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_no_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask[mpl2014] - Import... FAILED tests/test_filled.py::test_filled_random_corner_mask[serial] - ImportE... FAILED tests/test_filled.py::test_filled_random_corner_mask[threaded] - Impor... FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk[mpl2014] - ... FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk[serial] - I... FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk[threaded] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[2-OuterCode] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[2-OuterOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[2-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[3-OuterCode] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[3-OuterOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedCodeOffset] FAILED tests/test_filled.py::test_filled_random_corner_mask_chunk_threads[3-ChunkCombinedOffsetOffset] FAILED tests/test_filled.py::test_filled_random_quad_as_tri[serial] - ImportE... FAILED tests/test_filled.py::test_filled_random_quad_as_tri[threaded] - Impor... FAILED tests/test_lines.py::test_lines_simple[mpl2005-SeparateCode-False] - I... FAILED tests/test_lines.py::test_lines_simple[mpl2005-SeparateCode-True] - Im... FAILED tests/test_lines.py::test_lines_simple[mpl2014-SeparateCode-False] - I... FAILED tests/test_lines.py::test_lines_simple[mpl2014-SeparateCode-True] - Im... FAILED tests/test_lines.py::test_lines_simple[serial-Separate-False] - Import... FAILED tests/test_lines.py::test_lines_simple[serial-Separate-True] - ImportE... FAILED tests/test_lines.py::test_lines_simple[serial-SeparateCode-False] - Im... FAILED tests/test_lines.py::test_lines_simple[serial-SeparateCode-True] - Imp... FAILED tests/test_lines.py::test_lines_simple[serial-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_simple[serial-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_simple[serial-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_simple[serial-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_simple[serial-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_simple[serial-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_simple[threaded-Separate-False] - Impo... FAILED tests/test_lines.py::test_lines_simple[threaded-Separate-True] - Impor... FAILED tests/test_lines.py::test_lines_simple[threaded-SeparateCode-False] - ... FAILED tests/test_lines.py::test_lines_simple[threaded-SeparateCode-True] - I... FAILED tests/test_lines.py::test_lines_simple[threaded-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_simple[threaded-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_simple[threaded-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_simple[threaded-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_simple[threaded-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_simple[threaded-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_simple_chunk[mpl2005-SeparateCode-False] FAILED tests/test_lines.py::test_lines_simple_chunk[mpl2005-SeparateCode-True] FAILED tests/test_lines.py::test_lines_simple_chunk[mpl2014-SeparateCode-False] FAILED tests/test_lines.py::test_lines_simple_chunk[mpl2014-SeparateCode-True] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-Separate-False] - ... FAILED tests/test_lines.py::test_lines_simple_chunk[serial-Separate-True] - I... FAILED tests/test_lines.py::test_lines_simple_chunk[serial-SeparateCode-False] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-SeparateCode-True] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_simple_chunk[serial-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-Separate-False] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-Separate-True] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-SeparateCode-False] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-SeparateCode-True] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_simple_chunk[threaded-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[2-Separate] - Imp... FAILED tests/test_lines.py::test_lines_simple_chunk_threads[2-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[2-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[3-Separate] - Imp... FAILED tests/test_lines.py::test_lines_simple_chunk_threads[3-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_chunk_threads[3-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[mpl2005-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[mpl2014-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[serial-Separate] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[serial-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[serial-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[serial-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[serial-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[threaded-Separate] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[threaded-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[threaded-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[threaded-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask[threaded-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[mpl2005-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[mpl2014-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[serial-Separate] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[serial-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[serial-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[serial-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[serial-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[threaded-Separate] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[threaded-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[threaded-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[threaded-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk[threaded-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[2-Separate] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[2-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[2-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[3-Separate] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[3-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_no_corner_mask_chunk_threads[3-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_corner_mask[mpl2014] - ImportEr... FAILED tests/test_lines.py::test_lines_simple_corner_mask[serial] - ImportErr... FAILED tests/test_lines.py::test_lines_simple_corner_mask[threaded] - ImportE... FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk[mpl2014] - Im... FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk[serial] - Imp... FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk[threaded] - I... FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[2-Separate] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[2-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[2-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[3-Separate] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[3-SeparateCode] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_simple_corner_mask_chunk_threads[3-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_simple_quad_as_tri[serial] - ImportErr... FAILED tests/test_lines.py::test_lines_simple_quad_as_tri[threaded] - ImportE... FAILED tests/test_lines.py::test_lines_random[mpl2005-SeparateCode-False] - I... FAILED tests/test_lines.py::test_lines_random[mpl2005-SeparateCode-True] - Im... FAILED tests/test_lines.py::test_lines_random[mpl2014-SeparateCode-False] - I... FAILED tests/test_lines.py::test_lines_random[mpl2014-SeparateCode-True] - Im... FAILED tests/test_lines.py::test_lines_random[serial-Separate-False] - Import... FAILED tests/test_lines.py::test_lines_random[serial-Separate-True] - ImportE... FAILED tests/test_lines.py::test_lines_random[serial-SeparateCode-False] - Im... FAILED tests/test_lines.py::test_lines_random[serial-SeparateCode-True] - Imp... FAILED tests/test_lines.py::test_lines_random[serial-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_random[serial-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_random[serial-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_random[serial-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_random[serial-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_random[serial-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_random[threaded-Separate-False] - Impo... FAILED tests/test_lines.py::test_lines_random[threaded-Separate-True] - Impor... FAILED tests/test_lines.py::test_lines_random[threaded-SeparateCode-False] - ... FAILED tests/test_lines.py::test_lines_random[threaded-SeparateCode-True] - I... FAILED tests/test_lines.py::test_lines_random[threaded-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_random[threaded-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_random[threaded-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_random[threaded-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_random[threaded-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_random[threaded-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_random_chunk[mpl2005-SeparateCode-False] FAILED tests/test_lines.py::test_lines_random_chunk[mpl2005-SeparateCode-True] FAILED tests/test_lines.py::test_lines_random_chunk[mpl2014-SeparateCode-False] FAILED tests/test_lines.py::test_lines_random_chunk[mpl2014-SeparateCode-True] FAILED tests/test_lines.py::test_lines_random_chunk[serial-Separate-False] - ... FAILED tests/test_lines.py::test_lines_random_chunk[serial-Separate-True] - I... FAILED tests/test_lines.py::test_lines_random_chunk[serial-SeparateCode-False] FAILED tests/test_lines.py::test_lines_random_chunk[serial-SeparateCode-True] FAILED tests/test_lines.py::test_lines_random_chunk[serial-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_random_chunk[serial-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_random_chunk[serial-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_random_chunk[serial-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_random_chunk[serial-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_random_chunk[serial-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-Separate-False] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-Separate-True] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-SeparateCode-False] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-SeparateCode-True] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-ChunkCombinedCode-False] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-ChunkCombinedCode-True] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-ChunkCombinedOffset-False] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-ChunkCombinedOffset-True] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-ChunkCombinedNan-False] FAILED tests/test_lines.py::test_lines_random_chunk[threaded-ChunkCombinedNan-True] FAILED tests/test_lines.py::test_lines_random_chunk_threads[2-Separate] - Imp... FAILED tests/test_lines.py::test_lines_random_chunk_threads[2-SeparateCode] FAILED tests/test_lines.py::test_lines_random_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_chunk_threads[2-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_chunk_threads[3-Separate] - Imp... FAILED tests/test_lines.py::test_lines_random_chunk_threads[3-SeparateCode] FAILED tests/test_lines.py::test_lines_random_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_chunk_threads[3-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[mpl2005-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[mpl2014-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[serial-Separate] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[serial-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[serial-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[serial-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[serial-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[threaded-Separate] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[threaded-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[threaded-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[threaded-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_no_corner_mask[threaded-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[mpl2005-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[mpl2014-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[serial-Separate] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[serial-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[serial-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[serial-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[serial-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[threaded-Separate] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[threaded-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[threaded-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[threaded-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk[threaded-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[2-Separate] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[2-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[2-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[3-Separate] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[3-SeparateCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_no_corner_mask_chunk_threads[3-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_corner_mask[mpl2014] - ImportEr... FAILED tests/test_lines.py::test_lines_random_corner_mask[serial] - ImportErr... FAILED tests/test_lines.py::test_lines_random_corner_mask[threaded] - ImportE... FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk[mpl2014] - Im... FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk[serial] - Imp... FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk[threaded] - I... FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[2-Separate] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[2-SeparateCode] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[2-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[2-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[2-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[3-Separate] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[3-SeparateCode] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[3-ChunkCombinedCode] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[3-ChunkCombinedOffset] FAILED tests/test_lines.py::test_lines_random_corner_mask_chunk_threads[3-ChunkCombinedNan] FAILED tests/test_lines.py::test_lines_random_quad_as_tri[serial] - ImportErr... FAILED tests/test_lines.py::test_lines_random_quad_as_tri[threaded] - ImportE... FAILED tests/test_renderer.py::test_debug_renderer_filled[False-OuterCode0-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[False-OuterOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[False-ChunkCombinedCode-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[False-ChunkCombinedOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[False-ChunkCombinedCodeOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[False-ChunkCombinedOffsetOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[False-OuterCode1-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[True-OuterCode0-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[True-OuterOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[True-ChunkCombinedCode-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[True-ChunkCombinedOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[True-ChunkCombinedCodeOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[True-ChunkCombinedOffsetOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_filled[True-OuterCode1-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[False-Separate0-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[False-SeparateCode-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[False-ChunkCombinedCode-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[False-ChunkCombinedOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[False-ChunkCombinedNan-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[False-Separate1-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[True-Separate0-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[True-SeparateCode-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[True-ChunkCombinedCode-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[True-ChunkCombinedOffset-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[True-ChunkCombinedNan-False] FAILED tests/test_renderer.py::test_debug_renderer_lines[True-Separate1-False] FAILED tests/test_renderer.py::test_renderer_filled[False-OuterCode0-False-False] FAILED tests/test_renderer.py::test_renderer_filled[False-OuterCode0-True-False] FAILED tests/test_renderer.py::test_renderer_filled[False-OuterOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[False-OuterOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedCode-False-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedCode-True-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedCodeOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedCodeOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedOffsetOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[False-ChunkCombinedOffsetOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[False-OuterCode1-False-False] FAILED tests/test_renderer.py::test_renderer_filled[False-OuterCode1-True-False] FAILED tests/test_renderer.py::test_renderer_filled[True-OuterCode0-False-False] FAILED tests/test_renderer.py::test_renderer_filled[True-OuterCode0-True-False] FAILED tests/test_renderer.py::test_renderer_filled[True-OuterOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[True-OuterOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedCode-False-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedCode-True-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedCodeOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedCodeOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedOffsetOffset-False-False] FAILED tests/test_renderer.py::test_renderer_filled[True-ChunkCombinedOffsetOffset-True-False] FAILED tests/test_renderer.py::test_renderer_filled[True-OuterCode1-False-False] FAILED tests/test_renderer.py::test_renderer_filled[True-OuterCode1-True-False] FAILED tests/test_renderer.py::test_renderer_lines[False-Separate0-False-False] FAILED tests/test_renderer.py::test_renderer_lines[False-Separate0-True-False] FAILED tests/test_renderer.py::test_renderer_lines[False-SeparateCode-False-False] FAILED tests/test_renderer.py::test_renderer_lines[False-SeparateCode-True-False] FAILED tests/test_renderer.py::test_renderer_lines[False-ChunkCombinedCode-False-False] FAILED tests/test_renderer.py::test_renderer_lines[False-ChunkCombinedCode-True-False] FAILED tests/test_renderer.py::test_renderer_lines[False-ChunkCombinedOffset-False-False] FAILED tests/test_renderer.py::test_renderer_lines[False-ChunkCombinedOffset-True-False] FAILED tests/test_renderer.py::test_renderer_lines[False-ChunkCombinedNan-False-False] FAILED tests/test_renderer.py::test_renderer_lines[False-ChunkCombinedNan-True-False] FAILED tests/test_renderer.py::test_renderer_lines[False-Separate1-False-False] FAILED tests/test_renderer.py::test_renderer_lines[False-Separate1-True-False] FAILED tests/test_renderer.py::test_renderer_lines[True-Separate0-False-False] FAILED tests/test_renderer.py::test_renderer_lines[True-Separate0-True-False] FAILED tests/test_renderer.py::test_renderer_lines[True-SeparateCode-False-False] FAILED tests/test_renderer.py::test_renderer_lines[True-SeparateCode-True-False] FAILED tests/test_renderer.py::test_renderer_lines[True-ChunkCombinedCode-False-False] FAILED tests/test_renderer.py::test_renderer_lines[True-ChunkCombinedCode-True-False] FAILED tests/test_renderer.py::test_renderer_lines[True-ChunkCombinedOffset-False-False] FAILED tests/test_renderer.py::test_renderer_lines[True-ChunkCombinedOffset-True-False] FAILED tests/test_renderer.py::test_renderer_lines[True-ChunkCombinedNan-False-False] FAILED tests/test_renderer.py::test_renderer_lines[True-ChunkCombinedNan-True-False] FAILED tests/test_renderer.py::test_renderer_lines[True-Separate1-False-False] FAILED tests/test_renderer.py::test_renderer_lines[True-Separate1-True-False] FAILED tests/test_renderer.py::test_save_png[False] - ImportError: cannot imp... FAILED tests/test_renderer.py::test_save_png[True] - ImportError: cannot impo... FAILED tests/test_renderer.py::test_save_svg[False] - ImportError: cannot imp... FAILED tests/test_renderer.py::test_save_svg[True] - ImportError: cannot impo... ===== 576 failed, 1820 passed, 117 skipped, 1 warning in 467.46s (0:07:47) ===== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<>/.pybuild/cpython3_3.13_contourpy/build; python3.13 -m pytest tests/test*.py I: pybuild base:311: cd /<>/.pybuild/cpython3_3.12_contourpy/build; python3.12 -m pytest tests/test*.py ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /<>/.pybuild/cpython3_3.12_contourpy/build configfile: pyproject.toml plugins: typeguard-4.3.0 collected 2512 items / 1 skipped tests/test_array.py .................... [ 0%] tests/test_build_config.py . [ 0%] tests/test_chunk.py ................................................ [ 2%] tests/test_codebase.py ss. [ 2%] tests/test_config.py .s.s.s.s.s.s.s.s.sss.s.s.s.s.s.s.s.s [ 4%] tests/test_constructor.py .............................................. [ 6%] ........................................................................ [ 8%] ........................................................................ [ 11%] ........................................................................ [ 14%] ........................................................................ [ 17%] ........................................................................ [ 20%] ........................................................................ [ 23%] ........................................................................ [ 26%] .. [ 26%] tests/test_convert.py .................................................. [ 28%] ........................................................................ [ 31%] ........................................................................ [ 33%] ........................................................................ [ 36%] ........................................................................ [ 39%] ........................................................................ [ 42%] ........................................................................ [ 45%] ...... [ 45%] tests/test_dechunk.py .................................................. [ 47%] ................ [ 48%] tests/test_enum.py ................. [ 49%] tests/test_filled.py ................................................... [ 51%] ........................................................................ [ 53%] ........................................................................ [ 56%] ........................................................................ [ 59%] ...........................................................ss........... [ 62%] .ssssssssss............................................................. [ 65%] ........................................................................ [ 68%] .........................................................ss............ [ 71%] tests/test_internal.py ................................ [ 72%] tests/test_lines.py .................................................... [ 74%] ........................................................................ [ 77%] ........................................................................ [ 80%] ....................s................................................... [ 83%] .....................................ss................................. [ 85%] ........................................................................ [ 88%] .........................ss.......... [ 90%] tests/test_minimal.py .......................... [ 91%] tests/test_misc.py .. [ 91%] tests/test_renderer.py .s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s. [ 93%] s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s. [ 96%] s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.... [ 97%] tests/test_static.py .................................... [ 99%] tests/test_typecheck.py .............. [ 99%] tests/test_z_interp.py ........ [100%] =============================== warnings summary =============================== tests/test_config.py:38 /<>/.pybuild/cpython3_3.12_contourpy/build/tests/test_config.py:38: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.flaky(reruns=1, condition=platform.python_implementation().startswith("PyPy")) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========== 2394 passed, 119 skipped, 1 warning in 501.70s (0:08:21) =========== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:7: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-10-06T16:24:03Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: arm64 Build Type: any Build-Space: 99160 Build-Time: 1023 Distribution: sid Fail-Stage: build Host Architecture: arm64 Install-Time: 89 Job: /tmp/debusine-fetch-exec-upload-lx0ob96f/contourpy_1.3.0-2.dsc Machine Architecture: arm64 Package: contourpy Package-Time: 1155 Source-Version: 1.3.0-2 Space: 99160 Status: attempted Version: 1.3.0-2+bd1 -------------------------------------------------------------------------------- Finished at 2024-10-06T16:24:03Z Build needed 00:19:15, 99160k disk space